| 21 | } |
| 22 | |
| 23 | export async function revenueBalances(network: string, merchantSafeAddress: string, mnemonic?: string): Promise<void> { |
| 24 | let web3 = await getWeb3(network, mnemonic); |
| 25 | let revenuePool = await getSDK('RevenuePool', web3); |
| 26 | let balanceInfo = await revenuePool.balances(merchantSafeAddress); |
| 27 | console.log(`Merchant revenue balance for merchant safe ${merchantSafeAddress}:`); |
| 28 | for (let { tokenSymbol, balance } of balanceInfo) { |
| 29 | console.log(`${fromWei(balance)} ${tokenSymbol}`); |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | export async function claimRevenue( |
| 34 | network: string, |