@silvana-one/orderbook 1.1.20 → 1.1.22
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/dist/node/index.cjs +81 -2
- package/dist/node/proto/silvana/orderbook/v1/orderbook_pb.d.ts +30 -0
- package/dist/node/proto/silvana/orderbook/v1/orderbook_pb.js +1 -1
- package/dist/node/proto/silvana/orderbook/v1/orderbook_pb.js.map +1 -1
- package/dist/node/proto/silvana/settlement/v1/settlement_pb.d.ts +441 -0
- package/dist/node/proto/silvana/settlement/v1/settlement_pb.js +150 -1
- package/dist/node/proto/silvana/settlement/v1/settlement_pb.js.map +1 -1
- package/dist/node/settlement.d.ts +41 -1
- package/dist/node/settlement.js +19 -1
- package/dist/node/settlement.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/tsconfig.web.tsbuildinfo +1 -1
- package/dist/web/proto/silvana/orderbook/v1/orderbook_pb.d.ts +30 -0
- package/dist/web/proto/silvana/orderbook/v1/orderbook_pb.js +1 -1
- package/dist/web/proto/silvana/orderbook/v1/orderbook_pb.js.map +1 -1
- package/dist/web/proto/silvana/settlement/v1/settlement_pb.d.ts +441 -0
- package/dist/web/proto/silvana/settlement/v1/settlement_pb.js +150 -1
- package/dist/web/proto/silvana/settlement/v1/settlement_pb.js.map +1 -1
- package/dist/web/settlement.d.ts +41 -1
- package/dist/web/settlement.js +19 -1
- package/dist/web/settlement.js.map +1 -1
- package/package.json +1 -1
- package/src/proto/silvana/orderbook/v1/orderbook_pb.ts +37 -1
- package/src/proto/silvana/settlement/v1/settlement_pb.ts +537 -1
- package/src/settlement.ts +59 -0
|
@@ -1411,6 +1411,18 @@ export type UpdateSettlementProposalRequest = Message<"silvana.settlement.v1.Upd
|
|
|
1411
1411
|
* @generated from field: optional google.protobuf.Struct metadata = 17;
|
|
1412
1412
|
*/
|
|
1413
1413
|
metadata?: JsonObject;
|
|
1414
|
+
/**
|
|
1415
|
+
* Set buyer fee transfer initiated
|
|
1416
|
+
*
|
|
1417
|
+
* @generated from field: optional bool buyer_fee_sent = 18;
|
|
1418
|
+
*/
|
|
1419
|
+
buyerFeeSent?: boolean;
|
|
1420
|
+
/**
|
|
1421
|
+
* Set seller fee transfer initiated
|
|
1422
|
+
*
|
|
1423
|
+
* @generated from field: optional bool seller_fee_sent = 19;
|
|
1424
|
+
*/
|
|
1425
|
+
sellerFeeSent?: boolean;
|
|
1414
1426
|
};
|
|
1415
1427
|
/**
|
|
1416
1428
|
* Describes the message silvana.settlement.v1.UpdateSettlementProposalRequest.
|
|
@@ -1639,6 +1651,294 @@ export type RecordSettlementResponse = Message<"silvana.settlement.v1.RecordSett
|
|
|
1639
1651
|
* Use `create(RecordSettlementResponseSchema)` to create a new message.
|
|
1640
1652
|
*/
|
|
1641
1653
|
export declare const RecordSettlementResponseSchema: GenMessage<RecordSettlementResponse>;
|
|
1654
|
+
/**
|
|
1655
|
+
* Record a transaction in history
|
|
1656
|
+
*
|
|
1657
|
+
* @generated from message silvana.settlement.v1.RecordTransactionRequest
|
|
1658
|
+
*/
|
|
1659
|
+
export type RecordTransactionRequest = Message<"silvana.settlement.v1.RecordTransactionRequest"> & {
|
|
1660
|
+
/**
|
|
1661
|
+
* @generated from field: silvana.settlement.v1.CantonNodeAuth auth = 1;
|
|
1662
|
+
*/
|
|
1663
|
+
auth?: CantonNodeAuth;
|
|
1664
|
+
/**
|
|
1665
|
+
* @generated from field: silvana.settlement.v1.TransactionType tx_type = 2;
|
|
1666
|
+
*/
|
|
1667
|
+
txType: TransactionType;
|
|
1668
|
+
/**
|
|
1669
|
+
* @generated from field: string sender_party = 3;
|
|
1670
|
+
*/
|
|
1671
|
+
senderParty: string;
|
|
1672
|
+
/**
|
|
1673
|
+
* @generated from field: silvana.settlement.v1.SenderType sender_type = 4;
|
|
1674
|
+
*/
|
|
1675
|
+
senderType: SenderType;
|
|
1676
|
+
/**
|
|
1677
|
+
* Optional Canton IDs
|
|
1678
|
+
*
|
|
1679
|
+
* @generated from field: optional string update_id = 5;
|
|
1680
|
+
*/
|
|
1681
|
+
updateId?: string;
|
|
1682
|
+
/**
|
|
1683
|
+
* @generated from field: optional string submission_id = 6;
|
|
1684
|
+
*/
|
|
1685
|
+
submissionId?: string;
|
|
1686
|
+
/**
|
|
1687
|
+
* @generated from field: optional string settlement_proposal_id = 7;
|
|
1688
|
+
*/
|
|
1689
|
+
settlementProposalId?: string;
|
|
1690
|
+
/**
|
|
1691
|
+
* Transaction context
|
|
1692
|
+
*
|
|
1693
|
+
* @generated from field: optional string market_id = 8;
|
|
1694
|
+
*/
|
|
1695
|
+
marketId?: string;
|
|
1696
|
+
/**
|
|
1697
|
+
* @generated from field: optional string counterparty = 9;
|
|
1698
|
+
*/
|
|
1699
|
+
counterparty?: string;
|
|
1700
|
+
/**
|
|
1701
|
+
* Contract references
|
|
1702
|
+
*
|
|
1703
|
+
* @generated from field: optional string contract_id = 10;
|
|
1704
|
+
*/
|
|
1705
|
+
contractId?: string;
|
|
1706
|
+
/**
|
|
1707
|
+
* @generated from field: optional string choice_name = 11;
|
|
1708
|
+
*/
|
|
1709
|
+
choiceName?: string;
|
|
1710
|
+
/**
|
|
1711
|
+
* Financial data
|
|
1712
|
+
*
|
|
1713
|
+
* DECIMAL(38,10) as string
|
|
1714
|
+
*
|
|
1715
|
+
* @generated from field: optional string amount = 12;
|
|
1716
|
+
*/
|
|
1717
|
+
amount?: string;
|
|
1718
|
+
/**
|
|
1719
|
+
* @generated from field: optional string rewards_amount = 13;
|
|
1720
|
+
*/
|
|
1721
|
+
rewardsAmount?: string;
|
|
1722
|
+
/**
|
|
1723
|
+
* @generated from field: optional uint64 rewards_round = 14;
|
|
1724
|
+
*/
|
|
1725
|
+
rewardsRound?: bigint;
|
|
1726
|
+
/**
|
|
1727
|
+
* @generated from field: optional uint64 traffic_request = 15;
|
|
1728
|
+
*/
|
|
1729
|
+
trafficRequest?: bigint;
|
|
1730
|
+
/**
|
|
1731
|
+
* @generated from field: optional uint64 traffic_response = 16;
|
|
1732
|
+
*/
|
|
1733
|
+
trafficResponse?: bigint;
|
|
1734
|
+
/**
|
|
1735
|
+
* @generated from field: optional uint64 traffic_total = 17;
|
|
1736
|
+
*/
|
|
1737
|
+
trafficTotal?: bigint;
|
|
1738
|
+
/**
|
|
1739
|
+
* @generated from field: optional uint64 activity_marker_created = 18;
|
|
1740
|
+
*/
|
|
1741
|
+
activityMarkerCreated?: bigint;
|
|
1742
|
+
/**
|
|
1743
|
+
* Result
|
|
1744
|
+
*
|
|
1745
|
+
* @generated from field: silvana.settlement.v1.TransactionResult result = 19;
|
|
1746
|
+
*/
|
|
1747
|
+
result: TransactionResult;
|
|
1748
|
+
/**
|
|
1749
|
+
* @generated from field: optional string error_message = 20;
|
|
1750
|
+
*/
|
|
1751
|
+
errorMessage?: string;
|
|
1752
|
+
/**
|
|
1753
|
+
* @generated from field: optional google.protobuf.Struct metadata = 21;
|
|
1754
|
+
*/
|
|
1755
|
+
metadata?: JsonObject;
|
|
1756
|
+
};
|
|
1757
|
+
/**
|
|
1758
|
+
* Describes the message silvana.settlement.v1.RecordTransactionRequest.
|
|
1759
|
+
* Use `create(RecordTransactionRequestSchema)` to create a new message.
|
|
1760
|
+
*/
|
|
1761
|
+
export declare const RecordTransactionRequestSchema: GenMessage<RecordTransactionRequest>;
|
|
1762
|
+
/**
|
|
1763
|
+
* @generated from message silvana.settlement.v1.RecordTransactionResponse
|
|
1764
|
+
*/
|
|
1765
|
+
export type RecordTransactionResponse = Message<"silvana.settlement.v1.RecordTransactionResponse"> & {
|
|
1766
|
+
/**
|
|
1767
|
+
* @generated from field: bool success = 1;
|
|
1768
|
+
*/
|
|
1769
|
+
success: boolean;
|
|
1770
|
+
/**
|
|
1771
|
+
* @generated from field: string message = 2;
|
|
1772
|
+
*/
|
|
1773
|
+
message: string;
|
|
1774
|
+
/**
|
|
1775
|
+
* Auto-generated ID
|
|
1776
|
+
*
|
|
1777
|
+
* @generated from field: uint64 transaction_id = 3;
|
|
1778
|
+
*/
|
|
1779
|
+
transactionId: bigint;
|
|
1780
|
+
};
|
|
1781
|
+
/**
|
|
1782
|
+
* Describes the message silvana.settlement.v1.RecordTransactionResponse.
|
|
1783
|
+
* Use `create(RecordTransactionResponseSchema)` to create a new message.
|
|
1784
|
+
*/
|
|
1785
|
+
export declare const RecordTransactionResponseSchema: GenMessage<RecordTransactionResponse>;
|
|
1786
|
+
/**
|
|
1787
|
+
* Get transaction history
|
|
1788
|
+
*
|
|
1789
|
+
* @generated from message silvana.settlement.v1.GetTransactionHistoryRequest
|
|
1790
|
+
*/
|
|
1791
|
+
export type GetTransactionHistoryRequest = Message<"silvana.settlement.v1.GetTransactionHistoryRequest"> & {
|
|
1792
|
+
/**
|
|
1793
|
+
* @generated from field: silvana.settlement.v1.CantonNodeAuth auth = 1;
|
|
1794
|
+
*/
|
|
1795
|
+
auth?: CantonNodeAuth;
|
|
1796
|
+
/**
|
|
1797
|
+
* @generated from field: optional string sender_party = 2;
|
|
1798
|
+
*/
|
|
1799
|
+
senderParty?: string;
|
|
1800
|
+
/**
|
|
1801
|
+
* @generated from field: optional silvana.settlement.v1.TransactionType tx_type = 3;
|
|
1802
|
+
*/
|
|
1803
|
+
txType?: TransactionType;
|
|
1804
|
+
/**
|
|
1805
|
+
* @generated from field: optional string settlement_proposal_id = 4;
|
|
1806
|
+
*/
|
|
1807
|
+
settlementProposalId?: string;
|
|
1808
|
+
/**
|
|
1809
|
+
* @generated from field: optional silvana.settlement.v1.TransactionResult result = 5;
|
|
1810
|
+
*/
|
|
1811
|
+
result?: TransactionResult;
|
|
1812
|
+
/**
|
|
1813
|
+
* @generated from field: optional uint32 limit = 6;
|
|
1814
|
+
*/
|
|
1815
|
+
limit?: number;
|
|
1816
|
+
/**
|
|
1817
|
+
* @generated from field: optional uint32 offset = 7;
|
|
1818
|
+
*/
|
|
1819
|
+
offset?: number;
|
|
1820
|
+
};
|
|
1821
|
+
/**
|
|
1822
|
+
* Describes the message silvana.settlement.v1.GetTransactionHistoryRequest.
|
|
1823
|
+
* Use `create(GetTransactionHistoryRequestSchema)` to create a new message.
|
|
1824
|
+
*/
|
|
1825
|
+
export declare const GetTransactionHistoryRequestSchema: GenMessage<GetTransactionHistoryRequest>;
|
|
1826
|
+
/**
|
|
1827
|
+
* @generated from message silvana.settlement.v1.GetTransactionHistoryResponse
|
|
1828
|
+
*/
|
|
1829
|
+
export type GetTransactionHistoryResponse = Message<"silvana.settlement.v1.GetTransactionHistoryResponse"> & {
|
|
1830
|
+
/**
|
|
1831
|
+
* @generated from field: repeated silvana.settlement.v1.TransactionHistoryEntry transactions = 1;
|
|
1832
|
+
*/
|
|
1833
|
+
transactions: TransactionHistoryEntry[];
|
|
1834
|
+
/**
|
|
1835
|
+
* @generated from field: uint32 total = 2;
|
|
1836
|
+
*/
|
|
1837
|
+
total: number;
|
|
1838
|
+
};
|
|
1839
|
+
/**
|
|
1840
|
+
* Describes the message silvana.settlement.v1.GetTransactionHistoryResponse.
|
|
1841
|
+
* Use `create(GetTransactionHistoryResponseSchema)` to create a new message.
|
|
1842
|
+
*/
|
|
1843
|
+
export declare const GetTransactionHistoryResponseSchema: GenMessage<GetTransactionHistoryResponse>;
|
|
1844
|
+
/**
|
|
1845
|
+
* @generated from message silvana.settlement.v1.TransactionHistoryEntry
|
|
1846
|
+
*/
|
|
1847
|
+
export type TransactionHistoryEntry = Message<"silvana.settlement.v1.TransactionHistoryEntry"> & {
|
|
1848
|
+
/**
|
|
1849
|
+
* @generated from field: uint64 id = 1;
|
|
1850
|
+
*/
|
|
1851
|
+
id: bigint;
|
|
1852
|
+
/**
|
|
1853
|
+
* @generated from field: silvana.settlement.v1.TransactionType tx_type = 2;
|
|
1854
|
+
*/
|
|
1855
|
+
txType: TransactionType;
|
|
1856
|
+
/**
|
|
1857
|
+
* @generated from field: string sender_party = 3;
|
|
1858
|
+
*/
|
|
1859
|
+
senderParty: string;
|
|
1860
|
+
/**
|
|
1861
|
+
* @generated from field: silvana.settlement.v1.SenderType sender_type = 4;
|
|
1862
|
+
*/
|
|
1863
|
+
senderType: SenderType;
|
|
1864
|
+
/**
|
|
1865
|
+
* @generated from field: optional string update_id = 5;
|
|
1866
|
+
*/
|
|
1867
|
+
updateId?: string;
|
|
1868
|
+
/**
|
|
1869
|
+
* @generated from field: optional string submission_id = 6;
|
|
1870
|
+
*/
|
|
1871
|
+
submissionId?: string;
|
|
1872
|
+
/**
|
|
1873
|
+
* @generated from field: optional string settlement_proposal_id = 7;
|
|
1874
|
+
*/
|
|
1875
|
+
settlementProposalId?: string;
|
|
1876
|
+
/**
|
|
1877
|
+
* @generated from field: optional string market_id = 8;
|
|
1878
|
+
*/
|
|
1879
|
+
marketId?: string;
|
|
1880
|
+
/**
|
|
1881
|
+
* @generated from field: optional string counterparty = 9;
|
|
1882
|
+
*/
|
|
1883
|
+
counterparty?: string;
|
|
1884
|
+
/**
|
|
1885
|
+
* @generated from field: optional string contract_id = 10;
|
|
1886
|
+
*/
|
|
1887
|
+
contractId?: string;
|
|
1888
|
+
/**
|
|
1889
|
+
* @generated from field: optional string choice_name = 11;
|
|
1890
|
+
*/
|
|
1891
|
+
choiceName?: string;
|
|
1892
|
+
/**
|
|
1893
|
+
* @generated from field: optional string amount = 12;
|
|
1894
|
+
*/
|
|
1895
|
+
amount?: string;
|
|
1896
|
+
/**
|
|
1897
|
+
* @generated from field: optional string rewards_amount = 13;
|
|
1898
|
+
*/
|
|
1899
|
+
rewardsAmount?: string;
|
|
1900
|
+
/**
|
|
1901
|
+
* @generated from field: optional uint64 rewards_round = 14;
|
|
1902
|
+
*/
|
|
1903
|
+
rewardsRound?: bigint;
|
|
1904
|
+
/**
|
|
1905
|
+
* @generated from field: optional uint64 traffic_request = 15;
|
|
1906
|
+
*/
|
|
1907
|
+
trafficRequest?: bigint;
|
|
1908
|
+
/**
|
|
1909
|
+
* @generated from field: optional uint64 traffic_response = 16;
|
|
1910
|
+
*/
|
|
1911
|
+
trafficResponse?: bigint;
|
|
1912
|
+
/**
|
|
1913
|
+
* @generated from field: optional uint64 traffic_total = 17;
|
|
1914
|
+
*/
|
|
1915
|
+
trafficTotal?: bigint;
|
|
1916
|
+
/**
|
|
1917
|
+
* @generated from field: optional uint64 activity_marker_created = 18;
|
|
1918
|
+
*/
|
|
1919
|
+
activityMarkerCreated?: bigint;
|
|
1920
|
+
/**
|
|
1921
|
+
* @generated from field: silvana.settlement.v1.TransactionResult result = 19;
|
|
1922
|
+
*/
|
|
1923
|
+
result: TransactionResult;
|
|
1924
|
+
/**
|
|
1925
|
+
* @generated from field: optional string error_message = 20;
|
|
1926
|
+
*/
|
|
1927
|
+
errorMessage?: string;
|
|
1928
|
+
/**
|
|
1929
|
+
* @generated from field: optional google.protobuf.Struct metadata = 21;
|
|
1930
|
+
*/
|
|
1931
|
+
metadata?: JsonObject;
|
|
1932
|
+
/**
|
|
1933
|
+
* @generated from field: google.protobuf.Timestamp created_at = 22;
|
|
1934
|
+
*/
|
|
1935
|
+
createdAt?: Timestamp;
|
|
1936
|
+
};
|
|
1937
|
+
/**
|
|
1938
|
+
* Describes the message silvana.settlement.v1.TransactionHistoryEntry.
|
|
1939
|
+
* Use `create(TransactionHistoryEntrySchema)` to create a new message.
|
|
1940
|
+
*/
|
|
1941
|
+
export declare const TransactionHistoryEntrySchema: GenMessage<TransactionHistoryEntry>;
|
|
1642
1942
|
/**
|
|
1643
1943
|
* DVP settlement stage enumeration
|
|
1644
1944
|
*
|
|
@@ -1756,6 +2056,127 @@ export declare enum PartyRole {
|
|
|
1756
2056
|
* Describes the enum silvana.settlement.v1.PartyRole.
|
|
1757
2057
|
*/
|
|
1758
2058
|
export declare const PartyRoleSchema: GenEnum<PartyRole>;
|
|
2059
|
+
/**
|
|
2060
|
+
* Transaction type for history tracking
|
|
2061
|
+
*
|
|
2062
|
+
* @generated from enum silvana.settlement.v1.TransactionType
|
|
2063
|
+
*/
|
|
2064
|
+
export declare enum TransactionType {
|
|
2065
|
+
/**
|
|
2066
|
+
* @generated from enum value: TRANSACTION_TYPE_UNSPECIFIED = 0;
|
|
2067
|
+
*/
|
|
2068
|
+
UNSPECIFIED = 0,
|
|
2069
|
+
/**
|
|
2070
|
+
* @generated from enum value: TRANSACTION_TYPE_USER_SERVICE_REQUEST = 1;
|
|
2071
|
+
*/
|
|
2072
|
+
USER_SERVICE_REQUEST = 1,
|
|
2073
|
+
/**
|
|
2074
|
+
* @generated from enum value: TRANSACTION_TYPE_USER_SERVICE_REQUEST_ACCEPT = 2;
|
|
2075
|
+
*/
|
|
2076
|
+
USER_SERVICE_REQUEST_ACCEPT = 2,
|
|
2077
|
+
/**
|
|
2078
|
+
* @generated from enum value: TRANSACTION_TYPE_USER_SERVICE_CANCEL = 3;
|
|
2079
|
+
*/
|
|
2080
|
+
USER_SERVICE_CANCEL = 3,
|
|
2081
|
+
/**
|
|
2082
|
+
* @generated from enum value: TRANSACTION_TYPE_DVP_PROPOSE = 4;
|
|
2083
|
+
*/
|
|
2084
|
+
DVP_PROPOSE = 4,
|
|
2085
|
+
/**
|
|
2086
|
+
* @generated from enum value: TRANSACTION_TYPE_DVP_ACCEPT = 5;
|
|
2087
|
+
*/
|
|
2088
|
+
DVP_ACCEPT = 5,
|
|
2089
|
+
/**
|
|
2090
|
+
* @generated from enum value: TRANSACTION_TYPE_DVP_CANCEL = 6;
|
|
2091
|
+
*/
|
|
2092
|
+
DVP_CANCEL = 6,
|
|
2093
|
+
/**
|
|
2094
|
+
* @generated from enum value: TRANSACTION_TYPE_DVP_SETTLE = 7;
|
|
2095
|
+
*/
|
|
2096
|
+
DVP_SETTLE = 7,
|
|
2097
|
+
/**
|
|
2098
|
+
* @generated from enum value: TRANSACTION_TYPE_ALLOCATE = 8;
|
|
2099
|
+
*/
|
|
2100
|
+
ALLOCATE = 8,
|
|
2101
|
+
/**
|
|
2102
|
+
* @generated from enum value: TRANSACTION_TYPE_ALLOCATE_CANCEL = 9;
|
|
2103
|
+
*/
|
|
2104
|
+
ALLOCATE_CANCEL = 9,
|
|
2105
|
+
/**
|
|
2106
|
+
* @generated from enum value: TRANSACTION_TYPE_FEE_TRANSFER = 10;
|
|
2107
|
+
*/
|
|
2108
|
+
FEE_TRANSFER = 10,
|
|
2109
|
+
/**
|
|
2110
|
+
* @generated from enum value: TRANSACTION_TYPE_MERGE = 11;
|
|
2111
|
+
*/
|
|
2112
|
+
MERGE = 11,
|
|
2113
|
+
/**
|
|
2114
|
+
* @generated from enum value: TRANSACTION_TYPE_UNLOCK = 12;
|
|
2115
|
+
*/
|
|
2116
|
+
UNLOCK = 12
|
|
2117
|
+
}
|
|
2118
|
+
/**
|
|
2119
|
+
* Describes the enum silvana.settlement.v1.TransactionType.
|
|
2120
|
+
*/
|
|
2121
|
+
export declare const TransactionTypeSchema: GenEnum<TransactionType>;
|
|
2122
|
+
/**
|
|
2123
|
+
* Sender type for transaction history
|
|
2124
|
+
*
|
|
2125
|
+
* @generated from enum silvana.settlement.v1.SenderType
|
|
2126
|
+
*/
|
|
2127
|
+
export declare enum SenderType {
|
|
2128
|
+
/**
|
|
2129
|
+
* @generated from enum value: SENDER_TYPE_UNSPECIFIED = 0;
|
|
2130
|
+
*/
|
|
2131
|
+
UNSPECIFIED = 0,
|
|
2132
|
+
/**
|
|
2133
|
+
* @generated from enum value: SENDER_TYPE_OPERATOR = 1;
|
|
2134
|
+
*/
|
|
2135
|
+
OPERATOR = 1,
|
|
2136
|
+
/**
|
|
2137
|
+
* @generated from enum value: SENDER_TYPE_USER = 2;
|
|
2138
|
+
*/
|
|
2139
|
+
USER = 2,
|
|
2140
|
+
/**
|
|
2141
|
+
* @generated from enum value: SENDER_TYPE_BUYER = 3;
|
|
2142
|
+
*/
|
|
2143
|
+
BUYER = 3,
|
|
2144
|
+
/**
|
|
2145
|
+
* @generated from enum value: SENDER_TYPE_SELLER = 4;
|
|
2146
|
+
*/
|
|
2147
|
+
SELLER = 4
|
|
2148
|
+
}
|
|
2149
|
+
/**
|
|
2150
|
+
* Describes the enum silvana.settlement.v1.SenderType.
|
|
2151
|
+
*/
|
|
2152
|
+
export declare const SenderTypeSchema: GenEnum<SenderType>;
|
|
2153
|
+
/**
|
|
2154
|
+
* Transaction result
|
|
2155
|
+
*
|
|
2156
|
+
* @generated from enum silvana.settlement.v1.TransactionResult
|
|
2157
|
+
*/
|
|
2158
|
+
export declare enum TransactionResult {
|
|
2159
|
+
/**
|
|
2160
|
+
* @generated from enum value: TRANSACTION_RESULT_UNSPECIFIED = 0;
|
|
2161
|
+
*/
|
|
2162
|
+
UNSPECIFIED = 0,
|
|
2163
|
+
/**
|
|
2164
|
+
* @generated from enum value: TRANSACTION_RESULT_PENDING = 1;
|
|
2165
|
+
*/
|
|
2166
|
+
PENDING = 1,
|
|
2167
|
+
/**
|
|
2168
|
+
* @generated from enum value: TRANSACTION_RESULT_SUCCESS = 2;
|
|
2169
|
+
*/
|
|
2170
|
+
SUCCESS = 2,
|
|
2171
|
+
/**
|
|
2172
|
+
* @generated from enum value: TRANSACTION_RESULT_FAILED = 3;
|
|
2173
|
+
*/
|
|
2174
|
+
FAILED = 3
|
|
2175
|
+
}
|
|
2176
|
+
/**
|
|
2177
|
+
* Describes the enum silvana.settlement.v1.TransactionResult.
|
|
2178
|
+
*/
|
|
2179
|
+
export declare const TransactionResultSchema: GenEnum<TransactionResult>;
|
|
1759
2180
|
/**
|
|
1760
2181
|
* @generated from service silvana.settlement.v1.SettlementService
|
|
1761
2182
|
*/
|
|
@@ -1841,4 +2262,24 @@ export declare const SettlementService: GenService<{
|
|
|
1841
2262
|
input: typeof RecordSettlementRequestSchema;
|
|
1842
2263
|
output: typeof RecordSettlementResponseSchema;
|
|
1843
2264
|
};
|
|
2265
|
+
/**
|
|
2266
|
+
* Record a transaction in history
|
|
2267
|
+
*
|
|
2268
|
+
* @generated from rpc silvana.settlement.v1.SettlementService.RecordTransaction
|
|
2269
|
+
*/
|
|
2270
|
+
recordTransaction: {
|
|
2271
|
+
methodKind: "unary";
|
|
2272
|
+
input: typeof RecordTransactionRequestSchema;
|
|
2273
|
+
output: typeof RecordTransactionResponseSchema;
|
|
2274
|
+
};
|
|
2275
|
+
/**
|
|
2276
|
+
* Get transaction history
|
|
2277
|
+
*
|
|
2278
|
+
* @generated from rpc silvana.settlement.v1.SettlementService.GetTransactionHistory
|
|
2279
|
+
*/
|
|
2280
|
+
getTransactionHistory: {
|
|
2281
|
+
methodKind: "unary";
|
|
2282
|
+
input: typeof GetTransactionHistoryRequestSchema;
|
|
2283
|
+
output: typeof GetTransactionHistoryResponseSchema;
|
|
2284
|
+
};
|
|
1844
2285
|
}>;
|