Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
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
{{ message }}
ghzhost
/
contracts-1
Public
forked from
SO4-Markets/contracts
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Files
Expand file tree
main
Breadcrumbs
contracts-1
/
contracts
/
order_handler
/
test_snapshots
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
main
Breadcrumbs
contracts-1
/
contracts
/
order_handler
/
test_snapshots
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
tests
tests
auto_tier_upgrade_via_execute_order_volume.1.json
auto_tier_upgrade_via_execute_order_volume.1.json
balancing_swap_rebate_capped_at_pool_balance.1.json
balancing_swap_rebate_capped_at_pool_balance.1.json
borrowing_factor_accrues_over_time.1.json
borrowing_factor_accrues_over_time.1.json
cancel_removes_order_from_all_storage_lists.1.json
cancel_removes_order_from_all_storage_lists.1.json
cancel_usdc_order_refunds_exact_short_token.1.json
cancel_usdc_order_refunds_exact_short_token.1.json
cancel_xlm_order_refunds_exact_long_token.1.json
cancel_xlm_order_refunds_exact_long_token.1.json
discount_bps_computed_correctly_for_linked_trader.1.json
discount_bps_computed_correctly_for_linked_trader.1.json
execute_order_increments_referrer_volume.1.json
execute_order_increments_referrer_volume.1.json
get_trader_referrer_returns_alice_for_bob.1.json
get_trader_referrer_returns_alice_for_bob.1.json
get_trader_referrer_returns_none_for_unlinked_trader.1.json
get_trader_referrer_returns_none_for_unlinked_trader.1.json
imbalancing_swaps_increase_impact_pool.1.json
imbalancing_swaps_increase_impact_pool.1.json
impact_pool_key_reflects_accumulated_fees.1.json
impact_pool_key_reflects_accumulated_fees.1.json
impact_pool_running_balance_is_additive.1.json
impact_pool_running_balance_is_additive.1.json
insufficient_collateral_position_is_liquidatable.1.json
insufficient_collateral_position_is_liquidatable.1.json
keeper_freeze_then_user_cancel_refunds_exact_collateral.1.json
keeper_freeze_then_user_cancel_refunds_exact_collateral.1.json
non_owner_cannot_cancel_order.1.json
non_owner_cannot_cancel_order.1.json
open_above_min_collateral_succeeds.1.json
open_above_min_collateral_succeeds.1.json
open_at_min_collateral_succeeds.1.json
open_at_min_collateral_succeeds.1.json
open_below_min_collateral_reverts.1.json
open_below_min_collateral_reverts.1.json
pool_receives_borrowing_fee_on_position_decrease.1.json
pool_receives_borrowing_fee_on_position_decrease.1.json
position_borrowing_factor_snapshot_updated_on_partial_decrease.1.json
position_borrowing_factor_snapshot_updated_on_partial_decrease.1.json
position_pnl_is_positive_after_price_increase.1.json
position_pnl_is_positive_after_price_increase.1.json
position_size_doubles_after_equal_notional_increase.1.json
position_size_doubles_after_equal_notional_increase.1.json
referrer_volume_accumulates_across_orders.1.json
referrer_volume_accumulates_across_orders.1.json
single_hop_swap_weth_to_usdc.1.json
single_hop_swap_weth_to_usdc.1.json
swap_duplicate_market_in_path_reverts.1.json
swap_duplicate_market_in_path_reverts.1.json
swap_order_does_not_increment_referrer_volume.1.json
swap_order_does_not_increment_referrer_volume.1.json
trader_with_no_code_gets_zero_discount.1.json
trader_with_no_code_gets_zero_discount.1.json
two_hop_swap_min_output_not_met_reverts.1.json
two_hop_swap_min_output_not_met_reverts.1.json
two_hop_swap_weth_to_wbtc.1.json
two_hop_swap_weth_to_wbtc.1.json
unconfigured_tier_returns_zero_discount.1.json
unconfigured_tier_returns_zero_discount.1.json
validate_position_rejects_below_min_collateral.1.json
validate_position_rejects_below_min_collateral.1.json
weighted_avg_entry_price_after_increase_from_profit.1.json
weighted_avg_entry_price_after_increase_from_profit.1.json
zero_min_collateral_factor_disables_enforcement.1.json
zero_min_collateral_factor_disables_enforcement.1.json
View all files
You can’t perform that action at this time.