mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* Search: redirect to a ENS domain page in case of no address is resolved for this domain * pass csrf-token to contracts info service * batch details for eigenda blobs * fix protocol tag in txs table * additional token type fix --------- Co-authored-by: isstuev <[email protected]>
125 lines
3.9 KiB
TypeScript
125 lines
3.9 KiB
TypeScript
import type {
|
|
OptimismL2TxnBatchTypeCallData,
|
|
OptimismL2TxnBatchTypeCelestia,
|
|
OptimismL2TxnBatchTypeEigenda,
|
|
OptimismL2TxnBatchTypeEip4844,
|
|
OptimisticL2TxnBatchesResponse,
|
|
} from 'types/api/optimisticL2';
|
|
|
|
export const txnBatchesData: OptimisticL2TxnBatchesResponse = {
|
|
items: [
|
|
{
|
|
batch_data_container: 'in_blob4844',
|
|
number: 260998,
|
|
l1_timestamp: '2022-11-10T11:29:11.000000Z',
|
|
l1_transaction_hashes: [
|
|
'0x9553351f6bd1577f4e782738c087be08697fb11f3b91745138d71ba166d62c3b',
|
|
],
|
|
l2_end_block_number: 124882074,
|
|
l2_start_block_number: 124881833,
|
|
transactions_count: 4011,
|
|
},
|
|
{
|
|
batch_data_container: 'in_calldata',
|
|
number: 260997,
|
|
l1_timestamp: '2022-11-03T11:20:59.000000Z',
|
|
l1_transaction_hashes: [
|
|
'0x80f5fba70d5685bc2b70df836942e892b24afa7bba289a2fac0ca8f4d554cc72',
|
|
],
|
|
l2_end_block_number: 124881832,
|
|
l2_start_block_number: 124881613,
|
|
transactions_count: 4206,
|
|
},
|
|
{
|
|
number: 260996,
|
|
l1_timestamp: '2024-09-03T11:14:23.000000Z',
|
|
l1_transaction_hashes: [
|
|
'0x39f4c46cae57bae936acb9159e367794f41f021ed3788adb80ad93830edb5f22',
|
|
],
|
|
l2_end_block_number: 124881612,
|
|
l2_start_block_number: 124881380,
|
|
transactions_count: 4490,
|
|
},
|
|
],
|
|
next_page_params: {
|
|
id: 5902834,
|
|
items_count: 50,
|
|
},
|
|
};
|
|
|
|
export const txnBatchTypeCallData: OptimismL2TxnBatchTypeCallData = {
|
|
batch_data_container: 'in_calldata',
|
|
number: 309123,
|
|
l1_timestamp: '2022-08-10T10:30:24.000000Z',
|
|
l1_transaction_hashes: [
|
|
'0x478c45f182631ae6f7249d40f31fdac36f41d88caa2e373fba35340a7345ca67',
|
|
],
|
|
l2_end_block_number: 10146784,
|
|
l2_start_block_number: 10145379,
|
|
transactions_count: 1608,
|
|
};
|
|
|
|
export const txnBatchTypeCelestia: OptimismL2TxnBatchTypeCelestia = {
|
|
batch_data_container: 'in_celestia',
|
|
blobs: [
|
|
{
|
|
commitment: '0x39c18c21c6b127d58809b8d3b5931472421f9b51532959442f53038f10b78f2a',
|
|
height: 2584868,
|
|
l1_timestamp: '2024-08-28T16:51:12.000000Z',
|
|
l1_transaction_hash: '0x2bb0b96a8ba0f063a243ac3dee0b2f2d87edb2ba9ef44bfcbc8ed191af1c4c24',
|
|
namespace: '0x00000000000000000000000000000000000000000008e5f679bf7116cb',
|
|
},
|
|
],
|
|
number: 309667,
|
|
l1_timestamp: '2022-08-28T16:51:12.000000Z',
|
|
l1_transaction_hashes: [
|
|
'0x2bb0b96a8ba0f063a243ac3dee0b2f2d87edb2ba9ef44bfcbc8ed191af1c4c24',
|
|
],
|
|
l2_end_block_number: 10935879,
|
|
l2_start_block_number: 10934514,
|
|
transactions_count: 1574,
|
|
};
|
|
|
|
export const txnBatchTypeEip4844: OptimismL2TxnBatchTypeEip4844 = {
|
|
batch_data_container: 'in_blob4844',
|
|
blobs: [
|
|
{
|
|
hash: '0x012a4f0c6db6bce9d3d357b2bf847764320bcb0107ab318f3a532f637bc60dfe',
|
|
l1_timestamp: '2022-08-23T03:59:12.000000Z',
|
|
l1_transaction_hash: '0x3870f136497e5501dc20d0974daf379c8636c958794d59a9c90d4f8a9f0ed20a',
|
|
},
|
|
{
|
|
hash: '0x01d1097cce23229931afbc2fd1cf0d707da26df7b39cef1c542276ae718de4f6',
|
|
l1_timestamp: '2022-08-23T03:59:12.000000Z',
|
|
l1_transaction_hash: '0x3870f136497e5501dc20d0974daf379c8636c958794d59a9c90d4f8a9f0ed20a',
|
|
},
|
|
],
|
|
number: 2538459,
|
|
l1_timestamp: '2022-08-23T03:59:12.000000Z',
|
|
l1_transaction_hashes: [
|
|
'0x3870f136497e5501dc20d0974daf379c8636c958794d59a9c90d4f8a9f0ed20a',
|
|
],
|
|
l2_end_block_number: 16291502,
|
|
l2_start_block_number: 16291373,
|
|
transactions_count: 704,
|
|
};
|
|
|
|
export const txnBatchTypeEigenda: OptimismL2TxnBatchTypeEigenda = {
|
|
number: 8930,
|
|
transactions_count: 9048,
|
|
l1_timestamp: '2022-08-23T03:59:12.000000Z',
|
|
l1_transaction_hashes: [
|
|
'0x2f4adadafec74aa938e60f26ad13fa8dc921c3a43f8760a88cf66c23064bc7ce',
|
|
],
|
|
blobs: [
|
|
{
|
|
cert: '0x02f9083ae6a024f087e05e88e8b241b9a7818257250c22af1edda43',
|
|
l1_timestamp: '2026-01-12T12:46:23.000000Z',
|
|
l1_transaction_hash: '0x2f4adadafec74aa938e60f26ad13fa8dc921c3a43f8760a88cf66c23064bc7ce',
|
|
},
|
|
],
|
|
batch_data_container: 'in_eigenda',
|
|
l2_end_block_number: 5424956,
|
|
l2_start_block_number: 5424574,
|
|
};
|