Skip to content

Commit

Permalink
Merge pull request #8 from Access-Labs-Inc/terminology-change
Browse files Browse the repository at this point in the history
Terminology change
  • Loading branch information
vl-dev authored Feb 13, 2023
2 parents 17694c3 + 98d63b2 commit 770537b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/libs/ap/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class RewardsTuple {
poolReward: BN;
stakersReward: BN;

constructor(obj: { poolReward: BN; stakersReward: BN }) {
constructor(obj: {poolReward: BN; stakersReward: BN}) {
this.poolReward = obj.poolReward;
this.stakersReward = obj.stakersReward;
}
Expand Down Expand Up @@ -129,7 +129,7 @@ export class StakePool {
static async retrieve(connection: Connection, key: PublicKey) {
const accountInfo = await connection.getAccountInfo(key);
if (!accountInfo?.data) {
throw new Error("Stake pool not found");
throw new Error("Creator pool not found");
}
return this.deserialize(accountInfo.data);
}
Expand Down
4 changes: 2 additions & 2 deletions src/routes/Actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,11 @@ export const Actions = () => {
</RouteLink>
{stakedAccount && stakedAccount.stakeAmount.toNumber() > 0 ? (
<RouteLink css={[styles.button, hoverButtonStyles]} href='/unstake'>
Unstake
Unlock ACS
</RouteLink>
) : (
<span css={[styles.button, styles.disabledButtonStyles]}>
Unstake
Unlock ACS
</span>
)}
{claimableAmount && claimableAmount > 0 ? (
Expand Down
2 changes: 1 addition & 1 deletion src/routes/Stake.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ interface FeePaymentData {
const CRANK_STEP = 'Crank';
const CREATE_STAKING_ACCOUNT_STEP = 'Create staking account';
const CLAIM_REWARDS_STEP = 'Claim rewards';
const STAKE_STEP = 'Stake';
const STAKE_STEP = 'Lock ACS';
const DONE_STEP = 'Done';
const IDLE_STEP = 'Idle';

Expand Down
6 changes: 3 additions & 3 deletions src/routes/Unstake.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ export const Unstake = () => {
</RouteLink>
</Header>

<div css={styles.title}>Unstake ACS</div>
<div css={styles.title}>Unlock ACS</div>
<div css={styles.subtitle}>
Unstake is currently only possible on the access app.
ACS unlocking is currently only possible in the access app.
</div>

<div>
Expand All @@ -45,7 +45,7 @@ export const Unstake = () => {
target='_blank'
rel='noopener'
>
Unstake on access
Unlock ACS on access
</a>

<div css={styles.footnote}>
Expand Down

0 comments on commit 770537b

Please sign in to comment.