@@ -34,7 +34,7 @@ public override async Task Validate(CancellationToken cancellationToken = defaul
34
34
/// <param name="includeClosed"></param>
35
35
/// <param name="cancellationToken">A token to allow the call to be cancelled</param>
36
36
/// <returns></returns>
37
- public async Task < ( IEnumerable < ProposalInfo > proposals , ulong proposalTimelock , ulong softCloseLength ) > DaoGetProposals ( bool includeClosed = true , CancellationToken cancellationToken = default )
37
+ public async Task < ( IEnumerable < ProposalInfo > proposals , ulong proposalTimelock , ulong softCloseLength ) > GetProposals ( bool includeClosed = true , CancellationToken cancellationToken = default )
38
38
{
39
39
dynamic data = CreateWalletDataObject ( ) ;
40
40
data . include_closed = includeClosed ;
@@ -52,7 +52,7 @@ public override async Task Validate(CancellationToken cancellationToken = defaul
52
52
/// <param name="proposalType"></param>
53
53
/// <param name="cancellationToken">A token to allow the call to be cancelled</param>
54
54
/// <returns></returns>
55
- public async Task < ( string proposalId , string txId , TransactionRecord tx ) > DaoCreateProposal ( string proposalType , CancellationToken cancellationToken = default )
55
+ public async Task < ( string proposalId , string txId , TransactionRecord tx ) > CreateProposal ( string proposalType , CancellationToken cancellationToken = default )
56
56
{
57
57
dynamic data = CreateWalletDataObject ( ) ;
58
58
data . proposal_type = proposalType ;
@@ -71,7 +71,7 @@ public override async Task Validate(CancellationToken cancellationToken = defaul
71
71
/// <param name="proposalId"></param>
72
72
/// <param name="cancellationToken">A token to allow the call to be cancelled</param>
73
73
/// <returns>Dictionary</returns>
74
- public async Task < IDictionary < string , object > > DaoParseProposal ( string proposalId , CancellationToken cancellationToken = default )
74
+ public async Task < IDictionary < string , object > > ParseProposal ( string proposalId , CancellationToken cancellationToken = default )
75
75
{
76
76
dynamic data = CreateWalletDataObject ( ) ;
77
77
data . proposal_id = proposalId ;
@@ -87,7 +87,7 @@ public async Task<IDictionary<string, object>> DaoParseProposal(string proposalI
87
87
/// <param name="proposalId"></param>
88
88
/// <param name="cancellationToken">A token to allow the call to be cancelled</param>
89
89
/// <returns></returns>
90
- public async Task < ( string txId , TransactionRecord tx ) > DaoVoteOnProposal ( bool isYesVote , ulong voteAmount , string proposalId , ulong fee = 0 , CancellationToken cancellationToken = default )
90
+ public async Task < ( string txId , TransactionRecord tx ) > VoteOnProposal ( bool isYesVote , ulong voteAmount , string proposalId , ulong fee = 0 , CancellationToken cancellationToken = default )
91
91
{
92
92
dynamic data = CreateWalletDataObject ( ) ;
93
93
data . proposal_id = proposalId ;
@@ -106,7 +106,7 @@ public async Task<IDictionary<string, object>> DaoParseProposal(string proposalI
106
106
/// </summary>
107
107
/// <param name="cancellationToken">A token to allow the call to be cancelled</param>
108
108
/// <returns></returns>
109
- public async Task < IDictionary < string , ulong > > DaoGetTreasuryBalance ( CancellationToken cancellationToken = default )
109
+ public async Task < IDictionary < string , ulong > > GetTreasuryBalance ( CancellationToken cancellationToken = default )
110
110
{
111
111
dynamic data = CreateWalletDataObject ( ) ;
112
112
return await WalletProxy . SendMessage < IDictionary < string , ulong > > ( "dao_get_treasury_balance" , data , cancellationToken ) . ConfigureAwait ( false ) ;
@@ -117,7 +117,7 @@ public async Task<IDictionary<string, ulong>> DaoGetTreasuryBalance(Cancellation
117
117
/// </summary>
118
118
/// <param name="cancellationToken">A token to allow the call to be cancelled</param>
119
119
/// <returns><see cref="string"/></returns>
120
- public async Task < string > DaoGetTreasuryId ( CancellationToken cancellationToken = default )
120
+ public async Task < string > GetTreasuryId ( CancellationToken cancellationToken = default )
121
121
{
122
122
dynamic data = CreateWalletDataObject ( ) ;
123
123
return await WalletProxy . SendMessage < string > ( "dao_get_treasury_id" , data , "treasury_id" , cancellationToken ) . ConfigureAwait ( false ) ;
@@ -128,7 +128,7 @@ public async Task<string> DaoGetTreasuryId(CancellationToken cancellationToken =
128
128
/// </summary>
129
129
/// <param name="cancellationToken">A token to allow the call to be cancelled</param>
130
130
/// <returns><see cref="DAORules"/></returns>
131
- public async Task < DAORules > DaoGetRules ( CancellationToken cancellationToken = default )
131
+ public async Task < DAORules > GetRules ( CancellationToken cancellationToken = default )
132
132
{
133
133
dynamic data = CreateWalletDataObject ( ) ;
134
134
return await WalletProxy . SendMessage < DAORules > ( "dao_get_rules" , data , "rules" , cancellationToken ) . ConfigureAwait ( false ) ;
@@ -143,7 +143,7 @@ public async Task<DAORules> DaoGetRules(CancellationToken cancellationToken = de
143
143
/// <param name="proposalId"></param>
144
144
/// <param name="cancellationToken">A token to allow the call to be cancelled</param>
145
145
/// <returns></returns>
146
- public async Task < ( string txId , TransactionRecord tx ) > DaoCloseProposal ( string selfDestruct , string genesisId , string proposalId , ulong fee = 0 , CancellationToken cancellationToken = default )
146
+ public async Task < ( string txId , TransactionRecord tx ) > CloseProposal ( string selfDestruct , string genesisId , string proposalId , ulong fee = 0 , CancellationToken cancellationToken = default )
147
147
{
148
148
dynamic data = CreateWalletDataObject ( ) ;
149
149
data . proposal_id = proposalId ;
@@ -163,7 +163,7 @@ public async Task<DAORules> DaoGetRules(CancellationToken cancellationToken = de
163
163
/// <param name="coins"></param>
164
164
/// <param name="cancellationToken">A token to allow the call to be cancelled</param>
165
165
/// <returns></returns>
166
- public async Task < ( string txId , TransactionRecord tx ) > DaoExitLockup ( IEnumerable < object > coins , ulong fee = 0 , CancellationToken cancellationToken = default )
166
+ public async Task < ( string txId , TransactionRecord tx ) > ExitLockup ( IEnumerable < object > coins , ulong fee = 0 , CancellationToken cancellationToken = default )
167
167
{
168
168
dynamic data = CreateWalletDataObject ( ) ;
169
169
data . coins = coins ;
@@ -181,7 +181,7 @@ public async Task<DAORules> DaoGetRules(CancellationToken cancellationToken = de
181
181
/// <param name="filterLevel"></param>
182
182
/// <param name="cancellationToken">A token to allow the call to be cancelled</param>
183
183
/// <returns><see cref="DAOInfo"/></returns>
184
- public async Task < DAOInfo > DaoAdjustFilterLevel ( ulong filterLevel , CancellationToken cancellationToken = default )
184
+ public async Task < DAOInfo > AdjustFilterLevel ( ulong filterLevel , CancellationToken cancellationToken = default )
185
185
{
186
186
dynamic data = CreateWalletDataObject ( ) ;
187
187
data . filter_level = filterLevel ;
@@ -196,7 +196,7 @@ public async Task<DAOInfo> DaoAdjustFilterLevel(ulong filterLevel, CancellationT
196
196
/// <param name="fundingWalletId"></param>
197
197
/// <param name="cancellationToken">A token to allow the call to be cancelled</param>
198
198
/// <returns></returns>
199
- public async Task < ( string txId , TransactionRecord tx ) > DaoAddFundsToTreasury ( ulong amount , uint fundingWalletId , ulong fee = 0 , CancellationToken cancellationToken = default )
199
+ public async Task < ( string txId , TransactionRecord tx ) > AddFundsToTreasury ( ulong amount , uint fundingWalletId , ulong fee = 0 , CancellationToken cancellationToken = default )
200
200
{
201
201
dynamic data = CreateWalletDataObject ( ) ;
202
202
data . funding_wallet_id = fundingWalletId ;
@@ -216,7 +216,7 @@ public async Task<DAOInfo> DaoAdjustFilterLevel(ulong filterLevel, CancellationT
216
216
/// <param name="amount"></param>
217
217
/// <param name="cancellationToken">A token to allow the call to be cancelled</param>
218
218
/// <returns></returns>
219
- public async Task < ( string txId , TransactionRecord tx ) > DaoSendToLockup ( ulong amount , ulong fee = 0 , CancellationToken cancellationToken = default )
219
+ public async Task < ( string txId , TransactionRecord tx ) > SendToLockup ( ulong amount , ulong fee = 0 , CancellationToken cancellationToken = default )
220
220
{
221
221
dynamic data = CreateWalletDataObject ( ) ;
222
222
data . amount = amount ;
@@ -241,7 +241,7 @@ public async Task<DAOInfo> DaoAdjustFilterLevel(ulong filterLevel, CancellationT
241
241
/// <param name="proposalId"></param>
242
242
/// <param name="cancellationToken">A token to allow the call to be cancelled</param>
243
243
/// <returns><see cref="ProposalState"/></returns>
244
- public async Task < ProposalState > DaoGetProposalState ( string proposalId , CancellationToken cancellationToken = default )
244
+ public async Task < ProposalState > GetProposalState ( string proposalId , CancellationToken cancellationToken = default )
245
245
{
246
246
dynamic data = CreateWalletDataObject ( ) ;
247
247
data . proposal_id = proposalId ;
@@ -254,7 +254,7 @@ public async Task<ProposalState> DaoGetProposalState(string proposalId, Cancella
254
254
/// <param name="fee"></param>
255
255
/// <param name="cancellationToken">A token to allow the call to be cancelled</param>
256
256
/// <returns></returns>
257
- public async Task < ( string txId , TransactionRecord tx ) > DaoFreeCoinsFromFinishedProposals ( ulong fee = 0 , CancellationToken cancellationToken = default )
257
+ public async Task < ( string txId , TransactionRecord tx ) > FreeCoinsFromFinishedProposals ( ulong fee = 0 , CancellationToken cancellationToken = default )
258
258
{
259
259
dynamic data = CreateWalletDataObject ( ) ;
260
260
data . fee = fee ;
0 commit comments