All files / test/Reward/fixtures queries.ts

100% Statements 3/3
100% Branches 0/0
100% Functions 0/0
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 132x             2x       2x  
export const stakeAddress = `
  SELECT
    addr_id, stake_address.view as address, amount, earned_epoch as reward_epoch_no, NULL as treasury_tx_id
  FROM
    reward
  JOIN stake_address ON stake_address.id=reward.addr_id ORDER BY reward_epoch_no ASC LIMIT $1`;
 
const Queries = {
  stakeAddress
};
 
export default Queries;