B
9281b6e828
feat: adjust fee constraints ( #1596 )
2021-04-14 13:33:34 -05:00
Jon Cinque
e8f59e42ba
token-swap: Bump crate version to 2.1.0 for release ( #1573 )
2021-04-05 21:56:38 +02:00
Jon Cinque
f309df4f35
token-swap: Update package version to match crates ( #1561 )
2021-04-01 20:53:59 +02:00
Michael Vines
448be67cfa
Update to Solana 1.6.2
2021-03-30 09:38:04 -07:00
B
76f0523e60
Add pausable proposal ( #1506 )
...
* feat: add pausable proposal
* fix: update proposal
2021-03-25 16:38:36 -05:00
Derek Anderson
3858d0ae25
fixed formula to match referenced doc [1] + formatting ( #1474 )
...
`P_{margin}=iRP` didn't make sense, as P isn't defined, and i is already defined as the price (from the oracle).
the references doc contains `P_{margin}=iR`, so I assume this is a typo.
2021-03-25 09:31:25 -05:00
B
bec876dcdc
Proposal for token-swap curve using stake pool account ( #1504 )
...
* feat: add new curve proposal
* Update StakePoolStableCurve.md
2021-03-24 11:07:00 -05:00
dependabot[bot]
5df346163f
build(deps-dev): bump @babel/node in /token-swap/js ( #1489 )
...
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node ) from 7.12.17 to 7.13.12.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.13.12/packages/babel-node )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-23 10:42:30 +00:00
Jon Cinque
d336b8b714
stake-pool: Use checked_ceil_div for withdraw calc ( #1482 )
...
* stake-pool: Use checked_ceil_div for withdraw calc
When a stake account is totally removed from a stake pool by the
manager, there's a chance that the operation would not take enough of
the manager's pool tokens by 1 due to truncation.
Do a ceiling division instead, and refactor ceiling division into the
math library.
* Use new function name on CLI
* Cargo fmt
2021-03-23 00:33:51 +01:00
Jon Cinque
7316e0fbc3
Ignore test-ledger directory for swap ( #1480 )
2021-03-22 20:00:40 +01:00
Michael Vines
662f38f939
Bump Solana version to 1.6.1
2021-03-18 04:07:16 +00:00
Michael Vines
626376653d
Clippy
2021-03-16 18:33:37 -07:00
Michael Vines
686444088b
Bump Solana version to 1.5.15
2021-03-16 18:33:37 -07:00
dependabot[bot]
55896bc1d8
build(deps-dev): bump @babel/plugin-transform-runtime in /token-swap/js ( #1399 )
...
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) from 7.13.7 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-plugin-transform-runtime )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 11:34:53 +00:00
dependabot[bot]
b2c2ca9d4c
build(deps-dev): bump @babel/core in /token-swap/js ( #1390 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.12.17 to 7.13.8.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.13.8/packages/babel-core )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-08 12:49:11 +00:00
dependabot[bot]
56b3d2a577
build(deps-dev): bump @babel/cli in /token-swap/js ( #1389 )
...
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli ) from 7.12.17 to 7.13.0.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.13.0/packages/babel-cli )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-08 12:12:49 +00:00
dependabot[bot]
6512158239
build(deps-dev): bump rollup from 2.39.0 to 2.40.0 in /token-swap/js ( #1388 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.39.0 to 2.40.0.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.39.0...v2.40.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-08 11:39:22 +00:00
dependabot[bot]
8c1c1163e4
build(deps-dev): bump eslint from 7.20.0 to 7.21.0 in /token-swap/js ( #1387 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.20.0 to 7.21.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.20.0...v7.21.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-08 11:04:53 +00:00
dependabot[bot]
b3881b4bed
build(deps): bump @solana/web3.js in /token-swap/js ( #1386 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.91.3 to 0.94.2.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.91.3...v0.94.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-08 10:32:29 +00:00
B
87a849407f
Future proposals for token-swap program ( #1379 )
...
* feat: add files
* feat: add pmm proposal
* feat: DMM
2021-03-05 21:35:16 +01:00
Jon Cinque
d692ff1505
token-swap: Use solana-test-validator in JS tests ( #1367 )
...
* Update swap pool owner in docs
* token-swap: Use solana-test-validator for JS tests
* Revert one more change
* Revert doc change
* Add solana-test-validator to ci
* Fix CI
* Revert docs change
* Move where to deploy programs in CI
2021-03-05 10:34:29 +01:00
Jon Cinque
125593defc
token-swap: Document owner address in README ( #1368 )
...
* token-swap: Document owner address in README
* Update docs for clarity, "token swap" -> "pool"
* Cleanup some language
* Add more info to docs too
2021-03-04 20:24:43 +01:00
Jon Cinque
9c12b50703
Update solana-program to 1.5.11 ( #1362 )
...
* Update solana-program to 1.5.11
* Update all programs
2021-03-02 19:19:50 +01:00
dependabot[bot]
f0e363fe71
build(deps-dev): bump @babel/preset-env in /token-swap/js ( #1336 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.12.17 to 7.13.5.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.13.5/packages/babel-preset-env )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-25 08:02:35 +00:00
dependabot[bot]
a7f16f7b20
build(deps-dev): bump @babel/plugin-proposal-class-properties ( #1335 )
...
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-properties ) from 7.12.13 to 7.13.0.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.13.0/packages/babel-plugin-proposal-class-properties )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-24 12:27:13 +00:00
dependabot[bot]
23a1706a9d
build(deps): bump @babel/runtime in /token-swap/js ( #1334 )
...
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime ) from 7.12.18 to 7.13.7.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.13.7/packages/babel-runtime )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-24 11:53:40 +00:00
dependabot[bot]
79ecb0fe8b
build(deps-dev): bump @babel/plugin-transform-runtime in /token-swap/js ( #1333 )
...
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) from 7.12.17 to 7.13.7.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.13.7/packages/babel-plugin-transform-runtime )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-24 11:15:55 +00:00
dependabot[bot]
fa9427ce35
build(deps-dev): bump @babel/node in /token-swap/js ( #1298 )
...
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node ) from 7.12.16 to 7.12.17.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.17/packages/babel-node )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-19 14:50:10 +00:00
dependabot[bot]
81176dd0a6
build(deps-dev): bump @babel/cli in /token-swap/js ( #1297 )
...
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli ) from 7.12.16 to 7.12.17.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.17/packages/babel-cli )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-19 14:18:05 +00:00
dependabot[bot]
e7613f1555
build(deps): bump @babel/runtime in /token-swap/js ( #1296 )
...
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime ) from 7.12.13 to 7.12.18.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.18/packages/babel-runtime )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-19 13:45:10 +00:00
dependabot[bot]
5874fc90ab
build(deps-dev): bump @babel/core in /token-swap/js ( #1295 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.12.16 to 7.12.17.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.17/packages/babel-core )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-19 13:10:07 +00:00
dependabot[bot]
fac637146b
build(deps-dev): bump @babel/plugin-transform-runtime in /token-swap/js ( #1294 )
...
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) from 7.12.15 to 7.12.17.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.17/packages/babel-plugin-transform-runtime )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-19 12:39:45 +00:00
dependabot[bot]
25abfe4fba
build(deps-dev): bump rollup-plugin-copy in /token-swap/js ( #1293 )
...
Bumps [rollup-plugin-copy](https://github.com/vladshcherbin/rollup-plugin-copy ) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/vladshcherbin/rollup-plugin-copy/releases )
- [Commits](https://github.com/vladshcherbin/rollup-plugin-copy/compare/3.3.0...3.4.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-19 12:09:54 +00:00
dependabot[bot]
c819262bc1
build(deps-dev): bump @babel/preset-env in /token-swap/js ( #1291 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.12.16 to 7.12.17.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.17/packages/babel-preset-env )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-19 11:37:05 +00:00
dependabot[bot]
ae4111b0de
build(deps-dev): bump flow-typed from 3.2.1 to 3.3.1 in /token-swap/js ( #1273 )
...
Bumps [flow-typed](https://github.com/flow-typed/flow-typed ) from 3.2.1 to 3.3.1.
- [Release notes](https://github.com/flow-typed/flow-typed/releases )
- [Changelog](https://github.com/flow-typed/flow-typed/blob/master/CHANGELOG.md )
- [Commits](https://github.com/flow-typed/flow-typed/compare/v3.2.1...v3.3.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-18 11:33:01 +00:00
dependabot[bot]
5b4c62ce49
build(deps): bump solana-program from 1.5.6 to 1.5.8 ( #1261 )
...
Bumps [solana-program](https://github.com/solana-labs/solana ) from 1.5.6 to 1.5.8.
- [Release notes](https://github.com/solana-labs/solana/releases )
- [Changelog](https://github.com/solana-labs/solana/blob/master/RELEASE.md )
- [Commits](https://github.com/solana-labs/solana/compare/v1.5.6...v1.5.8 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-17 23:56:18 +00:00
dependabot[bot]
9613df5724
build(deps-dev): bump eslint from 7.19.0 to 7.20.0 in /token-swap/js ( #1254 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.19.0 to 7.20.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.19.0...v7.20.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 11:50:49 +00:00
dependabot[bot]
c87004fcef
build(deps-dev): bump @rollup/plugin-babel in /token-swap/js ( #1246 )
...
Bumps [@rollup/plugin-babel](https://github.com/rollup/plugins ) from 5.2.3 to 5.3.0.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Commits](https://github.com/rollup/plugins/compare/babel-v5.2.3...babel-v5.3.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 12:13:49 +00:00
dependabot[bot]
6bf7a7dbe1
build(deps-dev): bump rollup from 2.38.5 to 2.39.0 in /token-swap/js ( #1244 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.38.5 to 2.39.0.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.38.5...v2.39.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 12:01:58 +00:00
dependabot[bot]
5a37fd7c7d
build(deps-dev): bump @babel/core in /token-swap/js ( #1245 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.12.13 to 7.12.16.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.16/packages/babel-core )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 11:37:56 +00:00
Justin Starry
80b93879e9
fix: fix flow typedefs in token js
2021-02-13 17:03:42 +08:00
dependabot[bot]
4e6f914a9d
build(deps-dev): bump @babel/node in /token-swap/js ( #1225 )
...
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node ) from 7.12.13 to 7.12.16.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.16/packages/babel-node )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-12 12:16:29 +00:00
dependabot[bot]
6e7c2d1683
build(deps-dev): bump @babel/cli in /token-swap/js ( #1222 )
...
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli ) from 7.12.13 to 7.12.16.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.16/packages/babel-cli )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-12 11:37:49 +00:00
dependabot[bot]
6d7841ee28
build(deps-dev): bump @babel/preset-env in /token-swap/js ( #1223 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.12.13 to 7.12.16.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.16/packages/babel-preset-env )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-12 11:33:45 +00:00
Trent Nelson
2316b6092e
chore: token - bump version to 3.1.0
2021-02-11 16:30:03 -07:00
Trent Nelson
188c03e9a1
chore: bump solana crates to 1.5.6
2021-02-11 16:30:03 -07:00
dependabot[bot]
db12f93c2d
build(deps): bump @solana/web3.js in /token-swap/js ( #1211 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.91.0 to 0.91.1.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.91.0...v0.91.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-11 11:40:33 +00:00
Jon Cinque
beb4aa7e7f
spl-math: Add separate package to test instruction usage ( #1205 )
...
* Refactor to use spl-math
* Run cargo fmt
* Fixup fuzz
* Add spl math program
* Add u64-based approximation
* Cleanup
* Downgrade solana sdk for CI
* Move U256 impl to stable curve
* Remove generic newtonian, use traits
* Cargo fmt
* Move math/program -> libraries/math
* Revert Cargo.lock changes
* Add u128 instruction count tests
* cargo fmt
2021-02-10 17:40:54 +01:00
dependabot[bot]
424a3a93d4
build(deps): bump @solana/web3.js in /token-swap/js ( #1198 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.90.5 to 0.91.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.90.5...v0.91.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-08 11:34:48 +00:00
Jon Cinque
9839b18408
Update token swap package version and deploy ( #1160 )
2021-02-07 15:41:41 -06:00