Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current devnet onchain code-includes fixes required during integariton #56

Merged
merged 30 commits into from
Dec 20, 2024

Conversation

codinghistorian
Copy link

@codinghistorian codinghistorian commented Dec 20, 2024

• Time-Sensitive Events and Events Parameter: Added based on front-end team requests to align with business requirements. The Clock sysvar is used as the standard for time across events for accuracy, and ease of implementation in substream indexing.
• calculate_share_price Added to Vault: for the same reason above
• Dynamic tick_array_accounts Fetching: Introduced to enable the proper dynamic creation of remaining accounts.
• ALT/LUT Creation: Added to enhance the user experience (UX).
• Access Control for ReportProfit Method: The ReportProfit method on the strategy is now controlled by the accessControl program, allowing the processor bot to invoke it even when it is not assigned as the manager within the strategy account’s state.

USDC/USDT pair, when selling USDT to get USDC, the price goes up(price here means USDC price), and the tick array is quite small, so need to provide tick_array_accounts upwards
-for now add it manually, later make it dynamic from the getter fn
-basically the result can be divided by 15 to think in float
@codinghistorian codinghistorian changed the title Deploy 2024 12 10 Deploy 2024 12 10 - which is current devent's onchain program Dec 20, 2024
@codinghistorian codinghistorian changed the title Deploy 2024 12 10 - which is current devent's onchain program Current devnet onchain code Dec 20, 2024
@codinghistorian codinghistorian changed the title Current devnet onchain code Current devnet onchain code-includes fixes required during integariton Dec 20, 2024
@codinghistorian codinghistorian marked this pull request as ready for review December 20, 2024 11:18
@codinghistorian codinghistorian merged commit c20b5d4 into dev Dec 20, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants