Skip to content

Commit

Permalink
restore config files
Browse files Browse the repository at this point in the history
  • Loading branch information
0xodia committed Apr 2, 2024
1 parent 8e1b892 commit 2f630a0
Show file tree
Hide file tree
Showing 90 changed files with 1,280 additions and 6,992 deletions.
2 changes: 1 addition & 1 deletion solend-lite/src/stores/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ import { configAtom } from './config';
import BigNumber from 'bignumber.js';
import {
createObligationAddress,
ReserveType,
fetchPools,
getReservesOfPool,
parseLendingMarket,
parseRateLimiter,
PoolType,
ReserveType
} from '@solendprotocol/solend-sdk';
import { DEBUG_MODE, PROGRAM_ID } from 'common/config';
import { atomWithRefresh } from './shared';
Expand Down
4 changes: 3 additions & 1 deletion solend-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ const { wallet } = useWallet();
const solendWallet = await SolendWallet.initialize(wallet, connection);

// Claim rewards
const mndeRewards = solendWallet.rewards["MNDEFzGvMt87ueuHvVU9VcTqsAP5b3fTGPsHuuPA5ey"];
const mndeRewards =
solendWallet.rewards["MNDEFzGvMt87ueuHvVU9VcTqsAP5b3fTGPsHuuPA5ey"];
console.log(
"Claimable rewards:",
mndeRewards.claimableAmount / 10 ** mndeRewards.decimals
Expand Down Expand Up @@ -118,6 +119,7 @@ Due to transaction size limits of Solana, a user with a high amount of positions
Partner rewards and liquidity mining are not present on devnet.

## Publishing

`package.json` is configured for monorepo development alongside other packages. To publish the sdk, use `yarn release` to run scripts optimizing for release. Package has been marked private to prevent accidently publish with `yarn publish`.

```
Expand Down
78 changes: 0 additions & 78 deletions solend-sdk/__tests__/flash_loan.test.ts

This file was deleted.

191 changes: 0 additions & 191 deletions solend-sdk/__tests__/market.test.ts

This file was deleted.

55 changes: 0 additions & 55 deletions solend-sdk/__tests__/obligation.test.ts

This file was deleted.

28 changes: 0 additions & 28 deletions solend-sdk/__tests__/rpc.test.ts

This file was deleted.

1 change: 0 additions & 1 deletion solend-sdk/docs/.nojekyll

This file was deleted.

1 change: 0 additions & 1 deletion solend-sdk/docs/CNAME

This file was deleted.

Loading

0 comments on commit 2f630a0

Please sign in to comment.