This repository has been archived by the owner on Oct 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added pool breakdown of operator vs member stake, added option …
…to add… (#202) * Added pool breakdown of operator vs member stake, added option to add fees to epoch * Prettier * Added schema validation for epoch requests, fixed object naming
- Loading branch information
1 parent
d19ad19
commit e20daa5
Showing
7 changed files
with
181 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
import * as metaTransactionFillRequestSchema from './meta_transaction_fill_request_schema.json'; | ||
import * as metaTransactionQuoteRequestSchema from './meta_transaction_quote_request_schema.json'; | ||
import * as sraPostOrderRequestSchema from './sra_post_order_request_schema.json'; | ||
import * as stakingEpochRequestSchema from './staking_epoch_request_schema.json'; | ||
import * as swapQuoteRequestSchema from './swap_quote_request_schema.json'; | ||
|
||
export const schemas = { | ||
swapQuoteRequestSchema, | ||
sraPostOrderRequestSchema, | ||
metaTransactionFillRequestSchema, | ||
metaTransactionQuoteRequestSchema, | ||
stakingEpochRequestSchema, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"id": "/StakingEpochRequestSchema", | ||
"properties": { | ||
"withFees": { | ||
"type": "string", | ||
"enum": ["true", "false"] | ||
} | ||
}, | ||
"required": [], | ||
"type": "object" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters