Skip to content

Commit

Permalink
Merge pull request #94 from shapeshift/fix/address-array
Browse files Browse the repository at this point in the history
  • Loading branch information
kaladinlight authored Nov 1, 2024
2 parents 231dacb + 3ef37be commit 647bb76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const ARBITRUM_RFOX_PROXY_CONTRACT_ADDRESS = '0xac2a4fd70bcd8bab0662960455c36373
const THORCHAIN_PRECISION = 8

type Revenue = {
address: string
addresses: string[]
amount: string
}

Expand Down
2 changes: 1 addition & 1 deletion cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const processEpoch = async () => {
const revenue = await client.getRevenue(metadata.epochStartTimestamp, metadata.epochEndTimestamp)

info(
`Total ${month} revenue earned by ${revenue.address}: ${BigNumber(revenue.amount).div(100000000).toFixed(8)} RUNE`,
`Total ${month} revenue earned by ${revenue.addresses}: ${BigNumber(revenue.amount).div(100000000).toFixed(8)} RUNE`,
)

info(`Share of total revenue to be distributed as rewards: ${metadata.distributionRate * 100}%`)
Expand Down

0 comments on commit 647bb76

Please sign in to comment.