-
Notifications
You must be signed in to change notification settings - Fork 505
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d4d4859
commit 10ac7f6
Showing
31 changed files
with
896 additions
and
17 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
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,61 @@ | ||
import type { ShibariumDepositsResponse } from 'types/api/shibarium'; | ||
|
||
export const data: ShibariumDepositsResponse = { | ||
items: [ | ||
{ | ||
l1_block_number: 8382841, | ||
timestamp: '2022-05-27T01:13:48.000000Z', | ||
l1_transaction_hash: '0xaf3e5f4ef03eac22a622b3434c5dc9f4465aa291900a86bcf0ad9fb14429f05e', | ||
user: { | ||
hash: '0x6197d1eef304eb5284a0f6720f79403b4e9bf3a5', | ||
implementation_name: null, | ||
is_contract: false, | ||
is_verified: false, | ||
name: null, | ||
private_tags: [], | ||
public_tags: [], | ||
watchlist_names: [], | ||
ens_domain_name: null, | ||
}, | ||
l2_transaction_hash: '0xb9212c76069b926917816767e4c5a0ef80e519b1ac1c3d3fb5818078f4984667', | ||
}, | ||
{ | ||
l1_block_number: 8382841, | ||
timestamp: '2022-05-27T01:13:48.000000Z', | ||
l1_transaction_hash: '0xaf3e5f4ef03eac22a622b3434c5dc9f4465aa291900a86bcf0ad9fb14429f05e', | ||
user: { | ||
hash: '0x6197d1eef304eb5284a0f6720f79403b4e9bf3a5', | ||
implementation_name: null, | ||
is_contract: false, | ||
is_verified: false, | ||
name: null, | ||
private_tags: [], | ||
public_tags: [], | ||
watchlist_names: [], | ||
ens_domain_name: null, | ||
}, | ||
l2_transaction_hash: '0xb9212c76069b926917816767e4c5a0ef80e519b1ac1c3d3fb5818078f4984667', | ||
}, | ||
{ | ||
l1_block_number: 8382841, | ||
timestamp: '2022-05-27T01:13:48.000000Z', | ||
l1_transaction_hash: '0xaf3e5f4ef03eac22a622b3434c5dc9f4465aa291900a86bcf0ad9fb14429f05e', | ||
user: { | ||
hash: '0x6197d1eef304eb5284a0f6720f79403b4e9bf3a5', | ||
implementation_name: null, | ||
is_contract: false, | ||
is_verified: false, | ||
name: null, | ||
private_tags: [], | ||
public_tags: [], | ||
watchlist_names: [], | ||
ens_domain_name: null, | ||
}, | ||
l2_transaction_hash: '0xb9212c76069b926917816767e4c5a0ef80e519b1ac1c3d3fb5818078f4984667', | ||
}, | ||
], | ||
next_page_params: { | ||
items_count: 50, | ||
block_number: 8382363, | ||
}, | ||
}; |
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,61 @@ | ||
import type { ShibariumWithdrawalsResponse } from 'types/api/shibarium'; | ||
|
||
export const data: ShibariumWithdrawalsResponse = { | ||
items: [ | ||
{ | ||
l2_block_number: 8382841, | ||
timestamp: '2022-05-27T01:13:48.000000Z', | ||
l1_transaction_hash: '0xaf3e5f4ef03eac22a622b3434c5dc9f4465aa291900a86bcf0ad9fb14429f05e', | ||
user: { | ||
hash: '0x6197d1eef304eb5284a0f6720f79403b4e9bf3a5', | ||
implementation_name: null, | ||
is_contract: false, | ||
is_verified: false, | ||
name: null, | ||
private_tags: [], | ||
public_tags: [], | ||
watchlist_names: [], | ||
ens_domain_name: null, | ||
}, | ||
l2_transaction_hash: '0xb9212c76069b926917816767e4c5a0ef80e519b1ac1c3d3fb5818078f4984667', | ||
}, | ||
{ | ||
l2_block_number: 8382841, | ||
timestamp: '2022-05-27T01:13:48.000000Z', | ||
l1_transaction_hash: '0xaf3e5f4ef03eac22a622b3434c5dc9f4465aa291900a86bcf0ad9fb14429f05e', | ||
user: { | ||
hash: '0x6197d1eef304eb5284a0f6720f79403b4e9bf3a5', | ||
implementation_name: null, | ||
is_contract: false, | ||
is_verified: false, | ||
name: null, | ||
private_tags: [], | ||
public_tags: [], | ||
watchlist_names: [], | ||
ens_domain_name: null, | ||
}, | ||
l2_transaction_hash: '0xb9212c76069b926917816767e4c5a0ef80e519b1ac1c3d3fb5818078f4984667', | ||
}, | ||
{ | ||
l2_block_number: 8382841, | ||
timestamp: '2022-05-27T01:13:48.000000Z', | ||
l1_transaction_hash: '0xaf3e5f4ef03eac22a622b3434c5dc9f4465aa291900a86bcf0ad9fb14429f05e', | ||
user: { | ||
hash: '0x6197d1eef304eb5284a0f6720f79403b4e9bf3a5', | ||
implementation_name: null, | ||
is_contract: false, | ||
is_verified: false, | ||
name: null, | ||
private_tags: [], | ||
public_tags: [], | ||
watchlist_names: [], | ||
ens_domain_name: null, | ||
}, | ||
l2_transaction_hash: '0xb9212c76069b926917816767e4c5a0ef80e519b1ac1c3d3fb5818078f4984667', | ||
}, | ||
], | ||
next_page_params: { | ||
items_count: 50, | ||
block_number: 8382363, | ||
}, | ||
}; |
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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import type { ShibariumDepositsItem, ShibariumWithdrawalsItem } from 'types/api/shibarium'; | ||
|
||
import { ADDRESS_PARAMS } from './addressParams'; | ||
import { TX_HASH } from './tx'; | ||
|
||
export const SHIBARIUM_DEPOSIT_ITEM: ShibariumDepositsItem = { | ||
l1_block_number: 9045233, | ||
l1_transaction_hash: TX_HASH, | ||
l2_transaction_hash: TX_HASH, | ||
timestamp: '2023-05-22T18:00:36.000000Z', | ||
user: ADDRESS_PARAMS, | ||
}; | ||
|
||
export const SHIBARIUM_WITHDRAWAL_ITEM: ShibariumWithdrawalsItem = { | ||
l2_block_number: 9045233, | ||
l1_transaction_hash: TX_HASH, | ||
l2_transaction_hash: TX_HASH, | ||
timestamp: '2023-05-22T18:00:36.000000Z', | ||
user: ADDRESS_PARAMS, | ||
}; |
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,33 @@ | ||
import type { AddressParam } from './addressParams'; | ||
|
||
export type ShibariumDepositsItem = { | ||
l1_block_number: number; | ||
l1_transaction_hash: string; | ||
l2_transaction_hash: string; | ||
timestamp: string; | ||
user: AddressParam | string; | ||
} | ||
|
||
export type ShibariumDepositsResponse = { | ||
items: Array<ShibariumDepositsItem>; | ||
next_page_params: { | ||
items_count: number; | ||
block_number: number; | ||
}; | ||
} | ||
|
||
export type ShibariumWithdrawalsItem = { | ||
l1_transaction_hash: string; | ||
l2_block_number: number; | ||
l2_transaction_hash: string; | ||
timestamp: string; | ||
user: AddressParam | string; | ||
} | ||
|
||
export type ShibariumWithdrawalsResponse = { | ||
items: Array<ShibariumWithdrawalsItem>; | ||
next_page_params: { | ||
items_count: number; | ||
block_number: 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
Oops, something went wrong.