You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The endpoint GET - /chains/main/blocks/head/context/adaptive_issuance_launch_cycle can be used as a heuristic to check whether Adaptive Issuance is enabled in the protocol - [Paris] new adaptive issuance rpc endpoints (generic) #2678
it returns the cycle it started (i.e.6) need to compare it with the head block .metadata.level_info.cycle to confirm it started
Protocol Oxford will bring forth a feature flag, that when enabled, will allow users to perform stake, unstake, and finalize_unstake pseudo operations on implicit accounts.
Support the 3 pseudo operations in Taquito Contract API.
Implementation Details
Stake, unstake, and finalize_unstake are all considered 'pseudo operations' because they are essentially an extension of the existing transaction operation.
hui-an-yang
changed the title
[paris] new pseudo operations - stake, unstake, finalize_unstake and set_delegate_parameters support in contractAPI
[Paris] new pseudo operations - stake, unstake, finalize_unstake and set_delegate_parameters support in contractAPI
Mar 20, 2024
dsawali
changed the title
[Paris] new pseudo operations - stake, unstake, finalize_unstake and set_delegate_parameters support in contractAPI
[Paris] Implement pseudo operations - Stake, Unstake, Finalize_unstake and Set_delegate_parameters in Contract API
Mar 21, 2024
ContractAPI support
Note:
GET - /chains/main/blocks/head/context/adaptive_issuance_launch_cycle
can be used as a heuristic to check whether Adaptive Issuance is enabled in the protocol - [Paris] new adaptive issuance rpc endpoints (generic) #2678it returns the cycle it started (i.e.6) need to compare it with the head block .metadata.level_info.cycle to confirm it started
Protocol Oxford will bring forth a feature flag, that when enabled, will allow users to perform stake, unstake, and finalize_unstake pseudo operations on implicit accounts.
Support the 3 pseudo operations in Taquito Contract API.
Implementation Details
Stake, unstake, and finalize_unstake are all considered 'pseudo operations' because they are essentially an extension of the existing transaction operation.
Refer to this document for further details on what that means: https://hackmd.io/@dsawali/H1_vK4t33
Implement a method wrapper in contract API similar to
contractCall
orsetDelegate
andregisterDelegate
. The work will encompass these domains:The method wrappers should be callable via the contract API as such:
note: same application for estimate, and prepare provider
The same goes for wallet API (but need verification on this).
Testing
Write appropriate unit and integration tests. This will be part of the ticket's acceptance criteria.
The text was updated successfully, but these errors were encountered: