Skip to content

Commit

Permalink
chore: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Aug 21, 2024
1 parent ff2576d commit 9c7c9a8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion sui/tokens.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
const { Transaction } = require('@mysten/sui/transactions');
const { Command } = require('commander');
const { loadConfig, saveConfig, printInfo, printError } = require('../common/');
const { addBaseOptions, parseSuiUnitAmount, addOptionsToCommands, broadcast, getWallet, suiCoinId, isGasToken, paginateAll } = require('./utils');
const {
addBaseOptions,
parseSuiUnitAmount,
addOptionsToCommands,
broadcast,
getWallet,
suiCoinId,
isGasToken,
paginateAll,
} = require('./utils');
const {
utils: { formatUnits },
} = require('ethers');
Expand Down
2 changes: 1 addition & 1 deletion sui/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const paginateAll = async (client, paginatedFn, params, pageLimit = 100) => {
}

return items;
}
};

const findOwnedObjectId = async (client, ownerAddress, objectType) => {
const ownedObjects = await client.getOwnedObjects({
Expand Down

0 comments on commit 9c7c9a8

Please sign in to comment.