All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Support creating vesting escrow from batch, using root escrow and merkle tree
Program [0.3.1] PR #22
- Add new endpoint
close_vesting_escrow
that allows creator of vesting_escrow to close vesting_escrow, escrow_token and escrow_metadata if recipient already claimed all tokens or vesting_escrow is cancelled.
- Endpoint
create_vesting_escrow
addcancel_mode
to indicates who can cancel the escrow.
- Bump
anchor
version to 0.30.1
- escrow state add
token_program_flag
to indicates the token program used within the escrow. - escrow state add
cancelled_at
to indicates the timestamp of the cancellation. - Add new instruction
cancel_vesting_escrow
, which will cancel the escrow and close theescrow_token
token account. The claimable amount will be transferred to recipient and the remaining amount will be transferred to creator. The instruction supports bothsplToken
andtoken2022
. - Add new v2 instructions to support
token2022
extensions, including:TransferFeeConfig
,TokenMetadata
,MetadataPointer
,ConfidentialTransferMint
,ConfidentialTransferFeeConfig
,PermanentDelegate
,TransferHook
,MintCloseAuthority
,DefaultAccountState
,GroupPointer
,GroupMemberPointer
for Token Mint andMemoTransfer
for Token Account extensionscreate_vesting_escrow_v2
to create the escrow relevant accounts.claim_v2
to claim from the escrow.
Program [0.2.2] PR #8
- Rename
cliff_amount
toinitial_unlock_amount
Program [0.2.1] PR #4
- Add check
recipient_token
in claim instruction - Update
emit_cpi
inclaim
andcreate_vesting_escrow
instruction
- Endpoint
update vesting_escrow_recipient
allow signer to updaterecipient_email
inescrow_metadata
Program [0.2.0] PR #3
- Rename account
escrow
tovesting_escrow
,escrow_metadata
tovesting_escrow_metadata
- Rename endpoint
create_vesting_plan
tocreate_vesting_escrow
- Rename endpoint
create_escrow_metadata
tocreate_vesting_escrow_metadata
- Rename endpoint
update_recipient
toupdate_vesting_escrow_recipient
- escrow state remove field
escrow_token
and add fieldtoken_mint