Skip to content

Commit

Permalink
rename stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
polymorpher committed Aug 10, 2022
1 parent 539de19 commit ab6981e
Show file tree
Hide file tree
Showing 28 changed files with 28 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
16 changes: 16 additions & 0 deletions miniwallet/src/config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { ethers } from 'ethers'
import 'dotenv/config'

export default {
initialOperatorThreshold: process.env.INITIAL_OPERATOR_THRESHOLD,
initialOperators: JSON.parse(process.env.INITIAL_OPERATORS || '[]'),
initialUserLimit: ethers.utils.parseEther(process.env.INIITIAL_USER_LIMIT || '1000000'),
initialAuthLimit: ethers.utils.parseEther(process.env.INIITIAL_AUTH_LIMIT || '100000'),

test: {
initialOperatorThreshold: process.env.TEST_INITIAL_OPERATOR_THRESHOLD,
initialOperators: JSON.parse(process.env.TEST_INITIAL_OPERATORS || '[]'),
initialUserLimit: ethers.utils.parseEther(process.env.TEST_INIITIAL_USER_LIMIT || '1000'),
initialAuthLimit: ethers.utils.parseEther(process.env.TEST_INIITIAL_AUTH_LIMIT || '100')
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions miniwallet/test/utilities/constants.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
export default {
TokenType: {
0: 'ERC20',
1: 'ERC721',
2: 'ERC1155',
3: 'NONE',
ERC20: 0,
ERC721: 1,
ERC1155: 2,
NONE: 3
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ab6981e

Please sign in to comment.