Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
feature: order subsidization
Browse files Browse the repository at this point in the history
  • Loading branch information
mncdg committed Dec 13, 2023
1 parent bfffef3 commit 7ed2a6a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions sample.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,32 @@ const config: ExecutorLaunchConfig = {
},
],

/*
Example:
subsidizationRules: [{
giveChainIds: [ChainId.BSC],
takeChainIds: "any",
notTakeChainIds: [ChainId.Solana],
ranges: [
{
range: {
minUsdOrderValue: 1,
maxUsdOrderValue: 100,
},
usdSubsidy: 1,
},
{
range: {
minUsdOrderValue: 101,
maxUsdOrderValue: 1000,
},
usdSubsidy: 2,
}
]
}],
*/
subsidizationRules: [],

allowSubsidy: false,

tokenPriceService: configurator.tokenPriceService({
Expand Down

0 comments on commit 7ed2a6a

Please sign in to comment.