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​
Name | Type |
---|---|
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​
Name | Type |
---|---|
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​
Name | Type |
---|---|
__namedParameters | Object |
__namedParameters.address | string |
__namedParameters.count | number |
__namedParameters.transfers | ITransferItem [] |
Returns​
void
Inherited from​
MobxClearTransferItems.add
addFetchedAmount​
â–¸ addFetchedAmount(amount
): void
Parameters​
Name | Type |
---|---|
amount | number |
Returns​
void
Inherited from​
MobxClearTransferItems.addFetchedAmount
clear​
â–¸ clear(): void
Returns​
void
Inherited from​
MobxClearTransferItems.clear
delete​
â–¸ delete(address
, id
): void
Parameters​
Name | Type |
---|---|
address | string |
id | string |
Returns​
void
Inherited from​
MobxClearTransferItems.delete
remove​
â–¸ remove(address
, filter
): ITransferItem
[]
Parameters​
Name | Type |
---|---|
address | string |
filter | (item : ITransferItem ) => boolean |
Returns​
Inherited from​
MobxClearTransferItems.remove
setCount​
â–¸ setCount(count
): void
Parameters​
Name | Type |
---|---|
count | number |
Returns​
void
Inherited from​
MobxClearTransferItems.setCount
setFetched​
â–¸ setFetched(count
): void
Parameters​
Name | Type |
---|---|
count | number |
Returns​
void
Inherited from​
MobxClearTransferItems.setFetched
setFirstFetchedBlockNumber​
â–¸ setFirstFetchedBlockNumber(blockNumber
): void
Parameters​
Name | Type |
---|---|
blockNumber | string | number |
Returns​
void
Inherited from​
MobxClearTransferItems.setFirstFetchedBlockNumber
setLastFetchedBlockNumber​
â–¸ setLastFetchedBlockNumber(blockNumber
): void
Parameters​
Name | Type |
---|---|
blockNumber | string | number |
Returns​
void
Inherited from​
MobxClearTransferItems.setLastFetchedBlockNumber
setName​
â–¸ setName(__namedParameters
): void
Parameters​
Name | Type |
---|---|
__namedParameters | Object |
__namedParameters.name | string |
Returns​
void
Inherited from​
MobxClearTransferItems.setName
update​
â–¸ update(address
, transfer
): void
Parameters​
Name | Type |
---|---|
address | string |
transfer | Object |
transfer.id | string |
transfer.state | EthTransferState |
transfer.txid? | string |
Returns​
void
Inherited from​
MobxClearTransferItems.update
upsert​
â–¸ upsert(address
, transfer
): void
Parameters​
Name | Type |
---|---|
address | string |
transfer | ITransferItem |
Returns​
void
Inherited from​
MobxClearTransferItems.upsert