Commit Graph

1300 Commits

Author SHA1 Message Date
dependabot[bot] ecac14d7be
build(deps-dev): bump eslint from 7.19.0 to 7.20.0 in /token-lending/js (#1237)
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-15 11:23:19 +00:00
dependabot[bot] d90b2568ee
build(deps): bump @solana/web3.js in /token-lending/js (#1242)
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 0.91.2 to 0.91.3.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.91.2...v0.91.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 11:09:07 +00:00
dependabot[bot] c018153392
build(deps-dev): bump @typescript-eslint/parser in /token/js (#1240)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.14.2 to 4.15.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.0/packages/parser)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 10:45:30 +00:00
dependabot[bot] 596f52b478
build(deps-dev): bump @types/node in /token-lending/js (#1239)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.25 to 14.14.28.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 10:42:55 +00:00
dependabot[bot] 3923c7d8b7
build(deps-dev): bump rollup from 2.38.5 to 2.39.0 in /token-lending/js (#1238)
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 10:36:51 +00:00
dependabot[bot] de672dbfa6
build(deps): bump buffer from 6.0.1 to 6.0.3 in /token/js (#1235)
Bumps [buffer](https://github.com/feross/buffer) from 6.0.1 to 6.0.3.
- [Release notes](https://github.com/feross/buffer/releases)
- [Commits](https://github.com/feross/buffer/compare/v6.0.1...v6.0.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 10:14:55 +00:00
dependabot[bot] 7a6f444216
build(deps-dev): bump typescript from 4.1.3 to 4.1.5 in /token/js (#1236)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.3 to 4.1.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.1.3...v4.1.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 10:10:26 +00:00
dependabot[bot] 18f73c848a
build(deps-dev): bump @rollup/plugin-babel in /token/js (#1234)
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 09:38:31 +00:00
dependabot[bot] 1074e55ea9
build(deps-dev): bump @typescript-eslint/eslint-plugin in /token/js (#1233)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.14.2 to 4.15.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.0/packages/eslint-plugin)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 09:36:54 +00:00
dependabot[bot] 7225f0b941
build(deps): bump @solana/web3.js from 0.91.2 to 0.91.3 in /token/js (#1228)
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 0.91.2 to 0.91.3.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.91.2...v0.91.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-13 09:37:01 +00:00
Justin Starry 80b93879e9 fix: fix flow typedefs in token js 2021-02-13 17:03:42 +08:00
Justin Starry bdbfe25980 chore: fix defs check 2021-02-13 17:03:42 +08:00
Justin Starry 6cd9c768ad chore: add defs check 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
dependabot[bot] 5fb91ada0d
build(deps): bump @solana/web3.js in /token-lending/js (#1219)
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 0.91.1 to 0.91.2.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.91.1...v0.91.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-12 10:36:02 +00:00
dependabot[bot] 3a4036d880
build(deps-dev): bump @babel/preset-env in /token/js (#1218)
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 10:18:01 +00:00
dependabot[bot] 201d20ba8f
build(deps-dev): bump @babel/core from 7.12.13 to 7.12.16 in /token/js (#1217)
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-12 10:11:46 +00:00
dependabot[bot] 97b16c1808
build(deps-dev): bump @babel/cli from 7.12.13 to 7.12.16 in /token/js (#1215)
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 09:41:21 +00:00
dependabot[bot] 4e68a12eb4
build(deps-dev): bump @babel/node from 7.12.13 to 7.12.16 in /token/js (#1216)
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 09:35:18 +00:00
Trent Nelson f01805a20e docs: no-verify step no longer necessary to publish crates 2021-02-12 01:47:22 +00:00
Trent Nelson 2ebae31f0e docs: use `cargo build-bpf` for release SO 2021-02-12 01:47:22 +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
dependabot[bot] 8c90c87467
build(deps-dev): bump typescript in /token-lending/js (#1210)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.1.4...v4.1.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-11 10:45:57 +00:00
dependabot[bot] 0fd239bbbc
build(deps): bump @solana/web3.js in /token-lending/js (#1209)
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 10:32:35 +00:00
dependabot[bot] 23ca0b91b1
build(deps): bump @solana/web3.js from 0.91.0 to 0.91.1 in /token/js (#1208)
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 09:38:29 +00:00
dummytester123 d1e5fcfc7e
Add types for bnjs (#1194)
* Add types for bnjs

* Vers bump

* Fix for js test token

* Update web3js lib

* Bump to 0.1.0
2021-02-11 09:34:32 +08:00
Atticlab LLC 11df4aa5ec
Various postponed fixes and changes to the stake pool program (#1200)
* Various postponed fixes and changes to the stake pool program

* Fixed PR comments

* Fixed no-signature validator stake account add test

Co-authored-by: Yuriy Savchenko <yuriy.savchenko@gmail.com>
2021-02-10 17:42:28 +01: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] b823ca88a4
build(deps-dev): bump typescript in /token-lending/js (#1206)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.1.3...v4.1.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-10 00:08:29 +00:00
Trent Nelson 78ac65b29c fix: dependabot should ignore cbindgen crate updates 2021-02-09 16:32:39 -07:00
Trent Nelson da17768a79 token: Add `InitializeAccount2` C binding 2021-02-09 13:05:55 -07:00
Trent Nelson 7cc1055e8f token: Rename v2 instructions in C bindings 2021-02-09 13:05:55 -07:00
Trent Nelson 1254af2f18 token: C binding comment typos 2021-02-09 13:05:55 -07:00
Trent Nelson aebc693a0e token: Get `COption` and `Pubkey` C bindings from solana-program crate 2021-02-09 13:05:55 -07:00
Trent Nelson bc7edcee0f token: cbindgen doing its thing... 2021-02-09 13:05:55 -07:00
Trent Nelson 2190cba1ad token: Wrap C bindings at 80 char 2021-02-09 13:05:55 -07:00
dependabot[bot] 15dbf5fc52
build(deps-dev): bump @typescript-eslint/eslint-plugin (#1203)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.14.2 to 4.15.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.0/packages/eslint-plugin)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-09 11:16:13 +00:00
dependabot[bot] c36c9a0b64
build(deps-dev): bump @typescript-eslint/parser in /token-lending/js (#1202)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.14.2 to 4.15.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.0/packages/parser)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-09 10:34:06 +00:00
dependabot[bot] 3613cea3ca
build(deps): bump @solana/web3.js in /token-lending/js (#1197)
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 22:37:52 +08:00
Jon Cinque 65c3af3217
lending: Add overflow check in proptest (#1199)
This issue was discovered during CI:
https://github.com/solana-labs/solana-program-library/runs/1833196857

The approach is to do the same calc as `_liquidate_obligation` and make
sure that the `MockConverter` doesn't overflow `Decimal`.  This seemed
like a simpler approach than doing a complex local proptest constraint.

On top of that, it includes the proptest regression to run it on every
`cargo test`.
2021-02-08 14:35:55 +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
dependabot[bot] 83a94a1323
build(deps-dev): bump @types/prettier in /token-lending/js (#1196)
Bumps [@types/prettier](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/prettier) from 2.1.6 to 2.2.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/prettier)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-08 10:39:45 +00:00
dependabot[bot] 0077fb421f
build(deps): bump @solana/web3.js from 0.90.5 to 0.91.0 in /token/js (#1195)
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 09:32:30 +00:00
Jon Cinque 9839b18408
Update token swap package version and deploy (#1160) 2021-02-07 15:41:41 -06:00
Jon Cinque 6c0999287a
docs: Flesh out token swap README (#1133)
* Flesh out token swap README

* Add testing info

* Update opening paragraphs and add link to dapp

* Wrap

* Update title

* Update docs/src/token-swap.md

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>

Co-authored-by: B <264380+bartosz-lipinski@users.noreply.github.com>
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-02-05 21:35:33 +01:00
dependabot[bot] f402e395de
build(deps-dev): bump rollup from 2.38.4 to 2.38.5 in /token-swap/js (#1192)
Bumps [rollup](https://github.com/rollup/rollup) from 2.38.4 to 2.38.5.
- [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.4...v2.38.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-05 11:33:14 +00:00