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

solana: add security deposit params #61

Merged
merged 3 commits into from
Apr 3, 2024
Merged

Conversation

a5-pickle
Copy link
Contributor

Closes #59.

@a5-pickle a5-pickle requested a review from gator-boi April 3, 2024 17:48
@a5-pickle a5-pickle force-pushed the solana/security-deposit branch from 992d614 to 01de8d9 Compare April 3, 2024 18:03
);
require!(
params.initial_penalty_bps <= FEE_PRECISION_MAX,
MatchingEngineError::InitialPenaltyTooLarge
*security_deposit_base > 0,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since there is a min transfer size on the token routers, I suppose we could allow this to be zero?

@a5-pickle a5-pickle merged commit 0bc8834 into main Apr 3, 2024
3 checks passed
@a5-pickle a5-pickle deleted the solana/security-deposit branch April 3, 2024 18:44
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.

solana: add security deposit parameters to AuctionConfig
2 participants