Jon Cinque
34b57d62fe
docs: Clarify audit status of all programs, no S word ( #4046 )
2023-02-13 22:05:49 +00:00
Jon Cinque
d0bd3342e2
token-2022: Bump program, cli, and client for release ( #4039 )
2023-02-09 00:27:05 +01:00
dependabot[bot]
f17995c06e
build(deps-dev): bump chai from 4.3.6 to 4.3.7 in /token/js ( #4036 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-08 12:38:37 +01:00
dependabot[bot]
a25b2a9956
build(deps-dev): bump tslib from 2.4.0 to 2.5.0 in /token/js ( #4031 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 12:56:42 +01:00
dependabot[bot]
cd330aefe2
build(deps-dev): bump eslint-config-prettier from 8.5.0 to 8.6.0 in /token/js ( #4024 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 23:14:37 +01:00
Jon Cinque
3136a49850
token-cli: Remove multisig owner as signer ( #4017 )
2023-02-06 20:53:26 +01:00
dependabot[bot]
4da4314b59
build(deps): bump bytemuck from 1.12.1 to 1.13.0 ( #4027 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 20:27:18 +01:00
samkim-crypto
394c930f18
[token-2022, confidential-extension] Add confidential transfer authority type ( #4025 )
2023-02-06 12:50:35 +09:00
Jon Cinque
49c7e7df53
token-2022: Fix non-transferable extension for unchecked transfers ( #4005 )
2023-02-03 00:42:21 +01:00
dependabot[bot]
f948579954
build(deps-dev): bump @types/node from 18.7.10 to 18.11.18 in /token/js ( #3947 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-02 16:13:36 +01:00
dependabot[bot]
c3f46a478d
build(deps): bump num_enum from 0.5.7 to 0.5.9 ( #4020 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-02 16:12:15 +01:00
Jon Cinque
62d83db283
ci: Update twoxtx patch file ( #4018 )
2023-02-02 12:47:39 +01:00
joeaba
891b4bdad8
chore: update maintainer references ( #4008 )
2023-01-31 08:06:36 -05:00
Jon Cinque
88684d52a2
ci: Update repo to Solana 1.14.12 ( #3989 )
2023-01-19 21:47:03 +01:00
Jon Cinque
9fd9805345
token-js: Bump version for release ( #3968 )
2023-01-10 22:38:34 +01:00
mPaella
befea2c0a8
token-js: Allow (Signer | PublicKey)[] instead of Signer[] when possible ( #3967 )
...
* Allow PublicKey[] | Signer[] instead of Signer[] when possible
* Change Signer[] | PublicKey[] to (Signer | PublicKey)[]
2023-01-10 20:59:44 +01:00
hana
56b1a95230
token-js: sanity check header space in tlv data ( #3936 )
2023-01-05 17:00:53 -08:00
hanako mumei
8dde48e63e
token-cli: display permanent delegate warning
2023-01-05 17:00:20 -08:00
hanako mumei
f5133d6847
token-cli: display CpiGuard and PermanentDelegate
...
also dont display MintCloseAuthority line if revoked
2023-01-05 17:00:20 -08:00
hanako mumei
0e530fa080
twotx: allow git to merge the twotx ci patch
2023-01-05 09:37:50 -08:00
dependabot[bot]
e0548c1e06
build(deps): bump json5 from 2.2.1 to 2.2.3 in /token/js ( #3953 )
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 18:22:47 +01:00
samkim-crypto
e0b70a9749
rename ops to syscall for better readability ( #3944 )
2022-12-23 16:17:57 +09:00
samkim-crypto
b9aba3fb8d
[confidential-extension] Use `OptionalNonZeroPubkey` and `OptionalNonZeroEncryptionPubkey` for confidential extension ( #3943 )
...
* use OptionalNonZeroPubkey for the confidential mint authority pubkey
* add OptionalNonZeroEncryptionPubkey
* update tests
* Update token/program-2022/src/pod.rs
Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
* remove unnecessary COption convertion for OptionalNonZeroEncryptionPubkey
Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
2022-12-23 11:06:18 +09:00
samkim-crypto
6386f24253
[confidential-extension] Restrict `InitializeMint` and `UpdateMint` instructions ( #3938 )
...
* restrict `UpdateMint` instruction
* update tests and token client for `UpdateMint`
* restrict `InitializeAccount` instruction
* update client and tests for `InitializeMint` instruction
2022-12-20 14:24:31 +09:00
samkim-crypto
ac02e0afde
change ceil div variable name ( #3935 )
2022-12-20 09:04:00 +09:00
samkim-crypto
a083ce4f17
fix parenthesis error in fee calculation doc ( #3928 )
2022-12-19 13:03:08 +09:00
samkim-crypto
ba2b7951fc
remove ElGamal pubkey from confidential transfer `ConfigureAccount` data ( #3927 )
2022-12-19 11:58:46 +09:00
hanako mumei
9a0ecb3814
token-js: rename ExtensionType.InterestBearingMint
...
change name to InterestBearingConfig, in line with Token-2022
2022-12-16 16:40:47 -08:00
samkim-crypto
c51ccf05c2
[confidential-extension] Refactor and add comments for readability ( #3921 )
...
* pass over `InitializeAccount` to `Withdraw` instructions
* add `valid_as_source` and `valid_as_destination` functions
* pass over `Transfer` instruction
* pass over `ApplyPendingBalance` to `HarvestWithheldTokensToMint` instructions
* refactor pending balance credit counter increment
2022-12-16 12:42:55 +09:00
hanako mumei
72a41d4a22
token-js: minor memo transfer fixes
2022-12-15 17:27:46 -08:00
hanako mumei
d1dfa2d233
token-js: CPI Guard tests
2022-12-15 17:27:46 -08:00
hanako mumei
980065ec6c
token-js: implement CPI Guard
2022-12-15 17:27:46 -08:00
dependabot[bot]
ac96df0745
build(deps-dev): bump mocha and @types/mocha in /token/js ( #3717 )
...
Bumps [mocha](https://github.com/mochajs/mocha ) and [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha ). These dependencies needed to be updated together.
Updates `mocha` from 9.2.2 to 10.1.0
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v9.2.2...v10.1.0 )
Updates `@types/mocha` from 9.1.1 to 10.0.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha )
---
updated-dependencies:
- dependency-name: mocha
dependency-type: direct:development
update-type: version-update:semver-major
- dependency-name: "@types/mocha"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-14 20:26:22 +01:00
Jon Cinque
ae994afa3e
Update repo to `edition = "2021"` ( #3900 )
2022-12-13 23:46:26 +01:00
dependabot[bot]
3372eb6c0d
build(deps): bump console from 0.14.1 to 0.15.0 ( #2676 )
...
Bumps [console](https://github.com/mitsuhiko/console ) from 0.14.1 to 0.15.0.
- [Release notes](https://github.com/mitsuhiko/console/releases )
- [Changelog](https://github.com/mitsuhiko/console/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitsuhiko/console/compare/0.14.1...v0.15.0 )
---
updated-dependencies:
- dependency-name: console
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 22:54:55 +01:00
Jon Cinque
5f4943802b
clippy: Remove `useless_conversion` ( #3899 )
2022-12-13 15:56:12 +01:00
samkim-crypto
39a6d59f27
[token-2022] Divide encrypted fee into lo and hi (TOB-STK-11) ( #3878 )
...
* require regular fee proof for self-transfers with fee
* process encrypted lo and hi fee separately
2022-12-07 10:53:48 +09:00
samkim-crypto
bb404a6af5
update solana to 1.14.10 ( #3872 )
2022-12-06 12:59:00 +09:00
samkim-crypto
c7fbd4b69b
check expected new source ciphertext in processing confidential transfer ( #3867 )
2022-12-03 14:46:02 +09:00
Athar Mohammad
c7c12f987c
token-cli: support for permanent delegate ( #3841 )
...
* token-cli: support for permanent delegate
* using associated account helper
2022-11-30 17:19:22 +01:00
Jon Cinque
d8e3803fe4
ci: Fix 2xtx build ( #3849 )
2022-11-29 01:29:58 +01:00
hanako mumei
1a0e7742dc
token-cli: temp add wildcard to account output
2022-11-23 10:39:28 -08:00
Athar Mohammad
3dd744d450
js support for permanent delegate authority ( #3833 )
2022-11-23 16:29:09 +01:00
hanako mumei
0de5f7339a
bump token-cli to 2.2 and token-client to 0.3
2022-11-21 12:41:53 -08:00
hanako mumei
3c4267be06
token-2022: bump version to 0.5
2022-11-21 09:29:18 -08:00
samkim-crypto
6725958c26
[token-2022] Enable confidential payments only feature ( #3790 )
...
* add allow_non_confidential_credits field
* add tests for disabling non-confidential transfers
* Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
* clarify comment wording
* Update token/program-2022/src/extension/confidential_transfer/processor.rs
Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
2022-11-17 13:10:21 +09:00
hanako mumei
7f851bd75a
token-cli: add --recipient-owner flag to mint
2022-11-15 18:40:25 -08:00
hanako mumei
bc02c1139c
token-cli: owner-related cleanups
2022-11-15 18:40:25 -08:00
Jon Cinque
8d0a2e1000
token-2022: Add PermanentDelegate extension ( #3725 )
...
* token-2022: Add PermanentDelegate extension
* Address feedback
* Refactor getting permanent delegate
* Rename function
* More cleanup
* Fix ATA
2022-11-15 14:10:59 +01:00
hanako mumei
0ddbd71302
token-cli: test close account
2022-11-14 12:57:08 -08:00