Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/createAndInitPool/createAndInitLBPoolV3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export async function runAgainstFork() {
// Create the pool and parse the tx receipt to get the pool address
const poolAddress = await createPool({ client, account });

// Approve the cannonical permit2 contract to spend tokens that will be used for pool init
// Approve the canonical permit2 contract to spend tokens that will be used for pool init
await approveSpenderOnTokens(
client,
account,
Expand Down Expand Up @@ -174,7 +174,7 @@ export default async function runAgainstNetwork() {
// Create the pool and parse the tx receipt to get the pool address
const poolAddress = await createPool({ client, account });

// Approve the cannonical permit2 contract to spend tokens that will be used for pool init
// Approve the canonical permit2 contract to spend tokens that will be used for pool init
for (const token of amountsIn) {
const tokenContract = getContract({
address: token.address,
Expand Down
4 changes: 2 additions & 2 deletions examples/createAndInitPool/createAndInitPoolV3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export default async function runAgainstFork() {
// Create the pool and parse the tx receipt to get the pool address
const poolAddress = await createPool({ client, account });

// Approve the cannonical permit2 contract to spend tokens that will be used for pool init
// Approve the canonical permit2 contract to spend tokens that will be used for pool init
await approveSpenderOnTokens(
client,
account,
Expand Down Expand Up @@ -165,7 +165,7 @@ export async function runAgainstNetwork() {
// Create the pool and parse the tx receipt to get the pool address
const poolAddress = await createPool({ client, account });

// Approve the cannonical permit2 contract to spend tokens that will be used for pool init
// Approve the canonical permit2 contract to spend tokens that will be used for pool init
for (const token of amountsIn) {
const tokenContract = getContract({
address: token.address,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ async function runAgainstFork() {

// prepare example by adding liquidity to the pool, so we can remove it
await prepExample(rpcUrl, chainId, pool, slippage, userAccount, client);
// TODO: suppress prepExample logs to avoid poluting the console with unnecessary content
// TODO: suppress prepExample logs to avoid polluting the console with unnecessary content

const bptIn: InputAmount = {
rawAmount: parseEther('0.0001'),
Expand Down
2 changes: 1 addition & 1 deletion examples/swaps/auraBalSwap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const auraBalSwap = async ({ rpcUrl, client, userAccount, chainId }) => {
// Create AuraBalSwap instance which can be used to query & buildCalls
const auraBalSwap = new AuraBalSwap(rpcUrl as string);

// Querys onchain to get result
// Queries onchain to get result
const queryOutput = await auraBalSwap.query({
tokenIn,
tokenOut,
Expand Down