lnbits-legend/lnbits/extensions/watchonly/static/js/tables.js

62 lines
1 KiB
JavaScript
Raw Normal View History

const tables = {
summaryTable: {
columns: [
{
name: 'totalInputs',
align: 'center',
label: 'Selected Amount'
},
{
name: 'totalOutputs',
align: 'center',
label: 'Payed Amount'
},
{
name: 'fees',
align: 'center',
label: 'Fees'
},
{
name: 'change',
align: 'center',
label: 'Change'
}
]
}
}
const tableData = {
utxos: {
data: [],
total: 0
},
payment: {
fee: 0,
txSize: 0,
2022-07-20 16:57:32 +03:00
tx: null,
psbtBase64: '',
psbtBase64Signed: '',
2022-07-14 17:37:36 +03:00
signedTx: null,
signedTxHex: null,
sentTxId: null,
2022-07-25 17:37:06 +03:00
signModes: [
{
2022-07-14 14:15:11 +03:00
label: 'Serial Port Device',
value: 'serial-port'
},
{
label: 'Animated QR',
value: 'animated-qr',
disable: true
}
],
signMode: '',
show: false,
showAdvanced: false
},
summary: {
data: [{totalInputs: 0, totalOutputs: 0, fees: 0, change: 0}]
}
}