Skip to content

Commit

Permalink
fixup! feat(stakeAtom): implement queryBalance
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpatrickdev committed Apr 25, 2024
1 parent d2257ef commit 2347cca
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/orchestration/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ export * from './src/utils/address.js';
export * from './src/utils/packet.js';
export * from './src/service.js';
export * from './src/queryConnection.js';
export * from './src/guards.js';
export * from './src/typeGuards.js';
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const prepareStakingAccountHolder = (baggage, makeRecorderKit, zcf) => {
}),
},
/**
* @param {ChainAccount} account
* @param {ChainAccountKit['account']} account
* @param {StorageNode} storageNode
* @param {ChainAddress['address']} chainAddress
* @param {import('../queryConnection.js').QueryConnection} queryConnection
Expand Down
10 changes: 7 additions & 3 deletions packages/orchestration/src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import type {

export type AttenuatedNetwork = Pick<RouterProtocol, 'bindPort'>;

export type * from './orchestration.js';
export type * from './service.js';
export type * from './vat-orchestration.js';
export type * from './utils/packet.js';
export type * from './queryConnection.js';
Expand Down Expand Up @@ -457,6 +457,10 @@ export type OsmoSwapFn = (
next: TransferMsg | ChainAddress,
) => TransferMsg;

type AfterAction = { destChain: string; destAddress: ChainAddress };
export type AfterAction = { destChain: string; destAddress: ChainAddress };
type SwapExact = { amountIn: Amount; amountOut: Amount };
type SwapMaxSlippage = { amountIn: Amount; brandOut: Brand; slippage: number };
export type SwapMaxSlippage = {
amountIn: Amount;
brandOut: Brand;
slippage: number;
};

0 comments on commit 2347cca

Please sign in to comment.