@@ -177,7 +183,13 @@ const TransferForm: FC<
>
}
/>
-
+
);
};
@@ -194,86 +206,108 @@ const TransferForm: FC<
balanceLabel="Deposited Balance"
InputProps={InputProps}
/>
-
+
{depositedBalance?.gt(0) && (
<>
- {values.to !== '' && withdrawResult?.amount.add(earnedBeans).abs().gt(0) && (
- <>
-
-
- {withdrawResult?.amount.abs().gt(0) &&
-
- More recent Deposits are Transferred first.
-
- }
-
-
-
-
- The following Deposits will be used:
-
-
- {isUsingPlant &&
- -
- {`${displayTokenAmount(earnedBeans, sdk.tokens.BEAN, { showName: false })} Earned Beans`}
-
- }
- {withdrawResult.crates.map((crate, index) => (
- -
- {displayTokenAmount(
- crate.amount,
- whitelistedToken
- )}{' '}
- from Deposits at Stem{' '}
- {crate.stem.toString()}
-
- ))}
-
- >
- ),
- }
- : undefined,
- {
- type: ActionType.END_TOKEN,
- token: getNewToOldToken(whitelistedToken),
- },
- ]}
- {...txnActions}
- />
-
-
- >
- )}
+ {values.to !== '' &&
+ withdrawResult?.amount.add(earnedBeans).abs().gt(0) && (
+ <>
+
+
+ {withdrawResult?.amount.abs().gt(0) && (
+
+ More recent Deposits are Transferred first.
+
+ )}
+
+
+
+
+ The following Deposits will be used:
+
+
+ {isUsingPlant && (
+ -
+ {`${displayTokenAmount(
+ earnedBeans,
+ sdk.tokens.BEAN,
+ { showName: false }
+ )} Earned Beans`}
+
+ )}
+ {withdrawResult.crates.map(
+ (crate, index) => (
+ -
+ {displayTokenAmount(
+ crate.amount,
+ whitelistedToken
+ )}{' '}
+ from Deposits at Stem{' '}
+ {crate.stem.toString()}
+
+ )
+ )}
+
+ >
+ ),
+ }
+ : undefined,
+ {
+ type: ActionType.END_TOKEN,
+ token: getNewToOldToken(whitelistedToken),
+ },
+ ]}
+ {...txnActions}
+ />
+
+
+ >
+ )}
>
)}
[
whitelistedToken,
- ...(((whitelistedToken.isLP && whitelistedToken !== sdk.tokens.BEAN_ETH_WELL_LP) && pool?.tokens) || []),
+ ...((whitelistedToken.isLP &&
+ whitelistedToken !== sdk.tokens.BEAN_ETH_WELL_LP &&
+ pool?.tokens) ||
+ []),
],
[pool, sdk.tokens, whitelistedToken]
);
@@ -159,7 +162,7 @@ const WithdrawForm: FC<
const { setDestination } = useFormTxnContext();
useEffect(() => {
setDestination(values.destination);
- }, [values.destination, setDestination])
+ }, [values.destination, setDestination]);
const [isTokenSelectVisible, showTokenSelect, hideTokenSelect] = useToggle();
@@ -279,7 +282,7 @@ const WithdrawForm: FC<
/>
>
-
+
{isReady ? (
@@ -348,7 +351,9 @@ const WithdrawForm: FC<
{
type: ActionType.IN_TRANSIT,
amount: toBN(withdrawResult.amount),
- token: getNewToOldToken(values.tokenOut || whitelistedToken),
+ token: getNewToOldToken(
+ values.tokenOut || whitelistedToken
+ ),
destination: values.destination || FarmToMode.EXTERNAL,
withdrawSeasons,
},
diff --git a/projects/ui/src/components/Silo/Overview.tsx b/projects/ui/src/components/Silo/Overview.tsx
index 40baccf506..7d3cd20f8b 100644
--- a/projects/ui/src/components/Silo/Overview.tsx
+++ b/projects/ui/src/components/Silo/Overview.tsx
@@ -7,11 +7,7 @@ import { AppState } from '~/state';
import useTabs from '~/hooks/display/useTabs';
import TokenIcon from '~/components/Common/TokenIcon';
import { SEEDS, STALK } from '~/constants/tokens';
-import {
- displayPercentage,
- displayStalk,
- displayUSD,
-} from '~/util';
+import { displayPercentage, displayStalk, displayUSD } from '~/util';
import { ChipLabel, StyledTab } from '~/components/Common/Tabs';
import { ZERO_BN } from '~/constants';
import Row from '~/components/Common/Row';
@@ -78,7 +74,10 @@ const Overview: FC<{
const migrationNeeded = useMigrationNeeded();
const siloBalance = useFarmerSiloBalances();
//
- const [tab, handleChange] = useTabs(migrationNeeded ? SLUGS : altSLUGS, 'view');
+ const [tab, handleChange] = useTabs(
+ migrationNeeded ? SLUGS : altSLUGS,
+ 'view'
+ );
//
const ownership =
@@ -86,13 +85,15 @@ const Overview: FC<{
? farmerSilo.stalk.active.div(beanstalkSilo.stalk.total)
: ZERO_BN;
- const deposits = Object.values(siloBalance).map(token => token.deposited.crates).flat(Infinity)
+ const deposits = Object.values(siloBalance)
+ .map((token) => token.deposited.crates)
+ .flat(Infinity);
let totalStalkGrown = farmerSilo.stalk.grown;
deposits.forEach((deposit: any) => {
- totalStalkGrown = totalStalkGrown.plus(deposit.stalk.grown)
- })
+ totalStalkGrown = totalStalkGrown.plus(deposit.stalk.grown);
+ });
const stalkStats = useCallback(
(s: BigNumber, v: BigNumber[], d: string) => (
@@ -118,9 +119,7 @@ const Overview: FC<{
)}
-
+
-
+
-
+
[
imageSrc: depositCardContentByToken[token.address]?.img || depositBeanImg,
},
{
- title: `Receive Stalk ${!token.isUnripe ? 'and Seeds' : ''} for your Deposit`,
+ title: `Receive Stalk ${
+ !token.isUnripe ? 'and Seeds' : ''
+ } for your Deposit`,
texts: [
'Stalk entitles holders to participate in Beanstalk governance and earn a portion of Bean mints.',
],
diff --git a/projects/ui/src/components/Silo/Whitelist.tsx b/projects/ui/src/components/Silo/Whitelist.tsx
index e63de55420..b335d0e8ed 100644
--- a/projects/ui/src/components/Silo/Whitelist.tsx
+++ b/projects/ui/src/components/Silo/Whitelist.tsx
@@ -500,10 +500,11 @@ const Whitelist: FC<{
{/* If this is the entry for Bean deposits,
* display Earned Beans and Deposited Beans separately.
* Internally they are both considered "Deposited". */}
-
{displayFullBN(
deposited?.amount || ZERO_BN,
@@ -538,34 +539,47 @@ const Whitelist: FC<{
BEAN
>
- ) : !token.equals(Bean) && deposited?.amount.gt(0) &&
+ ) : (
+ !token.equals(Bean) &&
+ deposited?.amount.gt(0) && (
- {displayFullBN(deposited?.amount.multipliedBy(getBDV(token)) || ZERO_BN, token.displayDecimals)}
+ {displayFullBN(
+ deposited?.amount.multipliedBy(
+ getBDV(token)
+ ) || ZERO_BN,
+ token.displayDecimals
+ )}
- {displayFullBN(deposited?.bdv || ZERO_BN,token.displayDecimals)}
+ {displayFullBN(
+ deposited?.bdv || ZERO_BN,
+ token.displayDecimals
+ )}
- }
- >
-
- {displayFullBN(
- deposited?.amount || ZERO_BN,
- token.displayDecimals
- )}
- {token.equals(Bean) && farmerSilo.beans.earned.gt(0) ? (
-
- {' + '}
- {displayFullBN(
- farmerSilo.beans.earned,
- token.displayDecimals
- )}
-
- ) : null}
- {token.symbol}
-
-
+ )
+ )
+ }
+ >
+
+ {displayFullBN(
+ deposited?.amount || ZERO_BN,
+ token.displayDecimals
+ )}
+ {token.equals(Bean) &&
+ farmerSilo.beans.earned.gt(0) ? (
+
+ {' + '}
+ {displayFullBN(
+ farmerSilo.beans.earned,
+ token.displayDecimals
+ )}
+
+ ) : null}
+ {token.symbol}
+
+
diff --git a/projects/ui/src/graph/graphql.schema.json b/projects/ui/src/graph/graphql.schema.json
index d6ec9eb16e..24322c92ce 100644
--- a/projects/ui/src/graph/graphql.schema.json
+++ b/projects/ui/src/graph/graphql.schema.json
@@ -157278,9 +157278,7 @@
"name": "derivedFrom",
"description": "creates a virtual field on the entity that may be queried but cannot be set manually through the mappings API.",
"isRepeatable": false,
- "locations": [
- "FIELD_DEFINITION"
- ],
+ "locations": ["FIELD_DEFINITION"],
"args": [
{
"name": "field",
@@ -157304,20 +157302,14 @@
"name": "entity",
"description": "Marks the GraphQL type as indexable entity. Each type that should be an entity is required to be annotated with this directive.",
"isRepeatable": false,
- "locations": [
- "OBJECT"
- ],
+ "locations": ["OBJECT"],
"args": []
},
{
"name": "include",
"description": "Directs the executor to include this field or fragment only when the `if` argument is true.",
"isRepeatable": false,
- "locations": [
- "FIELD",
- "FRAGMENT_SPREAD",
- "INLINE_FRAGMENT"
- ],
+ "locations": ["FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT"],
"args": [
{
"name": "if",
@@ -157341,11 +157333,7 @@
"name": "skip",
"description": "Directs the executor to skip this field or fragment when the `if` argument is true.",
"isRepeatable": false,
- "locations": [
- "FIELD",
- "FRAGMENT_SPREAD",
- "INLINE_FRAGMENT"
- ],
+ "locations": ["FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT"],
"args": [
{
"name": "if",
@@ -157369,9 +157357,7 @@
"name": "specifiedBy",
"description": "Exposes a URL that specifies the behavior of this scalar.",
"isRepeatable": false,
- "locations": [
- "SCALAR"
- ],
+ "locations": ["SCALAR"],
"args": [
{
"name": "url",
@@ -157395,9 +157381,7 @@
"name": "subgraphId",
"description": "Defined a Subgraph ID for an object type",
"isRepeatable": false,
- "locations": [
- "OBJECT"
- ],
+ "locations": ["OBJECT"],
"args": [
{
"name": "id",
@@ -157419,4 +157403,4 @@
}
]
}
-}
\ No newline at end of file
+}
diff --git a/projects/ui/src/hooks/beanstalk/useBeanstalkBalancesBreakdown.tsx b/projects/ui/src/hooks/beanstalk/useBeanstalkBalancesBreakdown.tsx
index 25613f981a..d1c434e139 100644
--- a/projects/ui/src/hooks/beanstalk/useBeanstalkBalancesBreakdown.tsx
+++ b/projects/ui/src/hooks/beanstalk/useBeanstalkBalancesBreakdown.tsx
@@ -33,7 +33,10 @@ export const STATE_CONFIG = {
withdrawn: [
'Claimable',
colors.chart.yellowLight,
- (name: string) => `Legacy Claimable ${name === 'Beans' ? 'Bean' : name} Withdrawals from before Silo V3.`,
+ (name: string) =>
+ `Legacy Claimable ${
+ name === 'Beans' ? 'Bean' : name
+ } Withdrawals from before Silo V3.`,
],
farmable: [
'Farm & Circulating',
@@ -206,11 +209,11 @@ export default function useBeanstalkSiloBreakdown() {
// Ripe Pooled = BEAN:ETH_RESERVES * (Ripe BEAN:ETH / BEAN:ETH Token Supply)
ripePooled = new BigNumber(totalPooled).multipliedBy(
- new BigNumber(
- unripeTokenState[ripeToUnripe[BeanETH.address].address]
- ?.underlying || 0
- ).div(new BigNumber(poolState[BeanETH.address]?.supply || 0))
- );
+ new BigNumber(
+ unripeTokenState[ripeToUnripe[BeanETH.address].address]
+ ?.underlying || 0
+ ).div(new BigNumber(poolState[BeanETH.address]?.supply || 0))
+ );
// pooled = new BigNumber(totalPooled).minus(ripePooled);
farmable = beanSupply
diff --git a/projects/ui/src/hooks/beanstalk/useProposalBlockData.ts b/projects/ui/src/hooks/beanstalk/useProposalBlockData.ts
index 21495e3a8a..50b294c594 100644
--- a/projects/ui/src/hooks/beanstalk/useProposalBlockData.ts
+++ b/projects/ui/src/hooks/beanstalk/useProposalBlockData.ts
@@ -89,9 +89,11 @@ export default function useProposalBlockData(
const score =
proposal.space.id === GovSpace.BeanSprout
? new BigNumber(proposal.scores_total || ZERO_BN)
- : proposal.title.includes("BFCP-B-") && proposal.choices && proposal.choices[1].includes("Remove")
- ? new BigNumber(proposal.scores[1])
- : new BigNumber(proposal.scores[0] || ZERO_BN);
+ : proposal.title.includes('BFCP-B-') &&
+ proposal.choices &&
+ proposal.choices[1].includes('Remove')
+ ? new BigNumber(proposal.scores[1])
+ : new BigNumber(proposal.scores[0] || ZERO_BN);
/// Voting power
const { data: vpData } = useProposalVotingPowerQuery({
diff --git a/projects/ui/src/hooks/farmer/form-txn/useFarmerFormTxnActions.ts b/projects/ui/src/hooks/farmer/form-txn/useFarmerFormTxnActions.ts
index f7118f8c42..e2f5f2b2f4 100644
--- a/projects/ui/src/hooks/farmer/form-txn/useFarmerFormTxnActions.ts
+++ b/projects/ui/src/hooks/farmer/form-txn/useFarmerFormTxnActions.ts
@@ -86,12 +86,18 @@ export default function useFarmerFormTxnsActions(options?: {
};
return transfer;
- }
-
- if ((transferTo === FarmToMode.INTERNAL || transferTo === undefined) && transferAmount?.gt(0)) {
+ }
+
+ if (
+ (transferTo === FarmToMode.INTERNAL || transferTo === undefined) &&
+ transferAmount?.gt(0)
+ ) {
const transfer = {
type: ActionType.BASE,
- message: `Return ${displayTokenAmount(transferAmount, sdk.tokens.BEAN)} to your Farm Balance.`,
+ message: `Return ${displayTokenAmount(
+ transferAmount,
+ sdk.tokens.BEAN
+ )} to your Farm Balance.`,
};
return transfer;
diff --git a/projects/ui/src/hooks/farmer/form-txn/useFarmerFormTxnsSummary.ts b/projects/ui/src/hooks/farmer/form-txn/useFarmerFormTxnsSummary.ts
index 46f824504d..1361f5bbb7 100644
--- a/projects/ui/src/hooks/farmer/form-txn/useFarmerFormTxnsSummary.ts
+++ b/projects/ui/src/hooks/farmer/form-txn/useFarmerFormTxnsSummary.ts
@@ -259,7 +259,10 @@ export default function useFarmerFormTxnsSummary(mode?: 'plantToggle') {
{
type: ActionType.RINSE,
amount: rinsableSprouts,
- destination: mode === 'plantToggle' ? (values.destination || FarmToMode.INTERNAL) : values.destination,
+ destination:
+ mode === 'plantToggle'
+ ? values.destination || FarmToMode.INTERNAL
+ : values.destination,
},
],
},
@@ -300,7 +303,7 @@ export default function useFarmerFormTxnsSummary(mode?: 'plantToggle') {
revitalizedStalk,
sdk.tokens,
values.destination,
- mode
+ mode,
]);
/**
diff --git a/projects/ui/src/pages/barn.tsx b/projects/ui/src/pages/barn.tsx
index 88da08d61d..79f20a8d96 100644
--- a/projects/ui/src/pages/barn.tsx
+++ b/projects/ui/src/pages/barn.tsx
@@ -10,7 +10,7 @@ import {
HOW_TO_RINSE_SPROUTS,
HOW_TO_TRANSFER_FERTILIZER,
HOW_TO_TRADE_FERTILIZER,
- UNDERSTAND_FERT_VAPY
+ UNDERSTAND_FERT_VAPY,
} from '~/util/Guides';
import { FC } from '~/types';
diff --git a/projects/ui/src/pages/silo/index.tsx b/projects/ui/src/pages/silo/index.tsx
index e03db00cf2..23b076be66 100644
--- a/projects/ui/src/pages/silo/index.tsx
+++ b/projects/ui/src/pages/silo/index.tsx
@@ -38,7 +38,11 @@ import { AppState } from '~/state';
import { UNRIPE_BEAN, UNRIPE_BEAN_WETH } from '~/constants/tokens';
import useGetChainToken from '~/hooks/chain/useGetChainToken';
import GuideButton from '~/components/Common/Guide/GuideButton';
-import { CLAIM_SILO_REWARDS, HOW_TO_DEPOSIT_IN_THE_SILO, UNDERSTAND_SILO_VAPY } from '~/util/Guides';
+import {
+ CLAIM_SILO_REWARDS,
+ HOW_TO_DEPOSIT_IN_THE_SILO,
+ UNDERSTAND_SILO_VAPY,
+} from '~/util/Guides';
import { FC } from '~/types';
import useSdk from '~/hooks/sdk';
@@ -345,8 +349,14 @@ const RewardsBar: FC<{
await farm.estimate(ethers.BigNumber.from(0));
- const adjustedGas = gas ? Math.floor(gas.toNumber() * gasMultiplier) : undefined;
- const txn = await farm.execute(ethers.BigNumber.from(0), { slippage: 0 }, adjustedGas ? { gasLimit: adjustedGas } : undefined);
+ const adjustedGas = gas
+ ? Math.floor(gas.toNumber() * gasMultiplier)
+ : undefined;
+ const txn = await farm.execute(
+ ethers.BigNumber.from(0),
+ { slippage: 0 },
+ adjustedGas ? { gasLimit: adjustedGas } : undefined
+ );
txToast.confirming(txn);
const receipt = await txn.wait();
@@ -596,7 +606,9 @@ const RewardsBar: FC<{
label={
}
/>
@@ -643,7 +655,11 @@ const SiloPage: FC<{}> = () => {
control={
}
/>
diff --git a/projects/ui/src/util/Actions.ts b/projects/ui/src/util/Actions.ts
index 41be4cb7eb..7d7e1df719 100644
--- a/projects/ui/src/util/Actions.ts
+++ b/projects/ui/src/util/Actions.ts
@@ -281,13 +281,21 @@ export const parseActionMessage = (a: Action) => {
case ActionType.END_TOKEN:
return null;
case ActionType.SWAP:
- if (a.tokenOut.isLP && a.tokenOut.symbol !== CRV3[1].symbol && !a.tokenOut.isUnripe) {
+ if (
+ a.tokenOut.isLP &&
+ a.tokenOut.symbol !== CRV3[1].symbol &&
+ !a.tokenOut.isUnripe
+ ) {
return `Add ${displayTokenAmount(
a.amountIn,
a.tokenIn
)} of liquidity for ${displayTokenAmount(a.amountOut, a.tokenOut)}.`;
}
- if (a.tokenIn.isLP && a.tokenIn.symbol !== CRV3[1].symbol && !a.tokenIn.isUnripe) {
+ if (
+ a.tokenIn.isLP &&
+ a.tokenIn.symbol !== CRV3[1].symbol &&
+ !a.tokenIn.isUnripe
+ ) {
return `Burn ${displayTokenAmount(
a.amountIn,
a.tokenIn
@@ -332,7 +340,9 @@ export const parseActionMessage = (a: Action) => {
a.token
)} from the Silo.`;
case ActionType.IN_TRANSIT:
- return `Receive ${displayTokenAmount(a.amount.abs(), a.token)} in your ${copy.MODES[a.destination]}.`;
+ return `Receive ${displayTokenAmount(a.amount.abs(), a.token)} in your ${
+ copy.MODES[a.destination]
+ }.`;
case ActionType.UPDATE_SILO_REWARDS: // FIXME: don't like "update" here
return `${a.stalk.lt(0) ? 'Burn' : 'Receive'} ${displayFullBN(
a.stalk.abs(),
@@ -355,7 +365,10 @@ export const parseActionMessage = (a: Action) => {
case ActionType.PLANT:
return `Plant ${displayFullBN(a.bean, 2)} Bean${
a.bean.gt(1) ? 's' : ''
- }, ${displayFullBN(a.stalk, 2)} Stalk, and ${displayFullBN(a.seeds, 2)} Seeds.`;
+ }, ${displayFullBN(a.stalk, 2)} Stalk, and ${displayFullBN(
+ a.seeds,
+ 2
+ )} Seeds.`;
case ActionType.ENROOT:
return `Enroot revitalized ${displayFullBN(
a.stalk,
@@ -402,9 +415,14 @@ export const parseActionMessage = (a: Action) => {
return `Rinse ${displayFullBN(
a.amount,
SPROUTS.displayDecimals
- )} Sprouts${a.destination ? ` and send to your ${copy.MODES[a.destination]}.` : `.`}`;
+ )} Sprouts${
+ a.destination ? ` and send to your ${copy.MODES[a.destination]}.` : `.`
+ }`;
case ActionType.BUY_FERTILIZER:
- return `Buy ${displayFullBN(a.amountOut, 2)} Fertilizer at ${displayFullBN(
+ return `Buy ${displayFullBN(
+ a.amountOut,
+ 2
+ )} Fertilizer at ${displayFullBN(
a.humidity.multipliedBy(100),
1
)}% Humidity with ${displayFullBN(a.amountIn, 2)} Wrapped Ether.`;
diff --git a/projects/ui/src/util/BeaNFTs.ts b/projects/ui/src/util/BeaNFTs.ts
index 9a97a1aaf2..bb4a08cacc 100644
--- a/projects/ui/src/util/BeaNFTs.ts
+++ b/projects/ui/src/util/BeaNFTs.ts
@@ -126,7 +126,7 @@ export async function loadNFTs(account: string) {
}
}
} catch (e) {
- console.error(e)
+ console.error(e);
}
return {
diff --git a/projects/ui/src/util/Tokens.ts b/projects/ui/src/util/Tokens.ts
index b195ec2a9c..35ae662e00 100644
--- a/projects/ui/src/util/Tokens.ts
+++ b/projects/ui/src/util/Tokens.ts
@@ -117,10 +117,10 @@ export function displayTokenAmount(
? _amount
: tokenValueToBN(_amount);
- const outputValue = config.allowNegative
- ? displayFullBN(amount, token.displayDecimals)
+ const outputValue = config.allowNegative
+ ? displayFullBN(amount, token.displayDecimals)
: displayFullBN(amount.abs(), token.displayDecimals);
-
+
const modifier = config.modifier || '';
const name = config.showName ? token.name : '';
diff --git a/yarn.lock b/yarn.lock
index 2a760cfc42..579de88ea4 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3826,6 +3826,42 @@ __metadata:
languageName: node
linkType: hard
+"@graphprotocol/graph-cli@npm:0.46.1":
+ version: 0.46.1
+ resolution: "@graphprotocol/graph-cli@npm:0.46.1"
+ dependencies:
+ "@float-capital/float-subgraph-uncrashable": ^0.0.0-alpha.4
+ "@oclif/core": 2.8.0
+ "@whatwg-node/fetch": ^0.8.4
+ assemblyscript: 0.19.23
+ binary-install-raw: 0.0.13
+ chalk: 3.0.0
+ chokidar: 3.5.3
+ debug: 4.3.4
+ docker-compose: 0.23.19
+ dockerode: 2.5.8
+ fs-extra: 9.1.0
+ glob: 9.3.4
+ gluegun: "git+https://github.com/edgeandnode/gluegun.git#v4.3.1-pin-colors-dep"
+ graphql: 15.5.0
+ immutable: 4.2.1
+ ipfs-http-client: 55.0.0
+ jayson: 4.0.0
+ js-yaml: 3.14.1
+ prettier: 1.19.1
+ request: 2.88.2
+ semver: 7.3.8
+ sync-request: 6.1.0
+ tmp-promise: 3.0.3
+ web3-eth-abi: 1.7.0
+ which: 2.0.2
+ yaml: 1.10.2
+ bin:
+ graph: dist/bin.js
+ checksum: ea82cbe4529212301a339a104a35a7d35c830bca5900662445b28870b076a870c967934102abef95dcb161c6d696189b10d3d54f9c78183da83b8fce74edcfd6
+ languageName: node
+ linkType: hard
+
"@graphprotocol/graph-cli@npm:0.56.0":
version: 0.56.0
resolution: "@graphprotocol/graph-cli@npm:0.56.0"
@@ -3880,6 +3916,15 @@ __metadata:
languageName: node
linkType: hard
+"@graphprotocol/graph-ts@npm:^0.29.1":
+ version: 0.29.3
+ resolution: "@graphprotocol/graph-ts@npm:0.29.3"
+ dependencies:
+ assemblyscript: 0.19.10
+ checksum: 3f79e638e9c21f4dbfac6dfcf22b5a2272f19648ac161a33b11a107f95c05f4d2e67de5684382c6c7a526b2aaf0eb72b3f734b50a5db0da780aac60943b85228
+ languageName: node
+ linkType: hard
+
"@graphql-codegen/add@npm:^4.0.1":
version: 4.0.1
resolution: "@graphql-codegen/add@npm:4.0.1"
@@ -7958,6 +8003,43 @@ __metadata:
languageName: node
linkType: hard
+"@oclif/core@npm:2.8.0":
+ version: 2.8.0
+ resolution: "@oclif/core@npm:2.8.0"
+ dependencies:
+ "@types/cli-progress": ^3.11.0
+ ansi-escapes: ^4.3.2
+ ansi-styles: ^4.3.0
+ cardinal: ^2.1.1
+ chalk: ^4.1.2
+ clean-stack: ^3.0.1
+ cli-progress: ^3.12.0
+ debug: ^4.3.4
+ ejs: ^3.1.8
+ fs-extra: ^9.1.0
+ get-package-type: ^0.1.0
+ globby: ^11.1.0
+ hyperlinker: ^1.0.0
+ indent-string: ^4.0.0
+ is-wsl: ^2.2.0
+ js-yaml: ^3.14.1
+ natural-orderby: ^2.0.3
+ object-treeify: ^1.1.33
+ password-prompt: ^1.1.2
+ semver: ^7.3.7
+ string-width: ^4.2.3
+ strip-ansi: ^6.0.1
+ supports-color: ^8.1.1
+ supports-hyperlinks: ^2.2.0
+ ts-node: ^10.9.1
+ tslib: ^2.5.0
+ widest-line: ^3.1.0
+ wordwrap: ^1.0.0
+ wrap-ansi: ^7.0.0
+ checksum: 6d47b0052898a04dfb5157fc2f7b14065d9851d1d88a65083260c72d6bea25318d7c18325b1ce692e06651258b6e90c851a5a1bce5c3d292afefbe1937bfd331
+ languageName: node
+ linkType: hard
+
"@oclif/core@npm:2.8.6":
version: 2.8.6
resolution: "@oclif/core@npm:2.8.6"
@@ -14650,7 +14732,7 @@ __metadata:
languageName: node
linkType: hard
-"ansi-colors@npm:^3.0.0":
+"ansi-colors@npm:^3.0.0, ansi-colors@npm:^3.2.1":
version: 3.2.4
resolution: "ansi-colors@npm:3.2.4"
checksum: 026c51880e9f8eb59b112669a87dbea4469939ff94b131606303bbd697438a6691b16b9db3027aa9bf132a244214e83ab1508b998496a34d2aea5b437ac9e62d
@@ -14873,6 +14955,16 @@ __metadata:
languageName: node
linkType: hard
+"apisauce@npm:^1.0.1":
+ version: 1.1.5
+ resolution: "apisauce@npm:1.1.5"
+ dependencies:
+ axios: ^0.21.2
+ ramda: ^0.25.0
+ checksum: 4bac8117b484616c82e102d238580f835ffabee15da4527e845d091c12618f3b85293fb96c2357a119efede4ac1695d1ec78cc2ae5e3774f1522e1e1b1852365
+ languageName: node
+ linkType: hard
+
"apisauce@npm:^2.1.5":
version: 2.1.6
resolution: "apisauce@npm:2.1.6"
@@ -15480,7 +15572,7 @@ __metadata:
languageName: node
linkType: hard
-"axios@npm:^0.21.0, axios@npm:^0.21.1, axios@npm:^0.21.4":
+"axios@npm:^0.21.0, axios@npm:^0.21.1, axios@npm:^0.21.2, axios@npm:^0.21.4":
version: 0.21.4
resolution: "axios@npm:0.21.4"
dependencies:
@@ -17431,7 +17523,7 @@ __metadata:
languageName: node
linkType: hard
-"cli-table3@npm:^0.5.0":
+"cli-table3@npm:^0.5.0, cli-table3@npm:~0.5.0":
version: 0.5.1
resolution: "cli-table3@npm:0.5.1"
dependencies:
@@ -17706,6 +17798,13 @@ __metadata:
languageName: node
linkType: hard
+"colors@npm:1.3.3":
+ version: 1.3.3
+ resolution: "colors@npm:1.3.3"
+ checksum: c57f0aa2b71a836435fb0cd8ac4b9f4025ff5411cb027ffcbaa2274347fd00ed52b9d66904f46be73086c27ac31bad9500da675250c95182568454b392f87ee5
+ languageName: node
+ linkType: hard
+
"colors@npm:1.4.0, colors@npm:^1.1.2":
version: 1.4.0
resolution: "colors@npm:1.4.0"
@@ -18235,6 +18334,19 @@ __metadata:
languageName: node
linkType: hard
+"cosmiconfig@npm:6.0.0, cosmiconfig@npm:^6.0.0":
+ version: 6.0.0
+ resolution: "cosmiconfig@npm:6.0.0"
+ dependencies:
+ "@types/parse-json": ^4.0.0
+ import-fresh: ^3.1.0
+ parse-json: ^5.0.0
+ path-type: ^4.0.0
+ yaml: ^1.7.2
+ checksum: 8eed7c854b91643ecb820767d0deb038b50780ecc3d53b0b19e03ed8aabed4ae77271198d1ae3d49c3b110867edf679f5faad924820a8d1774144a87cb6f98fc
+ languageName: node
+ linkType: hard
+
"cosmiconfig@npm:7.0.1, cosmiconfig@npm:^7.0.0":
version: 7.0.1
resolution: "cosmiconfig@npm:7.0.1"
@@ -18260,19 +18372,6 @@ __metadata:
languageName: node
linkType: hard
-"cosmiconfig@npm:^6.0.0":
- version: 6.0.0
- resolution: "cosmiconfig@npm:6.0.0"
- dependencies:
- "@types/parse-json": ^4.0.0
- import-fresh: ^3.1.0
- parse-json: ^5.0.0
- path-type: ^4.0.0
- yaml: ^1.7.2
- checksum: 8eed7c854b91643ecb820767d0deb038b50780ecc3d53b0b19e03ed8aabed4ae77271198d1ae3d49c3b110867edf679f5faad924820a8d1774144a87cb6f98fc
- languageName: node
- linkType: hard
-
"cosmiconfig@npm:^8.1.0, cosmiconfig@npm:^8.1.3":
version: 8.2.0
resolution: "cosmiconfig@npm:8.2.0"
@@ -19898,6 +19997,13 @@ __metadata:
languageName: node
linkType: hard
+"ejs@npm:^2.6.1":
+ version: 2.7.4
+ resolution: "ejs@npm:2.7.4"
+ checksum: a1d2bfc7d1f0b39e99ae19b20c9469a25aeddba1ffc225db098110b18d566f73772fcdcc740b108cfda7452276f67d7b64eb359f90285414c942f4ae70713371
+ languageName: node
+ linkType: hard
+
"ejs@npm:^3.1.6":
version: 3.1.8
resolution: "ejs@npm:3.1.8"
@@ -20083,6 +20189,15 @@ __metadata:
languageName: node
linkType: hard
+"enquirer@npm:2.3.4":
+ version: 2.3.4
+ resolution: "enquirer@npm:2.3.4"
+ dependencies:
+ ansi-colors: ^3.2.1
+ checksum: e1dc49cfd9ca0c5d952dd5729e3129d5170016a89e490fbd3fee92aeaf7511b4f01be5cef1053faecbb5874f58a63acac1c494050e63c7020e509ddc6590d310
+ languageName: node
+ linkType: hard
+
"enquirer@npm:2.3.6, enquirer@npm:^2.3.0, enquirer@npm:^2.3.5, enquirer@npm:^2.3.6":
version: 2.3.6
resolution: "enquirer@npm:2.3.6"
@@ -21541,6 +21656,24 @@ __metadata:
languageName: node
linkType: hard
+"execa@npm:^3.0.0":
+ version: 3.4.0
+ resolution: "execa@npm:3.4.0"
+ dependencies:
+ cross-spawn: ^7.0.0
+ get-stream: ^5.0.0
+ human-signals: ^1.1.1
+ is-stream: ^2.0.0
+ merge-stream: ^2.0.0
+ npm-run-path: ^4.0.0
+ onetime: ^5.1.0
+ p-finally: ^2.0.0
+ signal-exit: ^3.0.2
+ strip-final-newline: ^2.0.0
+ checksum: 72832ff72f79f9082dc3567775cbb52f4682452f7d8015714d924e476a37c36a98183fd669317327ed2e7800ffe7ec2a7be4bfe704a2173ef22ae00109fe9123
+ languageName: node
+ linkType: hard
+
"execa@npm:^6.0.0, execa@npm:^6.1.0":
version: 6.1.0
resolution: "execa@npm:6.1.0"
@@ -22838,6 +22971,16 @@ __metadata:
languageName: node
linkType: hard
+"fs-jetpack@npm:^2.2.2":
+ version: 2.4.0
+ resolution: "fs-jetpack@npm:2.4.0"
+ dependencies:
+ minimatch: ^3.0.2
+ rimraf: ^2.6.3
+ checksum: 486a2974f5bbd3181b787416ff9c5fe128e2fa4a902e7314c659f0e141431ff075da1c674b98ba96e4f5b667a5f492231c51703ac3f073920f6388221394e92b
+ languageName: node
+ linkType: hard
+
"fs-minipass@npm:^2.0.0, fs-minipass@npm:^2.1.0":
version: 2.1.0
resolution: "fs-minipass@npm:2.1.0"
@@ -23358,6 +23501,18 @@ __metadata:
languageName: node
linkType: hard
+"glob@npm:9.3.4":
+ version: 9.3.4
+ resolution: "glob@npm:9.3.4"
+ dependencies:
+ fs.realpath: ^1.0.0
+ minimatch: ^8.0.2
+ minipass: ^4.2.4
+ path-scurry: ^1.6.1
+ checksum: bcf49eaf475dc4ce8d4e98f896408a9f6507a2cb7d24a207c012cb318b969e04a02bcde2ff2920eadd5055ccae444a007b769e418147a56268fab2cda8694cde
+ languageName: node
+ linkType: hard
+
"glob@npm:9.3.5":
version: 9.3.5
resolution: "glob@npm:9.3.5"
@@ -23579,6 +23734,47 @@ __metadata:
languageName: node
linkType: hard
+"gluegun@git+https://github.com/edgeandnode/gluegun.git#v4.3.1-pin-colors-dep":
+ version: 4.3.1
+ resolution: "gluegun@https://github.com/edgeandnode/gluegun.git#commit=b34b9003d7bf556836da41b57ef36eb21570620a"
+ dependencies:
+ apisauce: ^1.0.1
+ app-module-path: ^2.2.0
+ cli-table3: ~0.5.0
+ colors: 1.3.3
+ cosmiconfig: 6.0.0
+ cross-spawn: ^7.0.0
+ ejs: ^2.6.1
+ enquirer: 2.3.4
+ execa: ^3.0.0
+ fs-jetpack: ^2.2.2
+ lodash.camelcase: ^4.3.0
+ lodash.kebabcase: ^4.1.1
+ lodash.lowercase: ^4.3.0
+ lodash.lowerfirst: ^4.3.1
+ lodash.pad: ^4.5.1
+ lodash.padend: ^4.6.1
+ lodash.padstart: ^4.6.1
+ lodash.repeat: ^4.1.0
+ lodash.snakecase: ^4.1.1
+ lodash.startcase: ^4.4.0
+ lodash.trim: ^4.5.1
+ lodash.trimend: ^4.5.1
+ lodash.trimstart: ^4.5.1
+ lodash.uppercase: ^4.3.0
+ lodash.upperfirst: ^4.3.1
+ ora: ^4.0.0
+ pluralize: ^8.0.0
+ ramdasauce: ^2.1.0
+ semver: ^7.0.0
+ which: ^2.0.0
+ yargs-parser: ^16.1.0
+ bin:
+ gluegun: bin/gluegun
+ checksum: 71abe7f31555f169a47510675596f79193c8f55e4beeb4e6efa06c22d41988fa9c747d5e398af7f8401cca22c08ffb7a6d57b03d764c14858513c9eba23b53b8
+ languageName: node
+ linkType: hard
+
"gluegun@npm:5.1.2":
version: 5.1.2
resolution: "gluegun@npm:5.1.2"
@@ -31769,6 +31965,22 @@ __metadata:
languageName: node
linkType: hard
+"ora@npm:^4.0.0":
+ version: 4.1.1
+ resolution: "ora@npm:4.1.1"
+ dependencies:
+ chalk: ^3.0.0
+ cli-cursor: ^3.1.0
+ cli-spinners: ^2.2.0
+ is-interactive: ^1.0.0
+ log-symbols: ^3.0.0
+ mute-stream: 0.0.8
+ strip-ansi: ^6.0.0
+ wcwidth: ^1.0.1
+ checksum: 5dcee3a2e143c7b578531ceda051e8c4b64655a019030fe3de4aef67ac28d08fca996aef71522d40b2316a272aa158d65028d7f43c126d318b70a49d9fa4f991
+ languageName: node
+ linkType: hard
+
"ora@npm:^5.4.1":
version: 5.4.1
resolution: "ora@npm:5.4.1"
@@ -31927,6 +32139,13 @@ __metadata:
languageName: node
linkType: hard
+"p-finally@npm:^2.0.0":
+ version: 2.0.1
+ resolution: "p-finally@npm:2.0.1"
+ checksum: 6306a2851c3b28f8b603624f395ae84dce76970498fed8aa6aae2d930595053746edf1e4ee0c4b78a97410d84aa4504d63179f5310d555511ecd226f53ed1e8e
+ languageName: node
+ linkType: hard
+
"p-is-promise@npm:^2.0.0":
version: 2.1.0
resolution: "p-is-promise@npm:2.1.0"
@@ -33571,6 +33790,20 @@ __metadata:
languageName: node
linkType: hard
+"ramda@npm:^0.24.1":
+ version: 0.24.1
+ resolution: "ramda@npm:0.24.1"
+ checksum: c2dc048f5a0f61872eec7925f76cdf8e7b7cf7a4f457e274d915d8bf86bd108938795d92061d56eae315a4818ea65276a87c9db336356191aaf879647afd8c82
+ languageName: node
+ linkType: hard
+
+"ramda@npm:^0.25.0":
+ version: 0.25.0
+ resolution: "ramda@npm:0.25.0"
+ checksum: 008abbcc69aefd89a2a4a0c9f4cf9f8da2ec490a0e1e261b4c88de8540ef0c383d469bfdf71b758b559377c71bfa8efea164fdb1779169359a86b46f7cb23cb1
+ languageName: node
+ linkType: hard
+
"ramda@npm:^0.28.0":
version: 0.28.0
resolution: "ramda@npm:0.28.0"
@@ -33578,6 +33811,15 @@ __metadata:
languageName: node
linkType: hard
+"ramdasauce@npm:^2.1.0":
+ version: 2.1.3
+ resolution: "ramdasauce@npm:2.1.3"
+ dependencies:
+ ramda: ^0.24.1
+ checksum: e4b7be3b7dd9f0b986a99ec5946a980e26be550644957980c05d518e158512175bf0027b12d300d87dfb600ad8c548888c551e1836dd0a2c42735dda7dccca1a
+ languageName: node
+ linkType: hard
+
"random-bytes@npm:~1.0.0":
version: 1.0.0
resolution: "random-bytes@npm:1.0.0"
@@ -35466,6 +35708,17 @@ __metadata:
languageName: node
linkType: hard
+"semver@npm:7.3.8, semver@npm:7.x, semver@npm:^7.0.0, semver@npm:^7.2.1, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8":
+ version: 7.3.8
+ resolution: "semver@npm:7.3.8"
+ dependencies:
+ lru-cache: ^6.0.0
+ bin:
+ semver: bin/semver.js
+ checksum: ba9c7cbbf2b7884696523450a61fee1a09930d888b7a8d7579025ad93d459b2d1949ee5bbfeb188b2be5f4ac163544c5e98491ad6152df34154feebc2cc337c1
+ languageName: node
+ linkType: hard
+
"semver@npm:7.4.0":
version: 7.4.0
resolution: "semver@npm:7.4.0"
@@ -35488,17 +35741,6 @@ __metadata:
languageName: node
linkType: hard
-"semver@npm:7.x, semver@npm:^7.0.0, semver@npm:^7.2.1, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8":
- version: 7.3.8
- resolution: "semver@npm:7.3.8"
- dependencies:
- lru-cache: ^6.0.0
- bin:
- semver: bin/semver.js
- checksum: ba9c7cbbf2b7884696523450a61fee1a09930d888b7a8d7579025ad93d459b2d1949ee5bbfeb188b2be5f4ac163544c5e98491ad6152df34154feebc2cc337c1
- languageName: node
- linkType: hard
-
"semver@npm:^6.0.0, semver@npm:^6.1.1, semver@npm:^6.1.2, semver@npm:^6.3.0":
version: 6.3.0
resolution: "semver@npm:6.3.0"
@@ -39885,7 +40127,7 @@ __metadata:
languageName: node
linkType: hard
-"which@npm:2.0.2, which@npm:^2.0.1, which@npm:^2.0.2":
+"which@npm:2.0.2, which@npm:^2.0.0, which@npm:^2.0.1, which@npm:^2.0.2":
version: 2.0.2
resolution: "which@npm:2.0.2"
dependencies:
@@ -40344,6 +40586,16 @@ __metadata:
languageName: node
linkType: hard
+"yargs-parser@npm:^16.1.0":
+ version: 16.1.0
+ resolution: "yargs-parser@npm:16.1.0"
+ dependencies:
+ camelcase: ^5.0.0
+ decamelize: ^1.2.0
+ checksum: 29d1e380e24616c67b8897c9fc2159b24418b42b6d8f91535cd504f02ba14e49d75dcd45258936f0fda58c449f441362c5bcc22f0f19cbf3a512cc4f346309fe
+ languageName: node
+ linkType: hard
+
"yargs-parser@npm:^18.1.2":
version: 18.1.3
resolution: "yargs-parser@npm:18.1.3"