1.1.1 • Published 2 years ago

@stepfinance/step-swap v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@stepfinance/step-swap

Installation

yarn add @stepfinance/step-swap

Usage

Querying Step Pool Registry

import {
  TokenSwap as StepTokenSwap,
  STEP_SWAP_OWNER,
  STEP_SWAP_PROGRAM_ID,
} from '@stepfinance/step-swap';

const poolRegistry = await StepTokenSwap.loadPoolRegistry(
  connection,
  STEP_SWAP_OWNER,
  STEP_SWAP_PROGRAM_ID,
);

const poolAccountAddresses = poolRegistry.accounts.slice(
  0,
  poolRegistry.registrySize,
);
1.1.1

2 years ago

1.1.0

3 years ago

0.1.10

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago