File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -55,17 +55,17 @@ public async Task<CurrencyValue> BalanceOf(string address)
55
55
/// <summary>
56
56
/// Get how much allowance the given address is allowed to spend on behalf of the connected wallet
57
57
/// </summary>
58
- public async Task < string > Allowance ( string spender )
58
+ public async Task < CurrencyValue > Allowance ( string spender )
59
59
{
60
- return await Bridge . InvokeRoute < string > ( getRoute ( "allowance" ) , Utils . ToJsonStringArray ( spender ) ) ;
60
+ return await Bridge . InvokeRoute < CurrencyValue > ( getRoute ( "allowance" ) , Utils . ToJsonStringArray ( spender ) ) ;
61
61
}
62
62
63
63
/// <summary>
64
64
/// Get how much allowance the given address is allowed to spend on behalf of the specified wallet
65
65
/// </summary>
66
- public async Task < string > AllowanceOf ( string owner , string spender )
66
+ public async Task < CurrencyValue > AllowanceOf ( string owner , string spender )
67
67
{
68
- return await Bridge . InvokeRoute < string > ( getRoute ( "allowanceOf" ) , Utils . ToJsonStringArray ( owner , spender ) ) ;
68
+ return await Bridge . InvokeRoute < CurrencyValue > ( getRoute ( "allowanceOf" ) , Utils . ToJsonStringArray ( owner , spender ) ) ;
69
69
}
70
70
71
71
/// <summary>
You can’t perform that action at this time.
0 commit comments