Skip to content

Commit b18b817

Browse files
committed
types: .deposit returns Amount<'nat'>
1 parent 9b34be9 commit b18b817

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/orchestration/src/cosmos-api.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ export interface LiquidStakingMethods {
296296
/** Methods supported only on Agoric chain accounts */
297297
export interface LocalAccountMethods extends StakingAccountActions {
298298
/** deposit payment (from zoe, for example) to the account */
299-
deposit: (payment: Payment<'nat'>) => Promise<void>;
299+
deposit: (payment: Payment<'nat'>) => Promise<Amount<'nat'>>;
300300
/** withdraw a Payment from the account */
301301
withdraw: (amount: Amount<'nat'>) => Promise<Payment<'nat'>>;
302302
/**

0 commit comments

Comments
 (0)