import { SIGN_TYPE } from '@waves/signature-adapter' ; export const messageType = 'matcher_orders' ; export const txType = 'request' ; export function getAssetsId ( tx = null ) { return [ 'WAVES' ] ; } export function getFee ( tx = null ) { return { coins : 0 , assetId : 'WAVES' } ; } export function getAmount ( tx = null ) { return { coins : 0 , assetId : 'WAVES' } ; } export function getAmountSign ( ) { return '' as const ; } export function isMe ( tx , type ) { return tx . type === SIGN_TYPE . MATCHER_ORDERS && type === txType ; }