Skip to content

Commit

Permalink
Cleaned up js constants file (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
asselstine committed Jul 31, 2020
1 parent 5420e94 commit 28555f4
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions js/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,9 @@ function hash(string) {
}

module.exports = {
TOKEN_CONTROLLER_INTERFACE_HASH: hash('PoolTogetherV3/TokenControllerInterface'),

YIELD_SERVICE_INTERFACE_HASH: hash('PoolTogetherV3/YieldServiceInterface'),

TOKENS_SENDER_INTERFACE_HASH: hash('ERC777TokensSender'),

TOKENS_RECIPIENT_INTERFACE_HASH: hash('ERC777TokensRecipient'),

ACCEPT_MAGIC: hash('ERC1820_ACCEPT_MAGIC'),

TICKET_INTERFACE_HASH: hash('PoolTogetherV3/TicketInterface'),

INTEREST_TRACKER_INTERFACE_HASH: hash('PoolTogetherV3/InterestTrackerInterface'),

CREDIT_INTERFACE_HASH: hash('PoolTogetherV3/CreditInterface'),

SPONSORSHIP_INTERFACE_HASH: hash('PoolTogetherV3/SponsorshipInterface'),

TIMELOCK_INTERFACE_HASH: hash('PoolTogetherV3/TimelockInterface'),

PRIZE_POOL_INTERFACE_HASH: hash('PoolTogetherV3/PrizePoolInterface'),
ACCEPT_MAGIC: hash('ERC1820_ACCEPT_MAGIC')
}

0 comments on commit 28555f4

Please sign in to comment.