mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
35 lines
1.1 KiB
TypeScript
35 lines
1.1 KiB
TypeScript
import type { TxInterpretationResponse } from 'types/api/txInterpretation';
|
|
|
|
import { TOKEN_INFO_ERC_20 } from './token';
|
|
|
|
export const TX_INTERPRETATION: TxInterpretationResponse = {
|
|
data: {
|
|
summaries: [
|
|
{
|
|
summary_template: '{action_type} {source_amount} Ether into {destination_amount} {destination_token}',
|
|
summary_template_variables: {
|
|
action_type: { type: 'string', value: 'Wrap' },
|
|
source_amount: { type: 'currency', value: '0.7' },
|
|
destination_amount: { type: 'currency', value: '0.7' },
|
|
destination_token: {
|
|
type: 'token',
|
|
value: TOKEN_INFO_ERC_20,
|
|
},
|
|
},
|
|
},
|
|
{
|
|
summary_template: '{action_type} {source_amount} Ether into {destination_amount} {destination_token}',
|
|
summary_template_variables: {
|
|
action_type: { type: 'string', value: 'Wrap' },
|
|
source_amount: { type: 'currency', value: '0.7' },
|
|
destination_amount: { type: 'currency', value: '0.7' },
|
|
destination_token: {
|
|
type: 'token',
|
|
value: TOKEN_INFO_ERC_20,
|
|
},
|
|
},
|
|
},
|
|
],
|
|
},
|
|
};
|