Variables
ACCOUNT_CREATED
ACCOUNT_CREATED: "ACCOUNT_CREATED" = "ACCOUNT_CREATED"
ACCOUNT_NAMED
ACCOUNT_NAMED: "ACCOUNT_NAMED" = "ACCOUNT_NAMED"
ALL
ALL: string[] = [...STORE, ...FACTORY]
ES_CREATED
ES_CREATED: "ES_CREATED" = "ES_CREATED"
FACTORY
FACTORY: string[] = ['NEW_OWNER', 'RECYCLED_TO', 'ES_CREATED']
MAPPER_ENCODING
MAPPER_ENCODING: "I" = "I"
NEW_OWNER
NEW_OWNER: "NEW_OWNER" = "NEW_OWNER"
ProviderEngine
ProviderEngine: any = require('web3-provider-engine')
RECYCLED_TO
RECYCLED_TO: "RECYCLED_TO" = "RECYCLED_TO"
RPC_HOST
RPC_HOST: "http://localhost:8545" = "http://localhost:8545"
RpcSubprovider
RpcSubprovider: any = require('web3-provider-engine/subproviders/rpc.js')
STATE_REQUIRED_PROPS
STATE_REQUIRED_PROPS: string[] = ['contractAddress','readModelType','readModelStoreKey']
STORE
STORE: string[] = ['NEW_OWNER', 'RECYCLED_TO', 'WL_SET']
Storage
Storage: any = require('node-storage')
TransmuteCrypto
TransmuteCrypto: any = require('transmute-crypto')
TransmuteSolidityEncodingTypes
TransmuteSolidityEncodingTypes: string[] = ['S', 'A', 'B', 'U']
WL_SET
WL_SET: "WL_SET" = "WL_SET"
WRITE_EVENT_GAS_COST
WRITE_EVENT_GAS_COST: 4000000 = 4000000
WalletSubprovider
WalletSubprovider: any = require('web3-provider-engine/subproviders/wallet.js')
bs58
bs58: any = require('bs58')
db
db: any = new Storage('./read_model_storage')
ipfs
ipfs: any = ipfsAdapter.getStorage({...ipfsConfig})
ipfsAdapter
ipfsAdapter: any = require('transmute-adapter-ipfs')
jiff
jiff: any = require("jiff")
jsonLogic
jsonLogic: any = require("json-logic-js")
nodeStorageAdapter
nodeStorageAdapter: any = require('../../../transmute-adapter-node-storage')
nodeStorageDB
nodeStorageDB: any = nodeStorageAdapter.getStorage()
state
state: object = initialState
Type declaration
-
contractAddress: string
-
lastEvent: null
-
model: object
-
readModelStoreKey: string
-
readModelType: string
util
util: any = require('ethereumjs-util')
web3Utils
web3Utils: any = require('web3-utils')