Commit Graph

1000 Commits

Author SHA1 Message Date
Michael Vines b51acb2577 Bump SPL Token CLI version to 2.0.5 2020-11-20 09:03:55 -08:00
dependabot[bot] 52939a7a95
Bump prettier from 2.1.2 to 2.2.0 in /token-swap/js (#878)
Bumps [prettier](https://github.com/prettier/prettier) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.1.2...2.2.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-20 11:28:34 +00:00
dependabot[bot] c66921f4ae
Bump @types/node from 14.14.6 to 14.14.9 in /token-lending/js (#877)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.6 to 14.14.9.
- [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>
2020-11-20 10:28:08 +00:00
Michael Vines fa47c8f2ff Drop restore-keys 2020-11-19 10:28:18 -08:00
Michael Vines 7e3115fb25 Avoid RpcClient::get_account() in some cases 2020-11-19 10:28:18 -08:00
Paul 7abf8bd9cf
[AToken] add motivation section to docs (#870) 2020-11-18 20:17:15 -08:00
Michael Vines 09c99158e1 Bump version to 1.0.0 2020-11-18 19:16:25 -08:00
Michael Vines 2e185aa2b6 Proposals now have a 2 week deadline 2020-11-18 19:16:25 -08:00
Michael Vines eb7b4cb0bd Deadline is no longer optional, also add expiration test 2020-11-18 19:16:25 -08:00
Yuriy Savchenko 90698e4be9
Added negative tests for stake pool (#857)
* Added negative tests for stake pool

* Claim refactoring, error codes fixed

* Linter errors fixed
2020-11-18 22:47:42 +01:00
Michael Vines acf7ed45b5
t 2020-11-18 13:07:35 -08:00
Michael Vines 6f884de25f Rename 'delivery' to 'distributor' 2020-11-18 19:59:23 +00:00
Michael Vines 393021948a Update docs/src/feature-proposal.md
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-11-18 19:59:23 +00:00
Michael Vines 0fa9a9428a Initial feature proposal documentation 2020-11-18 19:59:23 +00:00
Michael Vines 2ce4817ac3 Add spl-feature-proposal-cli 2020-11-18 19:59:23 +00:00
Michael Vines 73c34559c2 Rename get_account() -> get_account_data() 2020-11-18 19:59:23 +00:00
Michael Vines 1e88c1302a Add token account checks 2020-11-18 19:59:23 +00:00
Michael Vines 71ab7ea1ba
K 2020-11-18 10:27:23 -08:00
Michael Vines 1fe820c16d
Fix findAssociatedTokenAddress more 2020-11-18 10:18:58 -08:00
Michael Vines eff3677b46
Correct `findAssociatedTokenAddress` JS sample
Fixes #869
2020-11-18 10:13:16 -08:00
Michael Vines 222ec663df Use RpcClient::new_with_commitment() 2020-11-18 04:37:30 +00:00
Michael Vines c6a4ac9a82 Bump solana version to v1.4.9 2020-11-17 20:02:17 -08:00
Michael Vines 0bafe9891d spl-token transfer now supports ALL keyword 2020-11-18 02:06:46 +00:00
Michael Vines 43d808c5fd Clean up `spl-token accounts <MINT>` output 2020-11-18 02:05:52 +00:00
Jack May cb61252b8b
Bump rbpf to v0.1.33, use semver (#859) 2020-11-17 15:49:07 -08:00
Jon Cinque c677c58e09
Add JS test for creating accounts and swapping in one transaction (#568)
* Add test for doing all swap in one transaction

* Fix instruction to minimize signatures required

* Run prettier
2020-11-17 17:54:55 +01:00
Yuriy Savchenko d62ddd2b94
Added stable curve invariant to the token swap smart contract (#838)
* Added stable curve invariant to the token swap smart contract

* Fixed formatting

* Added missing stable curve constraints

* Symbol renames to make math clearer

* Small refactoring according to PR comments, fixes for JS tests
2020-11-17 14:13:18 +01:00
dependabot[bot] c18ea44a78
Bump @solana/web3.js from 0.87.0 to 0.87.1 in /token/js (#854)
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 0.87.0 to 0.87.1.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.87.0...v0.87.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-17 09:49:39 +00:00
Jack May 4056cb4c02
Remove entrypoint bpf cfg check (#852) 2020-11-17 00:52:21 -08:00
Paul 4394cb1ebb
[js-token-library] add freeze and thaw ix builder functions to module declarations (#851) 2020-11-16 18:49:15 +01:00
dependabot[bot] 90c0481051
Bump rollup from 2.33.1 to 2.33.2 in /token-swap/js (#849)
Bumps [rollup](https://github.com/rollup/rollup) from 2.33.1 to 2.33.2.
- [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.33.1...v2.33.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-16 11:33:45 +00:00
dependabot[bot] 84aca40018
Bump flow-bin from 0.137.0 to 0.138.0 in /token-swap/js (#848)
Bumps [flow-bin](https://github.com/flowtype/flow-bin) from 0.137.0 to 0.138.0.
- [Release notes](https://github.com/flowtype/flow-bin/releases)
- [Commits](https://github.com/flowtype/flow-bin/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-16 11:32:55 +00:00
Paul 2731e8e029
[js-token-library] fix createSetAuthorityIx module declarations (#846) 2020-11-16 18:12:40 +08:00
dependabot[bot] 74e92c8f0b
Bump flow-bin from 0.137.0 to 0.138.0 in /token/js (#845)
Bumps [flow-bin](https://github.com/flowtype/flow-bin) from 0.137.0 to 0.138.0.
- [Release notes](https://github.com/flowtype/flow-bin/releases)
- [Commits](https://github.com/flowtype/flow-bin/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-16 09:32:38 +00:00
Michael Vines b5306b4652 Update id and version 2020-11-15 23:44:22 -08:00
Michael Vines 2aa5ee5192 Cargo.lock 2020-11-14 08:24:46 -08:00
Michael Vines 8b108326fb Remove dead code 2020-11-14 08:24:46 -08:00
Tyera Eulberg 6ee1f09311
Use config commitment for balance checks (#842) 2020-11-14 01:24:13 -07:00
Michael Vines c4ec3b3120 Feature Proposal program 2020-11-14 05:08:31 +00:00
dependabot[bot] 83096bc02a Bump bs58 from 0.3.1 to 0.4.0
Bumps [bs58](https://github.com/mycorrhiza/bs58-rs) from 0.3.1 to 0.4.0.
- [Release notes](https://github.com/mycorrhiza/bs58-rs/releases)
- [Commits](https://github.com/mycorrhiza/bs58-rs/compare/0.3.1...0.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-13 21:04:26 -08:00
Michael Vines f4af9054a2 Update to Solana 1.4.8 2020-11-14 02:35:20 +00:00
Jon Cinque b9fed1116b
stake-pool: Add end-to-end testing using ProgramTest (#828)
* WIP: stake-pool: Add end-to-end testing using ProgramTest

* Run cargo fmt

* Add deposit test and extra requirements

* Update Cargo.lock after rebuild

* Bring token program sdk version back to 1.4.7
2020-11-13 13:11:39 +01:00
Michael Vines 5030a87021 Upgrade to Solana 1.4.7 2020-11-12 11:05:20 -08:00
Yuriy Savchenko b9c2bbc275
Added set-staking-auth and set-owner commands to stake pool CLI (#827)
* Added set-staking-auth and set-owner commands to stake pool CLI

* Error handling refactored, fixed new fee owner setting, fixed set owner arg group settings

* Added check for fee account mint to stake pool initialization and set owner methods
2020-11-12 16:44:08 +01:00
dependabot[bot] 39c574a25d
Bump @solana/web3.js from 0.86.4 to 0.87.0 in /token-swap/js (#833)
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 0.86.4 to 0.87.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.86.4...v0.87.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-12 11:32:07 +00:00
dependabot[bot] 3b4f73ac7a
Bump @solana/web3.js from 0.86.4 to 0.87.0 in /token-lending/js (#832)
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 0.86.4 to 0.87.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.86.4...v0.87.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-12 10:34:12 +00:00
Yutaro Mori 81a63712ac
Fix u64.fromBuffer return type to u64 (#830) 2020-11-12 10:40:46 +01:00
dependabot[bot] 24b4514905
Bump @solana/web3.js from 0.86.4 to 0.87.0 in /token/js (#831)
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 0.86.4 to 0.87.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.86.4...v0.87.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-12 09:33:55 +00:00
Jack May 487ad2d2d7
Update README.md 2020-11-11 08:06:36 -08:00
dependabot[bot] b71456a8f1
Bump solana-program from 1.4.5 to 1.4.6 (#826)
Bumps [solana-program](https://github.com/solana-labs/solana) from 1.4.5 to 1.4.6.
- [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.4.5...v1.4.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-11 12:39:52 +00:00