forked from ProjectOpenSea/opensea-erc1155
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes in response to ProjectOpenSea/opensea-erc1155 pull request Proj…
…ectOpenSea#17 fedback.
- Loading branch information
Rob Myers
committed
May 6, 2020
1 parent
c2f4794
commit 02e1660
Showing
5 changed files
with
104 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* Useful aliases */ | ||
|
||
const toBN = web3.utils.toBN; | ||
|
||
|
||
const URI_BASE = 'https://opensea-creatures-api.herokuapp.com/api/'; | ||
const ADDRESS_ZERO = '0x0000000000000000000000000000000000000000'; | ||
const MAX_UINT256 = '0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF'; | ||
const MAX_UINT256_BN = toBN(MAX_UINT256); | ||
|
||
|
||
module.exports = { | ||
URI_BASE, | ||
ADDRESS_ZERO, | ||
MAX_UINT256, | ||
MAX_UINT256_BN | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.