Vortex

Index

Enumerations

Classes

Interfaces

Type aliases

Variables

Functions

Object literals


Type aliases

AccountActions

ΤAccountActions: * AccountAddAction | AccountRemoveAction | AccountUpdateAction | AccountErrorAction | AccountConfigAction *

Defined in accounts/accounts.actions.ts:77


AccountState

ΤAccountState: * AccountInfoState | AccountConfigState | AccountErrorState *

Defined in stateInterface.ts:147


BacklinkActions

ΤBacklinkActions: * BacklinkConnectAction | BacklinkConnectedAction | BacklinkErrorAction | BacklinkDisconnectAction | BacklinkDisconnectedAction | BacklinkDisableAction | BacklinkCreateHookAction | BacklinkRemoveHookAction | BacklinkNewBlockEventAction *

Defined in backlink/backlink.actions.ts:101


ContractActions

ΤContractActions: * ContractLoadingAction | ContractLoadedAction | ContractErrorAction | ContractCallAction | ContractSendAction | ContractVarReceivedAction | ContractVarErrorReceivedAction | ContractVarForceRefreshAction *

Defined in contracts/contracts.actions.ts:179


ContractCallAction

ΤContractCallAction: ContractSendAction

Defined in contracts/contracts.actions.ts:68


EventActions

ΤEventActions: * EventAddAction | EventInsertSubscriptionAction | EventRemoveAction *

Defined in event/event.actions.ts:65


FeedActions

ΤFeedActions: * FeedNewContractAction | FeedNewTransactionAction | FeedNewErrorAction | FeedNewAccountAction | FeedNewIPFSContentAction *

Defined in feed/feed.actions.ts:66


FeedState

ΤFeedState: * FeedNewContractState | FeedNewTransactionState | FeedNewErrorState | FeedNewAccountState | FeedNewIPFSContentState *

Defined in stateInterface.ts:132


IPFSActions

ΤIPFSActions: * IPFSLoadAction | IPFSLoadedAction | IPFSErrorAction | IPFSConnectAction *

Defined in ipfs/ipfs.actions.ts:51


TxActions

ΤTxActions: * TxBroadcastedAction | TxReceiptAction | TxConfirmedAction | TxErrorAction *

Defined in tx/tx.actions.ts:100


Web3Actions

ΤWeb3Actions: * Web3LoadAction | Web3LoadedAction | Web3LoadErrorAction | Web3NetworkErrorAction | Web3LockedAction | Web3BacklinkLoadedAction *

Defined in web3/web3.actions.ts:77


Web3State

ΤWeb3State: * Web3LoadingState | Web3LoadedState | Web3LoadErrorState | Web3NetworkErrorState | Web3LockedState *

Defined in stateInterface.ts:26


Variables

<Const> FeedFilterAccounts

● FeedFilterAccounts: * function & object * = createSelector(getFeed, (feed: FeedState[]): FeedState[] => { return feed.filter((elem: FeedState): boolean => !!((FeedTypeLinks[elem.action] ? FeedTypeLinks[elem.action] : -1) & FeedType.Accounts)) })

Defined in feed/feed.selectors.ts:34


<Const> FeedFilterContracts

● FeedFilterContracts: * function & object * = createSelector(getFeed, (feed: FeedState[]): FeedState[] => { return feed.filter((elem: FeedState): boolean => !!((FeedTypeLinks[elem.action] ? FeedTypeLinks[elem.action] : -1) & FeedType.Contracts)) })

Defined in feed/feed.selectors.ts:26


<Const> FeedFilterErrors

● FeedFilterErrors: * function & object * = createSelector(getFeed, (feed: FeedState[]): FeedState[] => { return feed.filter((elem: FeedState): boolean => !!((FeedTypeLinks[elem.action] ? FeedTypeLinks[elem.action] : -1) & FeedType.Errors)) })

Defined in feed/feed.selectors.ts:30


<Const> FeedFilterIPFSContent

● FeedFilterIPFSContent: * function & object * = createSelector(getFeed, (feed: FeedState[]): FeedState[] => { return feed.filter((elem: FeedState): boolean => !!((FeedTypeLinks[elem.action] ? FeedTypeLinks[elem.action] : -1) & FeedType.IPFSContent)) })

Defined in feed/feed.selectors.ts:38


<Const> FeedFilterTransactions

● FeedFilterTransactions: * function & object * = createSelector(getFeed, (feed: FeedState[]): FeedState[] => { return feed.filter((elem: FeedState): boolean => !!((FeedTypeLinks[elem.action] ? FeedTypeLinks[elem.action] : -1) & FeedType.Transactions)) })

Defined in feed/feed.selectors.ts:22


<Const> TransactionArgumentList

● TransactionArgumentList: string[] = [ "from", "to", "gas", "gasPrice", "value", "data", "nonce" ]

Defined in contracts/VortexContract.ts:7


<Const> accountFollowing

● accountFollowing: object

Defined in propMappers.ts:82

Type declaration


<Const> contractLoading

● contractLoading: object

Defined in propMappers.ts:14

Type declaration


<Const> eventFeedSelectors

● eventFeedSelectors: object

Defined in propMappers.ts:101

Type declaration


<Const> eventFeedSubscriptions

● eventFeedSubscriptions: object

Defined in propMappers.ts:102

Type declaration


<Const> feedSelectors

● feedSelectors: object

Defined in propMappers.ts:57

Type declaration


<Const> ipfsHashFetched

● ipfsHashFetched: object

Defined in propMappers.ts:134

Type declaration


<Let> running

● running: boolean = false

Defined in accounts/accounts.saga.ts:14


<Const> toLower

● toLower: string[] = [ "to", "from", "gas", "gasPrice", "value" ]

Defined in tx/tx.sagas.ts:17 Defined in contracts/contracts.saga.ts:31


window

● window: any

Defined in forge.ts:1


Functions

<Const> AccountAdd

AccountAdd(address: string, coinbase?: boolean): AccountAddAction

Defined in accounts/accounts.actions.ts:9

Parameters:

Param Type Default value
address string -
Default value coinbase boolean false

Returns: AccountAddAction


<Const> AccountConfig

AccountConfig(config: AccountConfigState): AccountConfigAction

Defined in accounts/accounts.actions.ts:59

Parameters:

Param Type
config AccountConfigState

Returns: AccountConfigAction


<Const> AccountConfigReducer

AccountConfigReducer(state: AccountStoreState, action: AccountConfigAction): AccountStoreState

Defined in accounts/accounts.reducers.ts:42

Parameters:

Param Type
state AccountStoreState
action AccountConfigAction

Returns: AccountStoreState


<Const> AccountError

AccountError(address: string, error: any): AccountErrorAction

Defined in accounts/accounts.actions.ts:48

Parameters:

Param Type
address string
error any

Returns: AccountErrorAction


<Const> AccountErrorReducer

AccountErrorReducer(state: AccountStoreState, action: AccountErrorAction): AccountStoreState

Defined in accounts/accounts.reducers.ts:55

Parameters:

Param Type
state AccountStoreState
action AccountErrorAction

Returns: AccountStoreState


<Const> AccountRemove

AccountRemove(address: string): AccountRemoveAction

Defined in accounts/accounts.actions.ts:21

Parameters:

Param Type
address string

Returns: AccountRemoveAction


<Const> AccountRemoveReducer

AccountRemoveReducer(state: AccountStoreState, action: AccountRemoveAction): AccountStoreState

Defined in accounts/accounts.reducers.ts:10

Parameters:

Param Type
state AccountStoreState
action AccountRemoveAction

Returns: AccountStoreState


AccountSagas

AccountSagas(): any

Defined in accounts/accounts.saga.ts:138

Returns: any


<Const> AccountUpdate

AccountUpdate(address: string, balance: string, coinbase?: boolean): AccountUpdateAction

Defined in accounts/accounts.actions.ts:34

Parameters:

Param Type Default value
address string -
balance string -
Default value coinbase boolean false

Returns: AccountUpdateAction


<Const> AccountUpdateReducer

AccountUpdateReducer(state: AccountStoreState, action: AccountUpdateAction): AccountStoreState

Defined in accounts/accounts.reducers.ts:17

Parameters:

Param Type
state AccountStoreState
action AccountUpdateAction

Returns: AccountStoreState


<Const> AccountUpdateRequest

AccountUpdateRequest(address: string): AccountUpdateRequestAction

Defined in accounts/accounts.actions.ts:70

Parameters:

Param Type
address string

Returns: AccountUpdateRequestAction


<Const> BacklinkConnect

BacklinkConnect(url: string): BacklinkConnectAction

Defined in backlink/backlink.actions.ts:7

Parameters:

Param Type
url string

Returns: BacklinkConnectAction


<Const> BacklinkConnected

BacklinkConnected(instance: any, url: string): BacklinkConnectedAction

Defined in backlink/backlink.actions.ts:19

Parameters:

Param Type
instance any
url string

Returns: BacklinkConnectedAction


<Const> BacklinkConnectedReducer

BacklinkConnectedReducer(state: BacklinkState, action: BacklinkConnectedAction): BacklinkState

Defined in backlink/backlink.reducers.ts:11

Parameters:

Param Type
state BacklinkState
action BacklinkConnectedAction

Returns: BacklinkState


<Const> BacklinkCreateHook

BacklinkCreateHook(address: string, from: boolean, to: boolean, trigger: function): BacklinkCreateHookAction

Defined in backlink/backlink.actions.ts:69

Parameters:

Param Type
address string
from boolean
to boolean
trigger function

Returns: BacklinkCreateHookAction


<Const> BacklinkCreateHookReducer

BacklinkCreateHookReducer(state: BacklinkState, action: BacklinkCreateHookAction): BacklinkState

Defined in backlink/backlink.reducers.ts:45

Parameters:

Param Type
state BacklinkState
action BacklinkCreateHookAction

Returns: BacklinkState


<Const> BacklinkDisable

BacklinkDisable(): BacklinkDisableAction

Defined in backlink/backlink.actions.ts:56

Returns: BacklinkDisableAction


<Const> BacklinkDisableReducer

BacklinkDisableReducer(state: BacklinkState, action: BacklinkDisableAction): BacklinkState

Defined in backlink/backlink.reducers.ts:37

Parameters:

Param Type
state BacklinkState
action BacklinkDisableAction

Returns: BacklinkState


<Const> BacklinkDisconnect

BacklinkDisconnect(): BacklinkDisconnectAction

Defined in backlink/backlink.actions.ts:40

Returns: BacklinkDisconnectAction


<Const> BacklinkDisconnected

BacklinkDisconnected(): BacklinkDisconnectedAction

Defined in backlink/backlink.actions.ts:48

Returns: BacklinkDisconnectedAction


<Const> BacklinkDisconnectedReducer

BacklinkDisconnectedReducer(state: BacklinkState, action: BacklinkErrorAction): BacklinkState

Defined in backlink/backlink.reducers.ts:29

Parameters:

Param Type
state BacklinkState
action BacklinkErrorAction

Returns: BacklinkState


<Const> BacklinkError

BacklinkError(error: any): BacklinkErrorAction

Defined in backlink/backlink.actions.ts:31

Parameters:

Param Type
error any

Returns: BacklinkErrorAction


<Const> BacklinkErrorReducer

BacklinkErrorReducer(state: BacklinkState, action: BacklinkErrorAction): BacklinkState

Defined in backlink/backlink.reducers.ts:20

Parameters:

Param Type
state BacklinkState
action BacklinkErrorAction

Returns: BacklinkState


<Const> BacklinkNewBlockEvent

BacklinkNewBlockEvent(block: any): BacklinkNewBlockEventAction

Defined in backlink/backlink.actions.ts:94

Parameters:

Param Type
block any

Returns: BacklinkNewBlockEventAction


<Const> BacklinkRemoveHook

BacklinkRemoveHook(address: string): BacklinkRemoveHookAction

Defined in backlink/backlink.actions.ts:83

Parameters:

Param Type
address string

Returns: BacklinkRemoveHookAction


<Const> BacklinkRemoveHookReducer

BacklinkRemoveHookReducer(state: BacklinkState, action: BacklinkRemoveHookAction): BacklinkState

Defined in backlink/backlink.reducers.ts:66

Parameters:

Param Type
state BacklinkState
action BacklinkRemoveHookAction

Returns: BacklinkState


BacklinkSagas

BacklinkSagas(dispatch: function): any

Defined in backlink/backlink.sagas.ts:186

Parameters:

Param Type
dispatch function

Returns: any


ContractCall

ContractCall(contractName: string, contractAddress: string, methodName: string, transactionArgs: TransactionArgumentState, resolvers: any, ...methodArgs: any[]): ContractCallAction

Defined in contracts/contracts.actions.ts:70

Parameters:

Param Type
contractName string
contractAddress string
methodName string
transactionArgs TransactionArgumentState
resolvers any
Rest methodArgs any[]

Returns: ContractCallAction


ContractCompleteRefresh

ContractCompleteRefresh(contract_name: string, contract_address: string): ContractCompleteRefreshAction

Defined in contracts/contracts.actions.ts:171

Parameters:

Param Type
contract_name string
contract_address string

Returns: ContractCompleteRefreshAction


ContractError

ContractError(contractName: string, contractAddress: string, error: any): ContractErrorAction

Defined in contracts/contracts.actions.ts:38

Parameters:

Param Type
contractName string
contractAddress string
error any

Returns: ContractErrorAction


ContractLoad

ContractLoad(contractName: string, contractAddress: string): ContractLoadAction

Defined in contracts/contracts.actions.ts:142

Parameters:

Param Type
contractName string
contractAddress string

Returns: ContractLoadAction


ContractLoaded

ContractLoaded(contractName: string, contractAddress: string, contractInstance: any): ContractLoadedAction

Defined in contracts/contracts.actions.ts:23

Parameters:

Param Type
contractName string
contractAddress string
contractInstance any

Returns: ContractLoadedAction


ContractLoading

ContractLoading(contractName: string, contractAddress: string): ContractLoadingAction

Defined in contracts/contracts.actions.ts:9

Parameters:

Param Type
contractName string
contractAddress string

Returns: ContractLoadingAction


ContractPreloadDone

ContractPreloadDone(recap: ContractLoadInfos[]): ContractPreloadDoneAction

Defined in contracts/contracts.actions.ts:159

Parameters:

Param Type
recap ContractLoadInfos[]

Returns: ContractPreloadDoneAction


ContractSagas

ContractSagas(dispatch: function): any

Defined in contracts/contracts.saga.ts:345

Parameters:

Param Type
dispatch function

Returns: any


ContractSend

ContractSend(contractName: string, contractAddress: string, methodName: string, transactionArgs: TransactionArgumentState, resolvers: any, ...methodArgs: any[]): ContractSendAction

Defined in contracts/contracts.actions.ts:56

Parameters:

Param Type
contractName string
contractAddress string
methodName string
transactionArgs TransactionArgumentState
resolvers any
Rest methodArgs any[]

Returns: ContractSendAction


ContractVarErrorReceived

ContractVarErrorReceived(contractName: string, contractAddress: string, methodName: string, methodHash: string, error: any): ContractVarErrorReceivedAction

Defined in contracts/contracts.actions.ts:109

Parameters:

Param Type
contractName string
contractAddress string
methodName string
methodHash string
error any

Returns: ContractVarErrorReceivedAction


ContractVarForceRefresh

ContractVarForceRefresh(contractName: string, contractAddress: string, methodName: string, methodHash: string): ContractVarForceRefreshAction

Defined in contracts/contracts.actions.ts:127

Parameters:

Param Type
contractName string
contractAddress string
methodName string
methodHash string

Returns: ContractVarForceRefreshAction


ContractVarReceived

ContractVarReceived(contractName: string, contractAddress: string, methodName: string, methodHash: string, result: any): ContractVarReceivedAction

Defined in contracts/contracts.actions.ts:90

Parameters:

Param Type
contractName string
contractAddress string
methodName string
methodHash string
result any

Returns: ContractVarReceivedAction


<Const> EventAdd

EventAdd(contract_name: string, contract_address: string, event_name: string, args: string[]): EventAddAction

Defined in event/event.actions.ts:10

Parameters:

Param Type
contract_name string
contract_address string
event_name string
args string[]

Returns: EventAddAction


<Const> EventBroadcasted

EventBroadcasted(event_name: string, contract_name: string, contract_address: string, args: any): EventBroadcastedAction

Defined in event/event.actions.ts:55

Parameters:

Param Type
event_name string
contract_name string
contract_address string
args any

Returns: EventBroadcastedAction


<Const> EventBroadcastedReducer

EventBroadcastedReducer(state: EventState, action: EventBroadcastedAction): EventState

Defined in event/event.reducers.ts:26

Parameters:

Param Type
state EventState
action EventBroadcastedAction

Returns: EventState


<Const> EventFilter

EventFilter(options?: EventFilterConfig): OutputSelector<State, EventFeedElementState[], function>

Defined in event/event.selectors.ts:12

Parameters:

Param Type
Optional options EventFilterConfig

Returns: OutputSelector<State, EventFeedElementState[], function>


<Const> EventInsertSubscription

EventInsertSubscription(name: string, subscription: any): EventInsertSubscriptionAction

Defined in event/event.actions.ts:25

Parameters:

Param Type
name string
subscription any

Returns: EventInsertSubscriptionAction


<Const> EventInsertSubscriptionReducer

EventInsertSubscriptionReducer(state: EventState, action: EventInsertSubscriptionAction): EventState

Defined in event/event.reducers.ts:5

Parameters:

Param Type
state EventState
action EventInsertSubscriptionAction

Returns: EventState


<Const> EventRemove

EventRemove(contract_name: string, contract_address: string, event_name: string): EventRemoveAction

Defined in event/event.actions.ts:39

Parameters:

Param Type
contract_name string
contract_address string
event_name string

Returns: EventRemoveAction


<Const> EventRemoveReducer

EventRemoveReducer(state: EventState, action: EventRemoveAction): EventState

Defined in event/event.reducers.ts:15

Parameters:

Param Type
state EventState
action EventRemoveAction

Returns: EventState


EventSagas

EventSagas(): any

Defined in event/event.sagas.ts:87

Returns: any


<Const> FeedFilter

FeedFilter(type: FeedType): any

Defined in feed/feed.selectors.ts:42

Parameters:

Param Type
type FeedType

Returns: any


FeedNewAccount

FeedNewAccount(account: string, coinbase: boolean): FeedNewAccountAction

Defined in feed/feed.actions.ts:47

Parameters:

Param Type
account string
coinbase boolean

Returns: FeedNewAccountAction


FeedNewContract

FeedNewContract(contractName: string, address: string): FeedNewContractAction

Defined in feed/feed.actions.ts:19

Parameters:

Param Type
contractName string
address string

Returns: FeedNewContractAction


FeedNewError

FeedNewError(reason: any, message: string, when: string): FeedNewErrorAction

Defined in feed/feed.actions.ts:33

Parameters:

Param Type
reason any
message string
when string

Returns: FeedNewErrorAction


FeedNewIPFSContent

FeedNewIPFSContent(ipfs_hash: string): FeedNewIPFSContentAction

Defined in feed/feed.actions.ts:59

Parameters:

Param Type
ipfs_hash string

Returns: FeedNewIPFSContentAction


FeedNewTransaction

FeedNewTransaction(txHash: string): FeedNewTransactionAction

Defined in feed/feed.actions.ts:7

Parameters:

Param Type
txHash string

Returns: FeedNewTransactionAction


IPFSConnect

IPFSConnect(instance: any): IPFSConnectAction

Defined in ipfs/ipfs.actions.ts:44

Parameters:

Param Type
instance any

Returns: IPFSConnectAction


<Const> IPFSConnectReducer

IPFSConnectReducer(state: IPFSStoreState, action: IPFSConnectAction): IPFSStoreState

Defined in ipfs/ipfs.reducers.ts:23

Parameters:

Param Type
state IPFSStoreState
action IPFSConnectAction

Returns: IPFSStoreState


IPFSError

IPFSError(hash: string, reason: any): IPFSErrorAction

Defined in ipfs/ipfs.actions.ts:32

Parameters:

Param Type
hash string
reason any

Returns: IPFSErrorAction


<Const> IPFSErrorReducer

IPFSErrorReducer(state: IPFSStoreState, action: IPFSErrorAction): IPFSStoreState

Defined in ipfs/ipfs.reducers.ts:14

Parameters:

Param Type
state IPFSStoreState
action IPFSErrorAction

Returns: IPFSStoreState


IPFSFetchData

IPFSFetchData(action: IPFSLoadAction): SagaIterator

Defined in ipfs/ipfs.saga.ts:9

Parameters:

Param Type
action IPFSLoadAction

Returns: SagaIterator


IPFSLoad

IPFSLoad(hash: string): IPFSLoadAction

Defined in ipfs/ipfs.actions.ts:7

Parameters:

Param Type
hash string

Returns: IPFSLoadAction


IPFSLoaded

IPFSLoaded(hash: string, content: any): IPFSLoadedAction

Defined in ipfs/ipfs.actions.ts:19

Parameters:

Param Type
hash string
content any

Returns: IPFSLoadedAction


<Const> IPFSLoadedReducer

IPFSLoadedReducer(state: IPFSStoreState, action: IPFSLoadedAction): IPFSStoreState

Defined in ipfs/ipfs.reducers.ts:5

Parameters:

Param Type
state IPFSStoreState
action IPFSLoadedAction

Returns: IPFSStoreState


IPFSSagas

IPFSSagas(): any

Defined in ipfs/ipfs.saga.ts:72

Returns: any


TxBroadcasted

TxBroadcasted(txHash: string, txArgs: * TransactionArgumentState | RawTransactionArgumentState*): TxBroadcastedAction

Defined in tx/tx.actions.ts:39

Parameters:

Param Type
txHash string
txArgs TransactionArgumentState | RawTransactionArgumentState

Returns: TxBroadcastedAction


TxConfirmed

TxConfirmed(txHash: string, confirmationReceipt: any, confirmationCount: number): TxConfirmedAction

Defined in tx/tx.actions.ts:78

Parameters:

Param Type
txHash string
confirmationReceipt any
confirmationCount number

Returns: TxConfirmedAction


TxError

TxError(txHash: string, error: any): TxErrorAction

Defined in tx/tx.actions.ts:92

Parameters:

Param Type
txHash string
error any

Returns: TxErrorAction


TxReceipt

TxReceipt(txHash: string, receipt: any, txArgs: TxReceiptTxArgs): TxReceiptAction

Defined in tx/tx.actions.ts:63

Parameters:

Param Type
txHash string
receipt any
txArgs TxReceiptTxArgs

Returns: TxReceiptAction


TxSagas

TxSagas(): any

Defined in tx/tx.sagas.ts:209

Returns: any


TxSend

TxSend(txArgs: TransactionArgumentState, web3: any, resolvers: any): TxSendAction

Defined in tx/tx.actions.ts:25

Parameters:

Param Type
txArgs TransactionArgumentState
web3 any
resolvers any

Returns: TxSendAction


TxSendRaw

TxSendRaw(signedTx: string, web3: any, resolvers: any): TxSendRawAction

Defined in tx/tx.actions.ts:10

Parameters:

Param Type
signedTx string
web3 any
resolvers any

Returns: TxSendRawAction


Web3BacklinkLoaded

Web3BacklinkLoaded(_: any, networkId: * number | string, coinbase: string*): Web3BacklinkLoadedAction

Defined in web3/web3.actions.ts:37

Parameters:

Param Type
_ any
networkId number | string
coinbase string

Returns: Web3BacklinkLoadedAction


Web3Load

Web3Load(loader: Promise<any>, networks: number[]): Web3LoadAction

Defined in web3/web3.actions.ts:8

Parameters:

Param Type
loader Promise<any>
networks number[]

Returns: Web3LoadAction


Web3LoadError

Web3LoadError(error: any): Web3LoadErrorAction

Defined in web3/web3.actions.ts:50

Parameters:

Param Type
error any

Returns: Web3LoadErrorAction


Web3Loaded

Web3Loaded(_: any, networkId: * number | string, coinbase: string*): Web3LoadedAction

Defined in web3/web3.actions.ts:22

Parameters:

Param Type
_ any
networkId number | string
coinbase string

Returns: Web3LoadedAction


Web3Locked

Web3Locked(): Web3LockedAction

Defined in web3/web3.actions.ts:71

Returns: Web3LockedAction


Web3NetworkError

Web3NetworkError(networkId: * number | string*): Web3NetworkErrorAction

Defined in web3/web3.actions.ts:61

Parameters:

Param Type
networkId number | string

Returns: Web3NetworkErrorAction


Web3Sagas

Web3Sagas(): any

Defined in web3/web3.sagas.ts:119

Returns: any


<Const> accounts

accounts(state?: AccountStoreState, action: AccountActions): AccountStoreState

Defined in accounts/accounts.reducers.ts:77

Parameters:

Param Type Default value
Default value state AccountStoreState {} as AccountStoreState
action AccountActions -

Returns: AccountStoreState


backgroundContractLoad

backgroundContractLoad(): SagaIterator

Defined in contracts/contracts.saga.ts:62

Returns: SagaIterator


backlink(state?: BacklinkState, action: BacklinkActions): BacklinkState

Defined in backlink/backlink.reducers.ts:76

Parameters:

Param Type Default value
Default value state BacklinkState {status: 'DISABLED'} as BacklinkState
action BacklinkActions -

Returns: BacklinkState


<Const> callContract

callContract(instance: any, method_name: string, ...args: any[]): any

Defined in propMappers.ts:47

Return the value of the constant call. Chain it with getContract for safety.

Parameters:

Param Type Description
instance any Instance of contract, recoverable with getContract.
method_name string Name of constant method.
Rest args any[] Arguments for the constant call (including transaction arguments).

Returns: any Returns undefined until everything is loaded.


callResolveWeb3

callResolveWeb3(action: Web3LoadAction): SagaIterator

Defined in web3/web3.sagas.ts:107

Parameters:

Param Type
action Web3LoadAction

Returns: SagaIterator


callSendRawTransaction

callSendRawTransaction(action: TxSendRawAction): SagaIterator

Defined in tx/tx.sagas.ts:198

Parameters:

Param Type
action TxSendRawAction

Returns: SagaIterator


callSendTransaction

callSendTransaction(action: TxSendAction): SagaIterator

Defined in tx/tx.sagas.ts:105

Parameters:

Param Type
action TxSendAction

Returns: SagaIterator


<Const> compareBytecode

compareBytecode(address: string, bytecode: string, web3: any): Promise<boolean>

Defined in contracts/contracts.saga.ts:102

Parameters:

Param Type
address string
bytecode string
web3 any

Returns: Promise<boolean>


contractCall

contractCall(action: ContractCallAction, tx: any, arg_signature: string): SagaIterator

Defined in contracts/contracts.saga.ts:198

Parameters:

Param Type
action ContractCallAction
tx any
arg_signature string

Returns: SagaIterator


<Const> contractErrorReducer

contractErrorReducer(state: ContractStoreState, action: ContractErrorAction): ContractStoreState

Defined in contracts/contracts.reducers.ts:43

Parameters:

Param Type
state ContractStoreState
action ContractErrorAction

Returns: ContractStoreState


<Const> contractLoadedReducer

contractLoadedReducer(state: ContractStoreState, action: ContractLoadedAction): ContractStoreState

Defined in contracts/contracts.reducers.ts:28

Parameters:

Param Type
state ContractStoreState
action ContractLoadedAction

Returns: ContractStoreState


<Const> contractLoadingReducer

contractLoadingReducer(state: ContractStoreState, action: ContractLoadingAction): ContractStoreState

Defined in contracts/contracts.reducers.ts:13

Parameters:

Param Type
state ContractStoreState
action ContractLoadingAction

Returns: ContractStoreState


contractSend

contractSend(action: ContractSendAction, tx: any, web3: any): SagaIterator

Defined in contracts/contracts.saga.ts:237

Parameters:

Param Type
action ContractSendAction
tx any
web3 any

Returns: SagaIterator


<Const> contractVarErrorReceivedReducer

contractVarErrorReceivedReducer(state: ContractStoreState, action: ContractVarErrorReceivedAction): ContractStoreState

Defined in contracts/contracts.reducers.ts:85

Parameters:

Param Type
state ContractStoreState
action ContractVarErrorReceivedAction

Returns: ContractStoreState


<Const> contractVarForceRefreshReducer

contractVarForceRefreshReducer(state: ContractStoreState, action: ContractVarForceRefreshAction): ContractStoreState

Defined in contracts/contracts.reducers.ts:113

Parameters:

Param Type
state ContractStoreState
action ContractVarForceRefreshAction

Returns: ContractStoreState


<Const> contractVarReceivedReducer

contractVarReceivedReducer(state: ContractStoreState, action: ContractVarReceivedAction): ContractStoreState

Defined in contracts/contracts.reducers.ts:57

Parameters:

Param Type
state ContractStoreState
action ContractVarReceivedAction

Returns: ContractStoreState


<Const> contracts

contracts(state?: ContractStoreState, action: ContractActions): ContractStoreState

Defined in contracts/contracts.reducers.ts:141

Parameters:

Param Type Default value
Default value state ContractStoreState {}
action ContractActions -

Returns: ContractStoreState


createSubscription

createSubscription(contract_address: string, contract_name: string, event_name: string, args: string[], event_signature: string, link: any): SagaIterator

Defined in event/event.sagas.ts:7

Parameters:

Param Type
contract_address string
contract_name string
event_name string
args string[]
event_signature string
link any

Returns: SagaIterator


<Const> event

event(state?: EventState, action: EventActions): EventState

Defined in event/event.reducers.ts:41

Parameters:

Param Type Default value
Default value state EventState {event_feed: [], subscriptions: {}}
action EventActions -

Returns: EventState


<Const> feed

feed(state?: FeedState[], action: FeedActions): FeedState[]

Defined in feed/feed.reducers.ts:11

Parameters:

Param Type Default value
Default value state FeedState[] [] as FeedState[]
action FeedActions -

Returns: FeedState[]


fetchAccount

fetchAccount(address: string, coinbase: boolean, emit: function): Promise<void>

Defined in accounts/accounts.saga.ts:16

Parameters:

Param Type
address string
coinbase boolean
emit function

Returns: Promise<void>


fetchBlockCallTriggers

fetchBlockCallTriggers(height: number, dispatch: function): SagaIterator

Defined in backlink/backlink.sagas.ts:153

Parameters:

Param Type
height number
dispatch function

Returns: SagaIterator


forge

forgeT(contracts: * EmbarkContracts | TruffleContracts | ManualContracts, config?: GeneratorConfig<T>*): Store

Defined in forge.ts:78

Type parameters:

T : State

Parameters:

Param Type Default value
contracts EmbarkContracts | TruffleContracts | ManualContracts -
Default value config GeneratorConfig<T> undefined

Returns: Store


<Const> getAccount

getAccount(state: State, address: string, follow?: boolean): AccountInfoState | AccountErrorState

Defined in propMappers.ts:92

Returns the informations about an account. Subscribe to the account if not already in store.

Parameters:

Param Type Description
state State The global store state.
address string Account to follow.
Optional follow boolean Wether to follow if not found or not.

Returns: AccountInfoState | AccountErrorState

Returns undefined until information is fetched.


<Const> getContract

getContract(state: State, contract_name: string, contract_address: string, load?: boolean): any

Defined in propMappers.ts:25

Returns the requested contract instance. Will try to load it if not present in the store.

Parameters:

Param Type Description
state State The global store state.
contract_name string Name of the contract to load.
contract_address string Address of the contract to load.
Optional load boolean Wether to load to contract or not if not found in store.

Returns: any Returns undefined until the contract instance is found.


<Const> getEventFeed

getEventFeed(state: State): EventFeedElementState[]

Defined in event/event.selectors.ts:4

Parameters:

Param Type
state State

Returns: EventFeedElementState[]


<Const> getEvents

getEvents(state: State, config?: EventFilterConfig, subscribe?: boolean, ...subscribe_args: any[]): EventFeedElementState[]

Defined in propMappers.ts:113

Returns an array of EventFeedElementState depending on given configuration.

Parameters:

Param Type Description
state State The global store state.
Optional config EventFilterConfig Event configuration.
Optional subscribe boolean If this argument is given, and all fields in config are given, will subscribe to the event.
Rest subscribe_args any[] Useful only if subscribe is true.

Returns: EventFeedElementState[] An array of {@link EventFeedElementState}


<Const> getFeed

getFeed(state: State): FeedState[]

getFeed(state: State, ...filter: FeedType[]): FeedState[]

Defined in feed/feed.selectors.ts:4

Parameters:

Param Type
state State

Returns: FeedState[]

Defined in propMappers.ts:67

Parameters:

Param Type
state State
Rest filter FeedType[]

Returns: FeedState[]


<Const> getIPFSHash

getIPFSHash(state: State, hash: string): IPFSContentState | IPFSErrorState

Defined in propMappers.ts:143

Returns fetched IPFS hash. Will fetch it if not already in store.

Parameters:

Param Type Description
state State The global store state.
hash string IPFS Hash to fetch.

Returns: IPFSContentState | IPFSErrorState


initializeRequest

initializeRequest(action: Web3LoadedAction): SagaIterator

Defined in ipfs/ipfs.saga.ts:58

Parameters:

Param Type
action Web3LoadedAction

Returns: SagaIterator


<Const> ipfs

ipfs(state?: IPFSStoreState, action: IPFSActions): IPFSStoreState

Defined in ipfs/ipfs.reducers.ts:34

Parameters:

Param Type Default value
Default value state IPFSStoreState {}
action IPFSActions -

Returns: IPFSStoreState


loadContract

loadContract(contractName: string, contractAddress: string, userAddress: string, web3: any): SagaIterator

Defined in contracts/contracts.saga.ts:76

Parameters:

Param Type
contractName string
contractAddress string
userAddress string
web3 any

Returns: SagaIterator


loopOnAccounts

loopOnAccounts(emit: function): Promise<void>

Defined in accounts/accounts.saga.ts:27

Parameters:

Param Type
emit function

Returns: Promise<void>


onAccountAdd

onAccountAdd(action: AccountAddAction): SagaIterator

Defined in accounts/accounts.saga.ts:111

Parameters:

Param Type
action AccountAddAction

Returns: SagaIterator


onAccountInit

onAccountInit(): SagaIterator

Defined in accounts/accounts.saga.ts:70

Returns: SagaIterator


onBacklinkInit

onBacklinkInit(action: Web3LoadedAction): SagaIterator

Defined in backlink/backlink.sagas.ts:67

Parameters:

Param Type
action Web3LoadedAction

Returns: SagaIterator


onContractCall

onContractCall(action: ContractCallAction): SagaIterator

Defined in contracts/contracts.saga.ts:218

Parameters:

Param Type
action ContractCallAction

Returns: SagaIterator


onContractCompleteRefresh

onContractCompleteRefresh(dispatch: function, action: ContractCompleteRefreshAction): SagaIterator

Defined in contracts/contracts.saga.ts:340

Parameters:

Param Type
dispatch function
action ContractCompleteRefreshAction

Returns: SagaIterator


onContractLoad

onContractLoad(action: ContractLoadAction): SagaIterator

Defined in contracts/contracts.saga.ts:335

Parameters:

Param Type
action ContractLoadAction

Returns: SagaIterator


onContractSend

onContractSend(action: ContractSendAction): SagaIterator

Defined in contracts/contracts.saga.ts:319

Parameters:

Param Type
action ContractSendAction

Returns: SagaIterator


onEventAdd

onEventAdd(action: EventAddAction): SagaIterator

Defined in event/event.sagas.ts:50

Parameters:

Param Type
action EventAddAction

Returns: SagaIterator


onLoadContractInitialize

onLoadContractInitialize(action: Web3LoadedAction): SagaIterator

Defined in contracts/contracts.saga.ts:114

Parameters:

Param Type
action Web3LoadedAction

Returns: SagaIterator


onLoadRequest

onLoadRequest(action: IPFSLoadAction): SagaIterator

Defined in ipfs/ipfs.saga.ts:31

Parameters:

Param Type
action IPFSLoadAction

Returns: SagaIterator


onNewAccount

onNewAccount(action: AccountAddAction): SagaIterator

Defined in backlink/backlink.sagas.ts:99

Parameters:

Param Type
action AccountAddAction

Returns: SagaIterator


onNewBlock

onNewBlock(dispatch: function, action: BacklinkNewBlockEventAction): SagaIterator

Defined in backlink/backlink.sagas.ts:168

Parameters:

Param Type
dispatch function
action BacklinkNewBlockEventAction

Returns: SagaIterator


onNewContract

onNewContract(action: ContractLoadedAction): SagaIterator

Defined in backlink/backlink.sagas.ts:93

Parameters:

Param Type
action ContractLoadedAction

Returns: SagaIterator


onUpdateRequest

onUpdateRequest(action: AccountUpdateRequestAction): SagaIterator

Defined in accounts/accounts.saga.ts:123

Parameters:

Param Type
action AccountUpdateRequestAction

Returns: SagaIterator


recursiveBackwardFetcher

recursiveBackwardFetcher(web3: any, block: any, height: number, depth: number, emit: function, hooks: BacklinkHookState, dispatch: function): void

Defined in backlink/backlink.sagas.ts:105

Parameters:

Param Type
web3 any
block any
height number
depth number
emit function
hooks BacklinkHookState
dispatch function

Returns: void


refreshLoop

refreshLoop(): SagaIterator

Defined in accounts/accounts.saga.ts:53

Returns: SagaIterator


resolveWeb3

resolveWeb3(action: Web3LoadAction): SagaIterator

Defined in web3/web3.sagas.ts:15

Parameters:

Param Type
action Web3LoadAction

Returns: SagaIterator


<Const> rootSagaBuilder

rootSagaBuilder(...customSagas: any[]): any

Defined in sagas.ts:10

Parameters:

Param Type
Rest customSagas any[]

Returns: any


runForceRefreshRound

runForceRefreshRound(state: State, emit: function): void

Defined in contracts/contracts.saga.ts:52

Parameters:

Param Type
state State
emit function

Returns: void


runForceRefreshRoundOn

runForceRefreshRoundOn(state: State, emit: function, contractName: string, instance_address: string): void

Defined in contracts/contracts.saga.ts:39

Parameters:

Param Type
state State
emit function
contractName string
instance_address string

Returns: void


sendRawTransaction

sendRawTransaction(action: TxSendRawAction): SagaIterator

Defined in tx/tx.sagas.ts:117

Parameters:

Param Type
action TxSendRawAction

Returns: SagaIterator


sendTransaction

sendTransaction(action: TxSendAction): SagaIterator

Defined in tx/tx.sagas.ts:25

Parameters:

Param Type
action TxSendAction

Returns: SagaIterator


singleFetch

singleFetch(action: AccountAddAction, new_address: boolean, coinbase: boolean): SagaIterator

Defined in accounts/accounts.saga.ts:90

Parameters:

Param Type
action AccountAddAction
new_address boolean
coinbase boolean

Returns: SagaIterator


<Const> tx

tx(state?: TransactionStoreState, action: TxActions): TransactionStoreState

Defined in tx/tx.reducers.ts:8

Parameters:

Param Type Default value
Default value state TransactionStoreState {} as TransactionStoreState
action TxActions -

Returns: TransactionStoreState


updateManager

updateManager(action: Web3LoadedAction, backlink: BacklinkState): SagaIterator

Defined in backlink/backlink.sagas.ts:23

Parameters:

Param Type
action Web3LoadedAction
backlink BacklinkState

Returns: SagaIterator


<Const> web3

web3(state?: Web3State, action: Web3Actions): Web3LoadingState | Web3LoadedState | Web3LoadErrorState | Web3NetworkErrorState | Web3LockedState

Defined in web3/web3.reducers.ts:12

Parameters:

Param Type Default value
Default value state Web3State {status: 'LOADING'}
action Web3Actions -

Returns: Web3LoadingState | Web3LoadedState | Web3LoadErrorState | Web3NetworkErrorState | Web3LockedState


Object literals

FeedTypeLinks: object

Defined in feed/feed.selectors.ts:14

NEW_ACCOUNT

● NEW_ACCOUNT: number = 8

Defined in feed/feed.selectors.ts:18


NEW_CONTRACT

● NEW_CONTRACT: number = 2

Defined in feed/feed.selectors.ts:16


NEW_ERROR

● NEW_ERROR: number = 4

Defined in feed/feed.selectors.ts:17


NEW_IPFS_CONTENT

● NEW_IPFS_CONTENT: number = 16

Defined in feed/feed.selectors.ts:19


NEW_TRANSACTION

● NEW_TRANSACTION: number = 1

Defined in feed/feed.selectors.ts:15



<Const> dummyReducer

dummyReducer: object

Defined in dummyReducer.ts:14

accounts

● accounts: function = {} as Reducer

Defined in dummyReducer.ts:19

Type declaration

▸(state: * S | undefined, action: A*): S

Parameters:

Param Type
state S | undefined
action A

Returns: S


● backlink: function = {} as Reducer

Defined in dummyReducer.ts:21

Type declaration

▸(state: * S | undefined, action: A*): S

Parameters:

Param Type
state S | undefined
action A

Returns: S


contracts

● contracts: function = {} as Reducer

Defined in dummyReducer.ts:17

Type declaration

▸(state: * S | undefined, action: A*): S

Parameters:

Param Type
state S | undefined
action A

Returns: S


event

● event: function = {} as Reducer

Defined in dummyReducer.ts:22

Type declaration

▸(state: * S | undefined, action: A*): S

Parameters:

Param Type
state S | undefined
action A

Returns: S


feed

● feed: function = {} as Reducer

Defined in dummyReducer.ts:18

Type declaration

▸(state: * S | undefined, action: A*): S

Parameters:

Param Type
state S | undefined
action A

Returns: S


ipfs

● ipfs: function = {} as Reducer

Defined in dummyReducer.ts:20

Type declaration

▸(state: * S | undefined, action: A*): S

Parameters:

Param Type
state S | undefined
action A

Returns: S


tx

● tx: function = {} as Reducer

Defined in dummyReducer.ts:16

Type declaration

▸(state: * S | undefined, action: A*): S

Parameters:

Param Type
state S | undefined
action A

Returns: S


web3

● web3: function = {} as Reducer

Defined in dummyReducer.ts:15

Type declaration

▸(state: * S | undefined, action: A*): S

Parameters:

Param Type
state S | undefined
action A

Returns: S



<Const> networkNames

networkNames: object

Defined in backlink/backlink.sagas.ts:16

1

● 1: string = "mainnet"

Defined in backlink/backlink.sagas.ts:17


3

● 3: string = "ropsten"

Defined in backlink/backlink.sagas.ts:18


4

● 4: string = "rinkeby"

Defined in backlink/backlink.sagas.ts:20


42

● 42: string = "kovan"

Defined in backlink/backlink.sagas.ts:19



<Const> reducers

reducers: object

Defined in reducers.ts:12

accounts

● accounts: function

Defined in reducers.ts:17

Type declaration

▸(state: * S | undefined, action: A*): S

Parameters:

Param Type
state S | undefined
action A

Returns: S


● backlink: function

Defined in reducers.ts:19

Type declaration

▸(state: * S | undefined, action: A*): S

Parameters:

Param Type
state S | undefined
action A

Returns: S


contracts

● contracts: function

Defined in reducers.ts:15

Type declaration

▸(state: * S | undefined, action: A*): S

Parameters:

Param Type
state S | undefined
action A

Returns: S


event

● event: function

Defined in reducers.ts:20

Type declaration

▸(state: * S | undefined, action: A*): S

Parameters:

Param Type
state S | undefined
action A

Returns: S


feed

● feed: function

Defined in reducers.ts:16

Type declaration

▸(state: * S | undefined, action: A*): S

Parameters:

Param Type
state S | undefined
action A

Returns: S


ipfs

● ipfs: function

Defined in reducers.ts:18

Type declaration

▸(state: * S | undefined, action: A*): S

Parameters:

Param Type
state S | undefined
action A

Returns: S


tx

● tx: function

Defined in reducers.ts:14

Type declaration

▸(state: * S | undefined, action: A*): S

Parameters:

Param Type
state S | undefined
action A

Returns: S


web3

● web3: function

Defined in reducers.ts:13

Type declaration

▸(state: * S | undefined, action: A*): S

Parameters:

Param Type
state S | undefined
action A

Returns: S