initialize | - nonceVaultu8
- nonceStakingu8
- lockEndDateu64
| - tokenMint
- tokenVaultisMut
- stakingAccountisMut
- initializerisSignerisMut
- systemProgram
- tokenProgram
- rent
|
updateLockEndDate | - nonceStakingu8
- newLockEndDateu64
| - initializerisSigner
- stakingAccountisMut
|
toggleFreezeProgram | | - initializerisSigner
- stakingAccountisMut
|
stake | - nonceVaultu8
- nonceStakingu8
- nonceUserStakingu8
- amountu64
| - tokenMint
- tokenFromisMut
- tokenFromAuthorityisSigner
- tokenVaultisMut
- stakingAccountisMut
- userStakingAccountisMut
- systemProgram
- tokenProgram
- rent
|
unstake | - nonceVaultu8
- nonceStakingu8
- nonceUserStakingu8
- amountu64
| - tokenMint
- xTokenFromAuthorityisSigner
- tokenVaultisMut
- stakingAccountisMut
- userStakingAccountisMut
- tokenToisMut
- tokenProgram
|
emitPrice | | - tokenMint
- tokenVault
- stakingAccount
|
emitReward | | - tokenMint
- tokenVault
- stakingAccount
- tokenFromAuthority
- userStakingAccount
|