-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/transactions for real now (#51)
* Add transactions section back * Add transactions to yaml * removed unnecessary imports to allow project to build * Add transactions to address analysis window * Update Header.tsx * Fix missing imports --------- Co-authored-by: Pedro Rodrigues <[email protected]>
- Loading branch information
1 parent
2a76777
commit ad28fc5
Showing
17 changed files
with
770 additions
and
100 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* Generated by orval v6.23.0 🍺 | ||
* Do not edit manually. | ||
* compliance-queries-api | ||
* The ward's compliance queires endpoints | ||
* OpenAPI spec version: 1.0 | ||
*/ | ||
import type { Transaction } from './transaction'; | ||
|
||
export type GetCombinedTransactions200 = { | ||
transactions?: Transaction[]; | ||
}; |
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,18 @@ | ||
/** | ||
* Generated by orval v6.23.0 🍺 | ||
* Do not edit manually. | ||
* compliance-queries-api | ||
* The ward's compliance queires endpoints | ||
* OpenAPI spec version: 1.0 | ||
*/ | ||
|
||
export type GetCombinedTransactionsParams = { | ||
/** | ||
* The address to get transactions for | ||
*/ | ||
address: string; | ||
/** | ||
* The number of transactions to return | ||
*/ | ||
count?: number; | ||
}; |
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,12 @@ | ||
/** | ||
* Generated by orval v6.23.0 🍺 | ||
* Do not edit manually. | ||
* compliance-queries-api | ||
* The ward's compliance queires endpoints | ||
* OpenAPI spec version: 1.0 | ||
*/ | ||
import type { Transaction } from './transaction'; | ||
|
||
export type GetTransactionsBetweenAddresses200 = { | ||
transactions?: Transaction[]; | ||
}; |
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,26 @@ | ||
/** | ||
* Generated by orval v6.23.0 🍺 | ||
* Do not edit manually. | ||
* compliance-queries-api | ||
* The ward's compliance queires endpoints | ||
* OpenAPI spec version: 1.0 | ||
*/ | ||
|
||
export type GetTransactionsBetweenAddressesParams = { | ||
/** | ||
* The source address | ||
*/ | ||
src: string; | ||
/** | ||
* The destination address | ||
*/ | ||
dst: string; | ||
/** | ||
* The page of transactions to return | ||
*/ | ||
page?: number; | ||
/** | ||
* The number of transactions to return | ||
*/ | ||
page_size?: number; | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/** | ||
* Generated by orval v6.23.0 🍺 | ||
* Do not edit manually. | ||
* compliance-queries-api | ||
* The ward's compliance queires endpoints | ||
* OpenAPI spec version: 1.0 | ||
*/ | ||
|
||
export interface Output { | ||
address: string; | ||
usdValue: number; | ||
value: number; | ||
} |
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,19 @@ | ||
/** | ||
* Generated by orval v6.23.0 🍺 | ||
* Do not edit manually. | ||
* compliance-queries-api | ||
* The ward's compliance queires endpoints | ||
* OpenAPI spec version: 1.0 | ||
*/ | ||
import type { Output } from './output'; | ||
|
||
export interface Transaction { | ||
blockNumber: number; | ||
currency: string; | ||
hash: string; | ||
inputs: Output[]; | ||
outputs: Output[]; | ||
timestamp: number; | ||
usdValue: number; | ||
value: number; | ||
} |
Oops, something went wrong.