dependabot[bot]
b662107e94
Bump @rollup/plugin-commonjs from 15.1.0 to 16.0.0 in /token/js ( #735 )
...
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins ) from 15.1.0 to 16.0.0.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v15.1.0...commonjs-v16.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-27 09:12:00 +00:00
dependabot[bot]
e9be4145f6
Bump eslint from 7.12.0 to 7.12.1 in /token/js ( #733 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.12.0 to 7.12.1.
- [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.12.0...v7.12.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-27 09:10:03 +00:00
Trent Nelson
b775896c8c
token-cli: Support offline signing
2020-10-27 01:24:03 +00:00
Trent Nelson
3deb46f35a
token-cli: Support durable nonces
2020-10-27 01:24:03 +00:00
Trent Nelson
5193078568
token-cli: Use subcommand arg matches for config
2020-10-27 01:24:03 +00:00
Trent Nelson
dcc28d311d
token-cli: Send transactions with config
2020-10-27 01:24:03 +00:00
Trent Nelson
6096e7b554
token-cli: Use clap-utils fee payer arg
2020-10-27 01:24:03 +00:00
Jack May
f21c71ed83
reformat token instruction comments ( #732 )
2020-10-27 01:04:39 +00:00
Jack May
18e8951c97
Refer to CreateAccount
2020-10-26 16:54:33 -07:00
anatoly yakovenko
64a362c059
Use u128 for all the math but store in u64 ( #711 )
...
* Use u128 for all the math but store in u64
* tests
* missing changes
* bulds
* specific conversion failure
* fix tests
* use large numbers
* Rebase and fix merge issue from new tests
Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
2020-10-26 18:18:33 +01:00
dependabot[bot]
7473fa0035
Bump eslint from 7.11.0 to 7.12.0 in /token-lending/js ( #725 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.11.0 to 7.12.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.11.0...v7.12.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-26 12:28:17 +00:00
dependabot[bot]
aed7439884
Bump @solana/web3.js from 0.83.0 to 0.84.0 in /token-swap/js ( #726 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.83.0 to 0.84.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.83.0...v0.84.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-26 12:17:40 +00:00
dependabot[bot]
b2fa509a86
Bump eslint from 7.11.0 to 7.12.0 in /token-swap/js ( #727 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.11.0 to 7.12.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.11.0...v7.12.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-26 11:19:42 +00:00
dependabot[bot]
665b08b7df
Bump @solana/web3.js from 0.83.0 to 0.84.0 in /token-lending/js ( #724 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.83.0 to 0.84.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.83.0...v0.84.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-26 11:01:41 +00:00
Justin Starry
a6cfc590e1
Prevent swap accounts being used as user accounts ( #719 )
2020-10-26 18:17:47 +08:00
dependabot[bot]
c57018fbc2
Bump @types/node from 14.14.2 to 14.14.3 in /token-lending/js ( #723 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.2 to 14.14.3.
- [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-10-26 10:10:35 +00:00
dependabot[bot]
454dc73c94
Bump @solana/web3.js from 0.83.0 to 0.84.0 in /token/js ( #721 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.83.0 to 0.84.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.83.0...v0.84.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-26 09:12:38 +00:00
dependabot[bot]
65e3bf29a5
Bump eslint from 7.11.0 to 7.12.0 in /token/js ( #720 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.11.0 to 7.12.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.11.0...v7.12.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-26 09:06:13 +00:00
Michael Vines
211f92e8c6
Groom Cargo.tomls
2020-10-25 07:52:33 +00:00
Michael Vines
f9b4616bb6
Clean up stake-pool copypasta
2020-10-25 03:40:21 +00:00
Michael Vines
fe627797c3
Use program_stubs to clean up invoke_signed stub
2020-10-25 03:29:01 +00:00
Michael Vines
47d31cc6f2
tmp: bpf first
2020-10-24 19:21:38 -07:00
Michael Vines
80e29ef6b9
Port SPL to solana-program and `cargo build-bpf`
2020-10-24 19:21:38 -07:00
Michael Vines
4616c2eb0f
Install solana cli tools in CI
2020-10-23 16:25:47 -07:00
Greg Fitzgerald
94ae65136f
Fix markdown
2020-10-23 17:04:43 -06:00
Greg Fitzgerald
9c3b71727a
Add docs to run the demo ( #710 )
2020-10-23 17:02:53 -06:00
Greg Fitzgerald
5cced4d6d3
Update Ristretto keys ( #708 )
2020-10-23 15:23:19 -06:00
Michael Vines
f9516badc2
Update Cargo.toml
2020-10-23 10:05:20 -07:00
Jon Cinque
b0867c7e28
token-swap: Add fee account to receive withdraw / trading fees, trading token mints ( #695 )
...
* Add mints to swap info
* Add mints to JS
* Add fee account in SwapInfo / init
* Add test for 0 fee, init test fully
* Add withdraw command interface
* Add fee accounts to swap instruction
* Add calculations for swap and withdraw fees
* Run cargo fmt
* Add new fees to JS and test
* Review feedback: fixup instruction doc and clone
* Update order of accounts in instructions
* Run cargo fmt
* Fix owner fee pool token calculation to include trading fee
* Add owner fees to flat curve, per request
* Fix instruction comment numbering
* Add more errors types for clearer calculation errors
Add a check for withdrawing from fee account
* Cargo fmt
2020-10-23 18:31:58 +02:00
dependabot[bot]
14d102b86a
Bump solana-cli-config from 1.4.1 to 1.4.2 ( #704 )
...
Bumps [solana-cli-config](https://github.com/solana-labs/solana ) from 1.4.1 to 1.4.2.
- [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.1...v1.4.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-23 13:29:32 +00:00
Yuriy Savchenko
100e930f2c
Interface accounts added as read-only, fixed mint authority on deposit, fixed stake pool stake deserializing ( #702 )
2020-10-23 14:25:53 +02:00
dependabot[bot]
1f0bf3bacb
Bump solana-logger from 1.4.1 to 1.4.2 ( #705 )
...
Bumps [solana-logger](https://github.com/solana-labs/solana ) from 1.4.1 to 1.4.2.
- [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.1...v1.4.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-23 12:13:37 +00:00
dependabot[bot]
8c3c124f31
Bump @solana/web3.js from 0.82.0 to 0.83.0 in /token-swap/js ( #703 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.82.0 to 0.83.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.82.0...v0.83.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-23 11:30:43 +00:00
dependabot[bot]
a2f73b0b71
Bump @solana/web3.js from 0.82.0 to 0.83.0 in /token-lending/js ( #700 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.82.0 to 0.83.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.82.0...v0.83.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-23 10:21:56 +00:00
dependabot[bot]
7e277765d0
Bump @solana/web3.js from 0.82.0 to 0.83.0 in /token/js ( #699 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.82.0 to 0.83.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.82.0...v0.83.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-23 09:13:45 +00:00
Justin Starry
b8afb23642
Export token program id in JS client ( #694 )
2020-10-23 08:56:15 +08:00
Justin Starry
ee99fcf025
Check for close and freeze authorities in token-swap ( #686 )
2020-10-22 21:20:38 +08:00
dependabot[bot]
ccff57d17e
Bump @types/node from 14.11.11 to 14.14.2 in /token-lending/js ( #689 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.11.11 to 14.14.2.
- [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-10-22 11:48:48 +00:00
dependabot[bot]
464eafcaf3
Bump @solana/web3.js from 0.81.0 to 0.82.0 in /token-lending/js ( #690 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.81.0 to 0.82.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.81.0...v0.82.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-22 10:36:10 +00:00
dependabot[bot]
4930e7fab1
Bump eslint-config-prettier from 6.13.0 to 6.14.0 in /token-lending/js ( #688 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.13.0 to 6.14.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.13.0...v6.14.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-22 10:14:20 +00:00
dependabot[bot]
a328f9651b
Bump @solana/web3.js from 0.81.0 to 0.82.0 in /token/js ( #685 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.81.0 to 0.82.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.81.0...v0.82.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-22 09:19:17 +00:00
Jon Cinque
db42f7abbe
token-swap: Add curve and pool token trait and integrate in processor ( #624 )
...
* Add SwapCurve trait and integrate in processor
* Add PoolTokenConverter trait to correspond
* Add curve type parameter to initialization and JS
* Refactor for flat curve test, fmt
* Update token-swap/program/src/curve.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
* Refactor swap curve to allow for any implementation
* Rename SwapCurveWrapper -> SwapCurve
* Run cargo fmt
* Update CurveType to enum in JS
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-10-21 20:46:50 +02:00
dependabot[bot]
ed11438ec5
Bump rollup from 2.32.0 to 2.32.1 in /token-lending/js ( #681 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.32.0 to 2.32.1.
- [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.32.0...v2.32.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-21 13:04:06 +00:00
Yuriy Savchenko
bb54cf0dc6
Added stake pool instruction interface methods ( #684 )
...
* Added address type in programm address generation for the stake pool, renamed nonce to bump seed
* Formatting fixed
* Bump seed calculation moved to the smart contract, test for fee > 1 added, state length public constant added
* Added claim method to stake pool, fixed program address generation in token mint and burn calls
* Refactored signers management when calling other contracts
* Signers formation put back into calling functions, deposit/withdraw/claim method reworked, state serialization bug fixed
* Added instruction interface methods
* Fixed signer flags for accounts in stake pool instruction creation
2020-10-21 14:21:54 +02:00
dependabot[bot]
781df85cbb
Bump rollup from 2.32.0 to 2.32.1 in /token-swap/js ( #682 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.32.0 to 2.32.1.
- [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.32.0...v2.32.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-21 11:54:34 +00:00
dependabot[bot]
8b95867df4
Bump @solana/web3.js from 0.81.0 to 0.82.0 in /token-swap/js ( #683 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.81.0 to 0.82.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.81.0...v0.82.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-21 11:26:19 +00:00
dependabot[bot]
b56d695732
Bump @typescript-eslint/parser from 4.4.1 to 4.5.0 in /token-lending/js ( #679 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 4.4.1 to 4.5.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.5.0/packages/parser )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-21 10:18:22 +00:00
dependabot[bot]
6cbbb3a317
Bump @types/mz from 2.7.1 to 2.7.2 in /token-lending/js ( #680 )
...
Bumps [@types/mz](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mz ) from 2.7.1 to 2.7.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mz )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-21 10:11:53 +00:00
dependabot[bot]
0282adc929
Bump @babel/plugin-transform-runtime from 7.12.0 to 7.12.1 in /token/js ( #677 )
...
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) from 7.12.0 to 7.12.1.
- [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.1/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>
2020-10-21 09:18:57 +00:00
dependabot[bot]
8079c10f78
Bump rollup from 2.31.0 to 2.32.1 in /token/js ( #678 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.31.0 to 2.32.1.
- [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.31.0...v2.32.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-21 09:17:35 +00:00