Skip to content

Commit

Permalink
Merge pull request #14 from pancakeswap/add-new-pool
Browse files Browse the repository at this point in the history
feat: add new pool
  • Loading branch information
chef-cannoli authored Jun 14, 2024
2 parents 78f236f + 23194a1 commit d0a229b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
7 changes: 7 additions & 0 deletions src/pools/constants/pools/42161.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ export const arbPool: SerializedPool[] = [
contractAddress: "0x85146C0c5968d9640121eebd13030c99298f87b3",
tokenPerSecond: 0.00615,
},
{
sousId: 4,
stakingToken: arbTokens.alp,
earningToken: arbTokens.arb,
contractAddress: "0xCe10072E051DA9B8e297AC439B3d7c5C45A32c8f",
tokenPerSecond: 0.0310019841,
},
].map((p) => ({
...p,
contractAddress: getAddress(p.contractAddress) as `0x${string}`,
Expand Down
10 changes: 9 additions & 1 deletion src/pools/constants/token/42161.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,13 @@ export const arbTokens = {
"ALP",
"ApolloX LP",
"https://www.apollox.finance/"
)
),
arb: new ERC20Token(
ChainId.ARBITRUM_ONE,
"0x912CE59144191C1204E64559FE8253a0e49E6548",
18,
"ARB",
"Arbitrum",
"https://arbitrum.foundation/"
),
};
4 changes: 2 additions & 2 deletions src/utils/getFullDecimalMultiplier.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import BigNumber from "bignumber.js";
import {BIG_TEN} from "./const";
import { BIG_TEN } from "./const";

export const getFullDecimalMultiplier = (decimals: number): BigNumber => {
return BIG_TEN.pow(decimals);
return BIG_TEN.pow(decimals);
};

0 comments on commit d0a229b

Please sign in to comment.