You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

221 lines
4.2 KiB

// bkTable表配置
export const bkTableCollocate = {
labels: ['Block', 'Date', 'Miner', 'Gas Limit', 'Gas Used'], // 表头
sequence: ['number', 'timestamp', 'miner', 'gasLimit', 'gasUsed'], // 对应数据的变量名称
// 数据颜色
colorSequence: [
'text-blue-65B5FF',
'text-gray-7D7D7E',
'text-blue-65B5FF',
'',
'',
],
}
// detailsbkTable表配置
export const detailsCollocate = {
labels: [
'Block Height',
'Timestamp',
'Transactions',
'Miner',
'Size',
'Hash',
'Parent Hash',
'Difficulty',
'Total Difficulty',
'Gas Used',
'Gas Limit',
'Nonce',
], // 表头
sequence: [
'number',
'timestamp',
'transactionNum',
'miner',
'size',
'hash',
'parentHash',
'difficulty',
'totalDifficulty',
'gasUsed',
'gasLimit',
'nonce',
], // 对应数据的变量名称
colorSequence: [
'',
'',
'',
'text-blue-65B5FF',
'',
'',
'text-blue-65B5FF',
'',
'',
'',
'',
'',
], // 数据颜色
isCopys: [
false,
false,
false,
true,
false,
false,
true,
false,
false,
false,
false,
false,
], // 是否可复制
}
// transactTable表配置
export const transactTableCollocate = {
labels: [
'Hash',
'Block',
'Smart contract',
'Age',
'From',
'To',
'Result',
'TX Fee',
], // 表头
sequence: [
'hash',
'blockNumber',
'gasPrice',
'timestamp',
'from',
'to',
'result',
'fee',
], // 对应数据的变量名称
// 数据颜色
colorSequence: [
'text-blue-65B5FF',
'text-blue-65B5FF',
'',
'text-gray-7D7D7E',
'text-blue-65B5FF',
'text-blue-65B5FF',
'',
'',
'',
],
links: ['tx', 'blocks', '', '', 'tokens', 'tokens', '', ''],
linkValue: ['txnHash', 'blockNumber', '', '', 'txnFrom', 'txnTo', '', ''],
}
// transactDetails表配置
export const transactDetailsCollocate = {
labels: [
'Transaction Hash',
'Result',
'Block',
'Time',
'From',
'Interacted With (To)',
'Tokens Transferred',
'Value',
'Transaction Fee',
'Gas Price',
'Transaction Type',
'Gas Limit',
], // 表头
sequence: [
'hash',
'result',
'blockNumber',
'time',
'from',
'to',
'receiptList',
'values',
'fee',
'gasPrice',
'type',
'gas',
], // 对应数据的变量名称
colorSequence: [
'',
'',
'text-blue-65B5FF',
'',
'text-blue-65B5FF',
'text-blue-65B5FF',
'',
'',
'',
'',
'',
'',
'',
], // 数据颜色
isCopys: [
true,
false,
false,
false,
true,
true,
false,
false,
false,
false,
false,
false,
false,
], // 是否可复制
links: ['', '', 'blocks', '', 'tokens', 'tokens', '', '', '', '', '', '', ''],
}
// tokensTable 表配置
export const tokensTableCollocate = {
labels: [
'Serial number',
'Token',
'Address',
'Total supply',
'Holders Count',
], // 表头
sequence: [
'serialNumber',
'symbol',
'contractAddress',
'totalSupply',
'addressesCount',
], // 对应数据的变量名称
// 数据颜色
colorSequence: ['', 'text-blue-65B5FF', 'text-blue-65B5FF', '', ''],
// 是否跳转 / 跳转的路由
links: ['', 'BitcNFt', 'tokens', '', ''],
}
// tokensTable 表配置
export const tokensMobileCollocate = {
labels: ['Token', 'Address', 'Total Supply', 'Holders Count'], // 表头
sequence: ['symbol', 'contractAddress', 'totalSupply', 'addressesCount'], // 对应数据的变量名称
// 数据颜色
colorSequence: ['text-blue-65B5FF', 'text-blue-65B5FF', '', ''],
links: ['BitcNFt', 'tokens', '', ''],
linkValue: ['txnContractAddress', 'txnContractAddress', '', ''], // 对应传递的值
}
// detailsbkTable表配置
export const tokensDetailsCollocate = {
labels: [
'Balance',
'Tokens',
'Transactions',
'Transfers',
'Gas Used',
'Last Balance Update',
], // 表头
sequence: [
'balance',
'tokens',
'transactions',
'transfers',
'gasUsed',
'lastBalanceUpdate',
], // 对应数据的变量名称
colorSequence: ['', '', 'text-blue-65B5FF', 'text-blue-65B5FF', '', ''], // 数据颜色
}