mirror of https://gitlab.com/ecentrics/drizzle
Ezerous
4 years ago
26 changed files with 158 additions and 115 deletions
@ -1,20 +0,0 @@ |
|||
import accountsReducer from './accounts/accountsReducer' |
|||
import accountBalancesReducer from './accountBalances/accountBalancesReducer' |
|||
import blocksReducer from './blocks/blocksReducer' |
|||
import contractsReducer from './contracts/contractsReducer' |
|||
import drizzleStatusReducer from './drizzleStatus/drizzleStatusReducer' |
|||
import transactionsReducer from './transactions/transactionsReducer' |
|||
import transactionStackReducer from './transactions/transactionStackReducer' |
|||
import web3Reducer from './web3/web3Reducer' |
|||
|
|||
// All our reducers
|
|||
export default { |
|||
accounts: accountsReducer, |
|||
accountBalances: accountBalancesReducer, |
|||
contracts: contractsReducer, |
|||
currentBlock: blocksReducer, |
|||
drizzleStatus: drizzleStatusReducer, |
|||
transactions: transactionsReducer, |
|||
transactionStack: transactionStackReducer, |
|||
web3: web3Reducer |
|||
} |
@ -0,0 +1,11 @@ |
|||
import drizzleMiddleware from '../drizzle/drizzleMiddleware' |
|||
import accountsMiddleware from '../accounts/accountsMiddleware' |
|||
import accountBalancesMiddleware from '../accountBalances/accountBalancesMiddleware' |
|||
import web3Middleware from '../web3/web3Middleware' |
|||
|
|||
export default [ |
|||
drizzleMiddleware, |
|||
accountsMiddleware, |
|||
accountBalancesMiddleware, |
|||
web3Middleware |
|||
] |
@ -0,0 +1,20 @@ |
|||
import accountsReducer from '../accounts/accountsReducer' |
|||
import accountBalancesReducer from '../accountBalances/accountBalancesReducer' |
|||
import blocksReducer from '../blocks/blocksReducer' |
|||
import contractsReducer from '../contracts/contractsReducer' |
|||
import drizzleStatusReducer from '../drizzle/drizzleStatusReducer' |
|||
import transactionsReducer from '../transactions/transactionsReducer' |
|||
import transactionStackReducer from '../transactions/transactionStackReducer' |
|||
import web3Reducer from '../web3/web3Reducer' |
|||
|
|||
// All our reducers
|
|||
export default { |
|||
accounts: accountsReducer, |
|||
accountBalances: accountBalancesReducer, |
|||
contracts: contractsReducer, |
|||
currentBlock: blocksReducer, |
|||
drizzleStatus: drizzleStatusReducer, |
|||
transactions: transactionsReducer, |
|||
transactionStack: transactionStackReducer, |
|||
web3: web3Reducer |
|||
} |
@ -0,0 +1,13 @@ |
|||
import accountBalancesSaga from '../accountBalances/accountBalancesSaga' |
|||
import blocksSaga from '../blocks/blocksSaga' |
|||
import contractsSaga from '../contracts/contractsSaga' |
|||
import drizzleStatusSaga from '../drizzle/drizzleStatusSaga' |
|||
import web3Saga from '../web3/web3Saga' |
|||
|
|||
export default [ |
|||
accountBalancesSaga, |
|||
blocksSaga, |
|||
contractsSaga, |
|||
drizzleStatusSaga, |
|||
web3Saga |
|||
] |
@ -1,11 +0,0 @@ |
|||
import accountBalancesSaga from './accountBalances/accountBalancesSaga' |
|||
import blocksSaga from './blocks/blocksSaga' |
|||
import contractsSaga from './contracts/contractsSaga' |
|||
import drizzleStatusSaga from './drizzleStatus/drizzleStatusSaga' |
|||
|
|||
export default [ |
|||
accountBalancesSaga, |
|||
blocksSaga, |
|||
contractsSaga, |
|||
drizzleStatusSaga |
|||
] |
Loading…
Reference in new issue