Skip to main content

Interface: ITransferItems

Hierarchy​

  • MobxClearTransferItems

    ↳ ITransferItems

Properties​

activeCount​

• activeCount: number

Inherited from​

MobxClearTransferItems.activeCount


address​

• address: string

Inherited from​

MobxClearTransferItems.address


count​

• count: number

Inherited from​

MobxClearTransferItems.count


export​

• export: Object

Type declaration​

NameType
get` **is**(): `Object{}
get` **progress**(): `number{}
run() => void

Inherited from​

MobxClearTransferItems.export


exportCmd​

• exportCmd: { amount: number ; is: { ready: boolean; running: boolean; done: boolean; failed: boolean; withFailMessage: string; withId: number; } & NonEmptyObject & { clear: () => void ; finished: (err?: { err: { message: string } }) => void ; prepared: () => void ; started: () => void } & IStateTreeNode<IOptionalIType<IModelType<{ done: IOptionalIType<ISimpleType<boolean>, [undefined]> ; failed: IOptionalIType<ISimpleType<boolean>, [undefined]> ; ready: IOptionalIType<ISimpleType<boolean>, [undefined]> ; running: IOptionalIType<ISimpleType<boolean>, [undefined]> ; withFailMessage: IOptionalIType<ISimpleType<string>, [undefined]> ; withId: IOptionalIType<ISimpleType<number>, [undefined]> }, { clear: () => void ; finished: (err?: { err: { message: string } }) => void ; prepared: () => void ; started: () => void }, _NotCustomized, _NotCustomized>, [undefined]>> ; list: string } & NonEmptyObject & { clear: () => void ; clearErrors: () => void ; done: () => void ; failed: (__namedParameters: { message: string }) => void ; start: () => void } & { prepare: (params: FetchCmdParams) => void } & IStateTreeNode<IOptionalIType<IModelType<{ is: IOptionalIType<IModelType<{ done: IOptionalIType<ISimpleType<boolean>, [undefined]> ; failed: IOptionalIType<ISimpleType<boolean>, [undefined]> ; ready: IOptionalIType<ISimpleType<boolean>, [undefined]> ; running: IOptionalIType<ISimpleType<boolean>, [undefined]> ; withFailMessage: IOptionalIType<ISimpleType<string>, [undefined]> ; withId: IOptionalIType<ISimpleType<number>, [undefined]> }, { clear: () => void ; finished: (err?: { err: { message: string } }) => void ; prepared: () => void ; started: () => void }, _NotCustomized, _NotCustomized>, [undefined]> } & { amount: IOptionalIType<ISimpleType<number>, [undefined]> ; list: IOptionalIType<ISimpleType<string>, [undefined]> }, { clear: () => void ; clearErrors: () => void ; done: () => void ; failed: (__namedParameters: { message: string }) => void ; start: () => void } & { prepare: (params: FetchCmdParams) => void }, _NotCustomized, _NotCustomized>, [undefined]>>

Inherited from​

MobxClearTransferItems.exportCmd


fetch​

• fetch: Object

Type declaration​

NameType
get` **is**(): `Object{}
run(amount: number) => void

Inherited from​

MobxClearTransferItems.fetch


fetchCmd​

• fetchCmd: IFetchCmd


fetched​

• fetched: number

Inherited from​

MobxClearTransferItems.fetched


firstFetchedBlockNumber​

• firstFetchedBlockNumber: number

Inherited from​

MobxClearTransferItems.firstFetchedBlockNumber


lastFetchedBlockNumber​

• lastFetchedBlockNumber: number

Inherited from​

MobxClearTransferItems.lastFetchedBlockNumber


list​

• list: ITransfer[]


map​

• map: Map<string, ITransfer>


name​

• name: string = types.string

Inherited from​

MobxClearTransferItems.name

Methods​

add​

â–¸ add(__namedParameters): void

Parameters​

NameType
__namedParametersObject
__namedParameters.addressstring
__namedParameters.countnumber
__namedParameters.transfersITransferItem[]

Returns​

void

Inherited from​

MobxClearTransferItems.add


addFetchedAmount​

â–¸ addFetchedAmount(amount): void

Parameters​

NameType
amountnumber

Returns​

void

Inherited from​

MobxClearTransferItems.addFetchedAmount


clear​

â–¸ clear(): void

Returns​

void

Inherited from​

MobxClearTransferItems.clear


delete​

â–¸ delete(address, id): void

Parameters​

NameType
addressstring
idstring

Returns​

void

Inherited from​

MobxClearTransferItems.delete


remove​

â–¸ remove(address, filter): ITransferItem[]

Parameters​

NameType
addressstring
filter(item: ITransferItem) => boolean

Returns​

ITransferItem[]

Inherited from​

MobxClearTransferItems.remove


setCount​

â–¸ setCount(count): void

Parameters​

NameType
countnumber

Returns​

void

Inherited from​

MobxClearTransferItems.setCount


setFetched​

â–¸ setFetched(count): void

Parameters​

NameType
countnumber

Returns​

void

Inherited from​

MobxClearTransferItems.setFetched


setFirstFetchedBlockNumber​

â–¸ setFirstFetchedBlockNumber(blockNumber): void

Parameters​

NameType
blockNumberstring | number

Returns​

void

Inherited from​

MobxClearTransferItems.setFirstFetchedBlockNumber


setLastFetchedBlockNumber​

â–¸ setLastFetchedBlockNumber(blockNumber): void

Parameters​

NameType
blockNumberstring | number

Returns​

void

Inherited from​

MobxClearTransferItems.setLastFetchedBlockNumber


setName​

â–¸ setName(__namedParameters): void

Parameters​

NameType
__namedParametersObject
__namedParameters.namestring

Returns​

void

Inherited from​

MobxClearTransferItems.setName


update​

â–¸ update(address, transfer): void

Parameters​

NameType
addressstring
transferObject
transfer.idstring
transfer.stateEthTransferState
transfer.txid?string

Returns​

void

Inherited from​

MobxClearTransferItems.update


upsert​

â–¸ upsert(address, transfer): void

Parameters​

NameType
addressstring
transferITransferItem

Returns​

void

Inherited from​

MobxClearTransferItems.upsert