Skip to main content

Interface: IAccount

Hierarchy​

Properties​

ERC20TokensContract​

• ERC20TokensContract: IERC20TokenItem[]

Inherited from​

IViews.ERC20TokensContract


ERC20TokensMainContract​

• ERC20TokensMainContract: { address: string ; balance: string ; decimals: number ; name: string ; rate: number ; symbol: string } & NonEmptyObject & { tokenBalance: } & { clearBalance: () => void ; setBalance: (balance: string) => void ; setData: (__namedParameters: IERC20TokenItem) => void ; setRate: (rate: number) => void } & IStateTreeNode<IModelType<{ address: IOptionalIType<ISimpleType<string>, [undefined]> ; balance: IOptionalIType<ISimpleType<string>, [undefined]> ; decimals: IOptionalIType<ISimpleType<number>, [undefined]> ; name: IOptionalIType<ISimpleType<string>, [undefined]> ; rate: IOptionalIType<ISimpleType<number>, [undefined]> ; symbol: IOptionalIType<ISimpleType<string>, [undefined]> }, { tokenBalance: } & { clearBalance: () => void ; setBalance: (balance: string) => void ; setData: (__namedParameters: IERC20TokenItem) => void ; setRate: (rate: number) => void }, _NotCustomized, _NotCustomized>>[]

Inherited from​

MobxClearAccount.ERC20TokensMainContract


ERC20TokensMap​

• ERC20TokensMap: Map<string, IERC20TokenItem>


active​

• active: boolean

Inherited from​

MobxClearAccount.active


address​

• address: string

Inherited from​

MobxClearAccount.address


allowance​

• allowance: string

Inherited from​

MobxClearAccount.allowance


approve​

• approve: Object

Type declaration​

NameType
`get data(): IApproveData`{}
`get is(): ICommand`{}
run(contractAddress: string) => void

Inherited from​

MobxClearAccount.approve


approvedCmd​

• approvedCmd: IApprovedCmd

Inherited from​

ICommands.approvedCmd


balance​

• balance: string

Inherited from​

MobxClearAccount.balance


block​

• block: number

Inherited from​

MobxClearAccount.block


canGetRewards​

• canGetRewards: boolean

Inherited from​

MobxClearAccount.canGetRewards


chainId​

• chainId: number

Inherited from​

MobxClearAccount.chainId


collect​

• collect: Object

Type declaration​

NameType
`get data(): CollectCmdParams`{}
`get is(): ICommand`{}
run(__namedParameters: { id: string ; passcode: string }) => void

Inherited from​

MobxClearAccount.collect


collectCmd​

• collectCmd: ICollectCmd

Inherited from​

ICommands.collectCmd


connect​

• connect: Object

Type declaration​

NameType
`get data(): IConnectData`{}
`get is(): ICommand`{}
run(params: ConnectParams) => void

Inherited from​

MobxClearAccount.connect


connectCmd​

• connectCmd: IConnectCmd

Inherited from​

ICommands.connectCmd


currency​

• currency: IERC20TokenItem


deposit​

• deposit: Object

Type declaration​

NameType
`get data(): DepositCmdParams`{}
`get is(): ICommand`{}
run(__namedParameters: { message?: string ; passcode: string ; to: string ; value: string }) => void

Inherited from​

MobxClearAccount.deposit


depositCmd​

• depositCmd: IDepositCmd

Inherited from​

ICommands.depositCmd


desiredCurrency​

• desiredCurrency: IERC20TokenItem


deviceInfo​

• deviceInfo: IDeviceInfo


disconnect​

• disconnect: Object

Type declaration​

NameType
`get is(): ICommand`{}
run() => void

Inherited from​

MobxClearAccount.disconnect


disconnectCmd​

• disconnectCmd: IDisconnectCmd

Inherited from​

ICommands.disconnectCmd


exportHistory​

• exportHistory: { address: string ; count: number ; exportCmd: { is: { ready: boolean; running: boolean; done: boolean; failed: boolean; withFailMessage: string; withId: number; } & NonEmptyObject & { clear(): void; prepared(): void; started(): void; finished(err?: { ...; } | undefined): void; } & IStateTreeNode<...>; list: string; amount: number; } & 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]>> ; fetchCmd: { is: { ready: boolean; running: boolean; done: boolean; failed: boolean; withFailMessage: string; withId: number; } & NonEmptyObject & { clear(): void; prepared(): void; started(): void; finished(err?: { ...; } | undefined): void; } & IStateTreeNode<...>; list: string; amount: number; } & 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]>> ; fetched: number ; firstFetchedBlockNumber: number ; lastFetchedBlockNumber: number ; map: IMSTMap<IModelType<{ confirmedBlock: ISimpleType<number> = types.number; fees: ISimpleType<string> = types.string; from: ISimpleType<string> = types.string; id: ISimpleType<string> = types.identifier; message: ISimpleType<string> = types.string; salt: ISimpleType<string> = types.string; secretHash: ISimpleType<string> = types.string; state: IType<EthTransferState, EthTransferState, EthTransferState> = StatePrimitive; swap: IOptionalIType<IModelType<{ fees: IOptionalIType<ISimpleType<string>, [undefined]> ; token: IOptionalIType<IModelType<{ address: IOptionalIType<ISimpleType<string>, [undefined]> ; decimals: IOptionalIType<ISimpleType<number>, [undefined]> ; symbol: IOptionalIType<ISimpleType<string>, [undefined]> ; type: IOptionalIType<ISimpleType<string>, [undefined]> }, {}, _NotCustomized, _NotCustomized>, [undefined]> ; value: IOptionalIType<ISimpleType<string>, [undefined]> }, {}, _NotCustomized, _NotCustomized>, [undefined]> ; to: ISimpleType<string> = types.string; token: IOptionalIType<IModelType<{ address: IOptionalIType<ISimpleType<string>, [undefined]> ; decimals: IOptionalIType<ISimpleType<number>, [undefined]> ; symbol: IOptionalIType<ISimpleType<string>, [undefined]> ; type: IOptionalIType<ISimpleType<string>, [undefined]> }, {}, _NotCustomized, _NotCustomized>, [undefined]> ; txid: ISimpleType<string> = types.string; updatedAt: IType<number | Date, number, Date> = types.Date; value: ISimpleType<string> = types.string }, { update: (state: EthTransferState, txid?: string) => void }, _NotCustomized, _NotCustomized>> & IStateTreeNode<IMapType<IModelType<{ confirmedBlock: ISimpleType<number> = types.number; fees: ISimpleType<string> = types.string; from: ISimpleType<string> = types.string; id: ISimpleType<string> = types.identifier; message: ISimpleType<string> = types.string; salt: ISimpleType<string> = types.string; secretHash: ISimpleType<string> = types.string; state: IType<EthTransferState, EthTransferState, EthTransferState> = StatePrimitive; swap: IOptionalIType<IModelType<{ fees: IOptionalIType<ISimpleType<string>, [undefined]> ; token: IOptionalIType<IModelType<{ address: IOptionalIType<ISimpleType<string>, [undefined]> ; decimals: IOptionalIType<ISimpleType<number>, [undefined]> ; symbol: IOptionalIType<ISimpleType<string>, [undefined]> ; type: IOptionalIType<ISimpleType<string>, [undefined]> }, {}, _NotCustomized, _NotCustomized>, [undefined]> ; value: IOptionalIType<ISimpleType<string>, [undefined]> }, {}, _NotCustomized, _NotCustomized>, [undefined]> ; to: ISimpleType<string> = types.string; token: IOptionalIType<IModelType<{ address: IOptionalIType<ISimpleType<string>, [undefined]> ; decimals: IOptionalIType<ISimpleType<number>, [undefined]> ; symbol: IOptionalIType<ISimpleType<string>, [undefined]> ; type: IOptionalIType<ISimpleType<string>, [undefined]> }, {}, _NotCustomized, _NotCustomized>, [undefined]> ; txid: ISimpleType<string> = types.string; updatedAt: IType<number | Date, number, Date> = types.Date; value: ISimpleType<string> = types.string }, { update: (state: EthTransferState, txid?: string) => void }, _NotCustomized, _NotCustomized>>> ; name: string = types.string } & NonEmptyObject & { export: ; fetch: ; list: } & { add: (__namedParameters: { address: string ; count: number ; transfers: ITransferItem[] }) => void ; addFetchedAmount: (amount: number) => void ; clear: () => void ; delete: (address: string, id: string) => void ; remove: (address: string, filter: (item: ITransferItem) => boolean) => ITransferItem[] ; setCount: (count: number) => void ; setFetched: (count: number) => void ; setFirstFetchedBlockNumber: (blockNumber: string | number) => void ; setLastFetchedBlockNumber: (blockNumber: string | number) => void ; setName: (__namedParameters: { name: string }) => void ; update: (address: string, transfer: { id: string ; state: EthTransferState ; txid?: string }) => void ; upsert: (address: string, transfer: ITransferItem) => void } & { activeCount: ; list: } & IStateTreeNode<IOptionalIType<IModelType<{ address: IOptionalIType<ISimpleType<string>, [undefined]> ; count: IOptionalIType<ISimpleType<number>, [undefined]> ; exportCmd: 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]> ; fetchCmd: 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]> ; fetched: IOptionalIType<ISimpleType<number>, [undefined]> ; firstFetchedBlockNumber: IOptionalIType<ISimpleType<number>, [undefined]> ; lastFetchedBlockNumber: IOptionalIType<ISimpleType<number>, [undefined]> ; map: IMapType<IModelType<{ confirmedBlock: ISimpleType<number> = types.number; fees: ISimpleType<string> = types.string; from: ISimpleType<string> = types.string; id: ISimpleType<string> = types.identifier; message: ISimpleType<string> = types.string; salt: ISimpleType<string> = types.string; secretHash: ISimpleType<string> = types.string; state: IType<EthTransferState, EthTransferState, EthTransferState> = StatePrimitive; swap: IOptionalIType<IModelType<{ fees: IOptionalIType<ISimpleType<string>, [undefined]> ; token: IOptionalIType<IModelType<{ address: IOptionalIType<ISimpleType<string>, [undefined]> ; decimals: IOptionalIType<ISimpleType<number>, [undefined]> ; symbol: IOptionalIType<ISimpleType<string>, [undefined]> ; type: IOptionalIType<ISimpleType<string>, [undefined]> }, {}, _NotCustomized, _NotCustomized>, [undefined]> ; value: IOptionalIType<ISimpleType<string>, [undefined]> }, {}, _NotCustomized, _NotCustomized>, [undefined]> ; to: ISimpleType<string> = types.string; token: IOptionalIType<IModelType<{ address: IOptionalIType<ISimpleType<string>, [undefined]> ; decimals: IOptionalIType<ISimpleType<number>, [undefined]> ; symbol: IOptionalIType<ISimpleType<string>, [undefined]> ; type: IOptionalIType<ISimpleType<string>, [undefined]> }, {}, _NotCustomized, _NotCustomized>, [undefined]> ; txid: ISimpleType<string> = types.string; updatedAt: IType<number | Date, number, Date> = types.Date; value: ISimpleType<string> = types.string }, { update: (state: EthTransferState, txid?: string) => void }, _NotCustomized, _NotCustomized>> ; name: ISimpleType<string> = types.string }, { export: ; fetch: ; list: } & { add: (__namedParameters: { address: string ; count: number ; transfers: ITransferItem[] }) => void ; addFetchedAmount: (amount: number) => void ; clear: () => void ; delete: (address: string, id: string) => void ; remove: (address: string, filter: (item: ITransferItem) => boolean) => ITransferItem[] ; setCount: (count: number) => void ; setFetched: (count: number) => void ; setFirstFetchedBlockNumber: (blockNumber: string | number) => void ; setLastFetchedBlockNumber: (blockNumber: string | number) => void ; setName: (__namedParameters: { name: string }) => void ; update: (address: string, transfer: { id: string ; state: EthTransferState ; txid?: string }) => void ; upsert: (address: string, transfer: ITransferItem) => void } & { activeCount: ; list: }, _NotCustomized, _NotCustomized>, [undefined]>>

Inherited from​

MobxClearAccount.exportHistory


factor​

• factor: number

Inherited from​

MobxClearAccount.factor


formType​

• formType: string

Inherited from​

MobxClearAccount.formType


gasPrice​

• gasPrice: string

Inherited from​

MobxClearAccount.gasPrice


gasPriceMap​

• gasPriceMap: Map<string, string>

Inherited from​

IViews.gasPriceMap


history​

• history: ITransferItems

Inherited from​

ILists.history


incoming​

• incoming: ITransferItems

Inherited from​

ILists.incoming


kiroTokenContract​

• kiroTokenContract: undefined | IKiroToken

Inherited from​

IViews.kiroTokenContract


kiroTokenMap​

• kiroTokenMap: Map<string, IKiroToken>


left​

• left: number

Inherited from​

MobxClearAccount.left


maxRewards​

• maxRewards: number

Inherited from​

MobxClearAccount.maxRewards


outgoing​

• outgoing: ITransferItems

Inherited from​

ILists.outgoing


rate​

• rate: number

Inherited from​

MobxClearAccount.rate


retrieve​

• retrieve: Object

Type declaration​

NameType
`get data(): IRetrieveData`{}
`get is(): ICommand`{}
run(__namedParameters: IRetrieveData) => void

Inherited from​

MobxClearAccount.retrieve


retrieveCmd​

• retrieveCmd: IRetrieveCmd

Inherited from​

ICommands.retrieveCmd


safeSwapContract​

• safeSwapContract: undefined | { address: string ; feesFormula: string ; rewardFormula: string ; synced: boolean } & NonEmptyObject & { fees: (_value: string) => "0" ; reward: (_value: string, _stakingValue: string, _fees: string) => "0" } & { setData: (data: ISafeTransferItem) => void } & IStateTreeNode<IModelType<{ address: IOptionalIType<ISimpleType<string>, [undefined]> ; feesFormula: IOptionalIType<ISimpleType<string>, [undefined]> ; rewardFormula: IOptionalIType<ISimpleType<string>, [undefined]> ; synced: IOptionalIType<ISimpleType<boolean>, [undefined]> }, { fees: (_value: string) => "0" ; reward: (_value: string, _stakingValue: string, _fees: string) => "0" } & { setData: (data: ISafeTransferItem) => void }, _NotCustomized, _NotCustomized>>

Inherited from​

MobxClearAccount.safeSwapContract


safeSwapMap​

• safeSwapMap: IMSTMap<IModelType<{ address: IOptionalIType<ISimpleType<string>, [undefined]> ; feesFormula: IOptionalIType<ISimpleType<string>, [undefined]> ; rewardFormula: IOptionalIType<ISimpleType<string>, [undefined]> ; synced: IOptionalIType<ISimpleType<boolean>, [undefined]> }, { fees: (_value: string) => "0" ; reward: (_value: string, _stakingValue: string, _fees: string) => "0" } & { setData: (data: ISafeTransferItem) => void }, _NotCustomized, _NotCustomized>> & IStateTreeNode<IMapType<IModelType<{ address: IOptionalIType<ISimpleType<string>, [undefined]> ; feesFormula: IOptionalIType<ISimpleType<string>, [undefined]> ; rewardFormula: IOptionalIType<ISimpleType<string>, [undefined]> ; synced: IOptionalIType<ISimpleType<boolean>, [undefined]> }, { fees: (_value: string) => "0" ; reward: (_value: string, _stakingValue: string, _fees: string) => "0" } & { setData: (data: ISafeTransferItem) => void }, _NotCustomized, _NotCustomized>>>

Inherited from​

MobxClearAccount.safeSwapMap


safeTransferContract​

• safeTransferContract: undefined | ISafeTransfer

Inherited from​

IViews.safeTransferContract


safeTransferMap​

• safeTransferMap: Map<string, ISafeTransfer>


sendCmd​

• sendCmd: { from: string ; 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]>> ; to: string ; value: string } & NonEmptyObject & { clear: () => void ; clearErrors: () => void ; done: () => void ; failed: (__namedParameters: { message: string }) => void ; start: () => void } & { prepare: (params: SendCmdParams) => 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]> } & { from: IOptionalIType<ISimpleType<string>, [undefined]> ; to: IOptionalIType<ISimpleType<string>, [undefined]> ; value: IOptionalIType<ISimpleType<string>, [undefined]> }, { clear: () => void ; clearErrors: () => void ; done: () => void ; failed: (__namedParameters: { message: string }) => void ; start: () => void } & { prepare: (params: SendCmdParams) => void }, _NotCustomized, _NotCustomized>, [undefined]>>

Inherited from​

MobxClearAccount.sendCmd


stakingBalance​

• stakingBalance: string

Inherited from​

MobxClearAccount.stakingBalance


stakingContract​

• stakingContract: undefined | IStaking

Inherited from​

IViews.stakingContract


stakingMap​

• stakingMap: Map<string, IStaking>


swap​

• swap: Object

Type declaration​

NameType
`get data(): CollectCmdParams`{}
`get is(): ICommand`{}
run(__namedParameters: { id: string ; passcode: string }) => void

Inherited from​

MobxClearAccount.swap


swapCmd​

• swapCmd: ICollectCmd

Inherited from​

ICommands.swapCmd


swapDeposit​

• swapDeposit: Object

Type declaration​

NameType
`get data(): DepositCmdParams & { desiredValue: string }`{}
`get is(): ICommand`{}
run(__namedParameters: { desiredValue: string ; message?: string ; passcode: string ; to: string ; value: string }) => void

Inherited from​

MobxClearAccount.swapDeposit


swapDepositCmd​

• swapDepositCmd: ISwapDepositCmd

Inherited from​

ICommands.swapDepositCmd


swapRates​

• swapRates: { currentCurrencyUsdRateCmd: { is: { ready: boolean; running: boolean; done: boolean; failed: boolean; withFailMessage: string; withId: number; } & NonEmptyObject & { clear(): void; prepared(): void; started(): void; finished(err?: { ...; } | undefined): void; } & IStateTreeNode<...>; symbol: string; rate: string; } & NonEmptyObject & { clear: () => void ; clearErrors: () => void ; done: () => void ; failed: (__namedParameters: { message: string }) => void ; start: () => void } & { prepare: () => void ; setRate: (__namedParameters: { rate: string ; symbol: string }) => 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]> } & { rate: IOptionalIType<ISimpleType<string>, [undefined]> ; symbol: IOptionalIType<ISimpleType<string>, [undefined]> }, { clear: () => void ; clearErrors: () => void ; done: () => void ; failed: (__namedParameters: { message: string }) => void ; start: () => void } & { prepare: () => void ; setRate: (__namedParameters: { rate: string ; symbol: string }) => void }, _NotCustomized, _NotCustomized>, [undefined]>> ; desiredCurrencyUsdRateCmd: { is: { ready: boolean; running: boolean; done: boolean; failed: boolean; withFailMessage: string; withId: number; } & NonEmptyObject & { clear(): void; prepared(): void; started(): void; finished(err?: { ...; } | undefined): void; } & IStateTreeNode<...>; symbol: string; rate: string; } & NonEmptyObject & { clear: () => void ; clearErrors: () => void ; done: () => void ; failed: (__namedParameters: { message: string }) => void ; start: () => void } & { prepare: () => void ; setRate: (__namedParameters: { rate: string ; symbol: string }) => 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]> } & { rate: IOptionalIType<ISimpleType<string>, [undefined]> ; symbol: IOptionalIType<ISimpleType<string>, [undefined]> }, { clear: () => void ; clearErrors: () => void ; done: () => void ; failed: (__namedParameters: { message: string }) => void ; start: () => void } & { prepare: () => void ; setRate: (__namedParameters: { rate: string ; symbol: string }) => void }, _NotCustomized, _NotCustomized>, [undefined]>> ; swapCompareCmd: { is: { ready: boolean; running: boolean; done: boolean; failed: boolean; withFailMessage: string; withId: number; } & NonEmptyObject & { clear(): void; prepared(): void; started(): void; finished(err?: { ...; } | undefined): void; } & IStateTreeNode<...>; inputTokenAddress: string; outputTokenAddress: string; input... & NonEmptyObject & { clear: () => void ; clearErrors: () => void ; done: () => void ; failed: (__namedParameters: { message: string }) => void ; start: () => void } & { prepare: (params: IUpdateSwapCompareCmdParams) => void ; setOutputAmount: (outputAmount: string) => 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]> } & { inputAmount: IOptionalIType<ISimpleType<string>, [undefined]> ; inputTokenAddress: IOptionalIType<ISimpleType<string>, [undefined]> ; outputTokenAddress: IOptionalIType<ISimpleType<string>, [undefined]> ; uniswapOutputAmount: IOptionalIType<ISimpleType<string>, [undefined]> }, { clear: () => void ; clearErrors: () => void ; done: () => void ; failed: (__namedParameters: { message: string }) => void ; start: () => void } & { prepare: (params: IUpdateSwapCompareCmdParams) => void ; setOutputAmount: (outputAmount: string) => void }, _NotCustomized, _NotCustomized>, [undefined]>> ; swapOutputRateCmd: { is: { ready: boolean; running: boolean; done: boolean; failed: boolean; withFailMessage: string; withId: number; } & NonEmptyObject & { clear(): void; prepared(): void; started(): void; finished(err?: { ...; } | undefined): void; } & IStateTreeNode<...>; inputTokenAddress: string; outputTokenAddress: string; input... & NonEmptyObject & { clear: () => void ; clearErrors: () => void ; done: () => void ; failed: (__namedParameters: { message: string }) => void ; start: () => void } & { prepare: (params: IUpdateSwapCompareCmdParams) => void ; setOutputRate: (rate: string) => 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]> } & { inputAmount: IOptionalIType<ISimpleType<string>, [undefined]> ; inputTokenAddress: IOptionalIType<ISimpleType<string>, [undefined]> ; outputRate: IOptionalIType<ISimpleType<string>, [undefined]> ; outputTokenAddress: IOptionalIType<ISimpleType<string>, [undefined]> }, { clear: () => void ; clearErrors: () => void ; done: () => void ; failed: (__namedParameters: { message: string }) => void ; start: () => void } & { prepare: (params: IUpdateSwapCompareCmdParams) => void ; setOutputRate: (rate: string) => void }, _NotCustomized, _NotCustomized>, [undefined]>> ; updateCmd: { is: { ready: boolean; running: boolean; done: boolean; failed: boolean; withFailMessage: string; withId: number; } & NonEmptyObject & { clear(): void; prepared(): void; started(): void; finished(err?: { ...; } | undefined): void; } & IStateTreeNode<...>; } & NonEmptyObject & { clear: () => void ; clearErrors: () => void ; done: () => void ; failed: (__namedParameters: { message: string }) => void ; start: () => 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]> }, { clear: () => void ; clearErrors: () => void ; done: () => void ; failed: (__namedParameters: { message: string }) => void ; start: () => void }, _NotCustomized, _NotCustomized>, [undefined]>> } & NonEmptyObject & { compare: ; currencyUsdRate: ; desiredCurrencyUsdRate: ; rate: } & { setCurrentCurrencyUsdRate: (__namedParameters: { rate: string ; symbol: string }) => void ; setDesiredCurrencyUsdRate: (__namedParameters: { rate: string ; symbol: string }) => void ; setOutputAmount: (outputAmount: string) => void ; setOutputRate: (rate: string) => void } & IStateTreeNode<IOptionalIType<IModelType<{ currentCurrencyUsdRateCmd: 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]> } & { rate: IOptionalIType<ISimpleType<string>, [undefined]> ; symbol: IOptionalIType<ISimpleType<string>, [undefined]> }, { clear: () => void ; clearErrors: () => void ; done: () => void ; failed: (__namedParameters: { message: string }) => void ; start: () => void } & { prepare: () => void ; setRate: (__namedParameters: { rate: string ; symbol: string }) => void }, _NotCustomized, _NotCustomized>, [undefined]> ; desiredCurrencyUsdRateCmd: 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]> } & { rate: IOptionalIType<ISimpleType<string>, [undefined]> ; symbol: IOptionalIType<ISimpleType<string>, [undefined]> }, { clear: () => void ; clearErrors: () => void ; done: () => void ; failed: (__namedParameters: { message: string }) => void ; start: () => void } & { prepare: () => void ; setRate: (__namedParameters: { rate: string ; symbol: string }) => void }, _NotCustomized, _NotCustomized>, [undefined]> ; swapCompareCmd: 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]> } & { inputAmount: IOptionalIType<ISimpleType<string>, [undefined]> ; inputTokenAddress: IOptionalIType<ISimpleType<string>, [undefined]> ; outputTokenAddress: IOptionalIType<ISimpleType<string>, [undefined]> ; uniswapOutputAmount: IOptionalIType<ISimpleType<string>, [undefined]> }, { clear: () => void ; clearErrors: () => void ; done: () => void ; failed: (__namedParameters: { message: string }) => void ; start: () => void } & { prepare: (params: IUpdateSwapCompareCmdParams) => void ; setOutputAmount: (outputAmount: string) => void }, _NotCustomized, _NotCustomized>, [undefined]> ; swapOutputRateCmd: 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]> } & { inputAmount: IOptionalIType<ISimpleType<string>, [undefined]> ; inputTokenAddress: IOptionalIType<ISimpleType<string>, [undefined]> ; outputRate: IOptionalIType<ISimpleType<string>, [undefined]> ; outputTokenAddress: IOptionalIType<ISimpleType<string>, [undefined]> }, { clear: () => void ; clearErrors: () => void ; done: () => void ; failed: (__namedParameters: { message: string }) => void ; start: () => void } & { prepare: (params: IUpdateSwapCompareCmdParams) => void ; setOutputRate: (rate: string) => void }, _NotCustomized, _NotCustomized>, [undefined]> ; updateCmd: 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]> }, { clear: () => void ; clearErrors: () => void ; done: () => void ; failed: (__namedParameters: { message: string }) => void ; start: () => void }, _NotCustomized, _NotCustomized>, [undefined]> }, { compare: ; currencyUsdRate: ; desiredCurrencyUsdRate: ; rate: } & { setCurrentCurrencyUsdRate: (__namedParameters: { rate: string ; symbol: string }) => void ; setDesiredCurrencyUsdRate: (__namedParameters: { rate: string ; symbol: string }) => void ; setOutputAmount: (outputAmount: string) => void ; setOutputRate: (rate: string) => void }, _NotCustomized, _NotCustomized>, [undefined]>>

Inherited from​

MobxClearAccount.swapRates


swapRetrieve​

• swapRetrieve: Object

Type declaration​

NameType
`get data(): IRetrieveData`{}
`get is(): ICommand`{}
run(__namedParameters: IRetrieveData) => void

Inherited from​

MobxClearAccount.swapRetrieve


swapRetrieveCmd​

• swapRetrieveCmd: IRetrieveCmd

Inherited from​

ICommands.swapRetrieveCmd


swapperAddress​

• swapperAddress: string

Inherited from​

MobxClearAccount.swapperAddress


swapperBalance​

• swapperBalance: string

Inherited from​

MobxClearAccount.swapperBalance


swaps​

• swaps: ITransferItems

Inherited from​

ILists.swaps


tokenBalance​

• tokenBalance: string

Inherited from​

MobxClearAccount.tokenBalance


transactions​

• transactions: { address: string ; count: number ; exportCmd: { is: { ready: boolean; running: boolean; done: boolean; failed: boolean; withFailMessage: string; withId: number; } & NonEmptyObject & { clear(): void; prepared(): void; started(): void; finished(err?: { ...; } | undefined): void; } & IStateTreeNode<...>; list: string; amount: number; } & 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]>> ; fetchCmd: { is: { ready: boolean; running: boolean; done: boolean; failed: boolean; withFailMessage: string; withId: number; } & NonEmptyObject & { clear(): void; prepared(): void; started(): void; finished(err?: { ...; } | undefined): void; } & IStateTreeNode<...>; list: string; amount: number; } & 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]>> ; fetched: number ; firstFetchedBlockNumber: number ; lastFetchedBlockNumber: number ; map: IMSTMap<IModelType<{ confirmedBlock: ISimpleType<number> = types.number; fees: ISimpleType<string> = types.string; from: ISimpleType<string> = types.string; id: ISimpleType<string> = types.identifier; message: ISimpleType<string> = types.string; salt: ISimpleType<string> = types.string; secretHash: ISimpleType<string> = types.string; state: IType<EthTransferState, EthTransferState, EthTransferState> = StatePrimitive; swap: IOptionalIType<IModelType<{ fees: IOptionalIType<ISimpleType<string>, [undefined]> ; token: IOptionalIType<IModelType<{ address: IOptionalIType<ISimpleType<string>, [undefined]> ; decimals: IOptionalIType<ISimpleType<number>, [undefined]> ; symbol: IOptionalIType<ISimpleType<string>, [undefined]> ; type: IOptionalIType<ISimpleType<string>, [undefined]> }, {}, _NotCustomized, _NotCustomized>, [undefined]> ; value: IOptionalIType<ISimpleType<string>, [undefined]> }, {}, _NotCustomized, _NotCustomized>, [undefined]> ; to: ISimpleType<string> = types.string; token: IOptionalIType<IModelType<{ address: IOptionalIType<ISimpleType<string>, [undefined]> ; decimals: IOptionalIType<ISimpleType<number>, [undefined]> ; symbol: IOptionalIType<ISimpleType<string>, [undefined]> ; type: IOptionalIType<ISimpleType<string>, [undefined]> }, {}, _NotCustomized, _NotCustomized>, [undefined]> ; txid: ISimpleType<string> = types.string; updatedAt: IType<number | Date, number, Date> = types.Date; value: ISimpleType<string> = types.string }, { update: (state: EthTransferState, txid?: string) => void }, _NotCustomized, _NotCustomized>> & IStateTreeNode<IMapType<IModelType<{ confirmedBlock: ISimpleType<number> = types.number; fees: ISimpleType<string> = types.string; from: ISimpleType<string> = types.string; id: ISimpleType<string> = types.identifier; message: ISimpleType<string> = types.string; salt: ISimpleType<string> = types.string; secretHash: ISimpleType<string> = types.string; state: IType<EthTransferState, EthTransferState, EthTransferState> = StatePrimitive; swap: IOptionalIType<IModelType<{ fees: IOptionalIType<ISimpleType<string>, [undefined]> ; token: IOptionalIType<IModelType<{ address: IOptionalIType<ISimpleType<string>, [undefined]> ; decimals: IOptionalIType<ISimpleType<number>, [undefined]> ; symbol: IOptionalIType<ISimpleType<string>, [undefined]> ; type: IOptionalIType<ISimpleType<string>, [undefined]> }, {}, _NotCustomized, _NotCustomized>, [undefined]> ; value: IOptionalIType<ISimpleType<string>, [undefined]> }, {}, _NotCustomized, _NotCustomized>, [undefined]> ; to: ISimpleType<string> = types.string; token: IOptionalIType<IModelType<{ address: IOptionalIType<ISimpleType<string>, [undefined]> ; decimals: IOptionalIType<ISimpleType<number>, [undefined]> ; symbol: IOptionalIType<ISimpleType<string>, [undefined]> ; type: IOptionalIType<ISimpleType<string>, [undefined]> }, {}, _NotCustomized, _NotCustomized>, [undefined]> ; txid: ISimpleType<string> = types.string; updatedAt: IType<number | Date, number, Date> = types.Date; value: ISimpleType<string> = types.string }, { update: (state: EthTransferState, txid?: string) => void }, _NotCustomized, _NotCustomized>>> ; name: string = types.string } & NonEmptyObject & { export: ; fetch: ; list: } & { add: (__namedParameters: { address: string ; count: number ; transfers: ITransferItem[] }) => void ; addFetchedAmount: (amount: number) => void ; clear: () => void ; delete: (address: string, id: string) => void ; remove: (address: string, filter: (item: ITransferItem) => boolean) => ITransferItem[] ; setCount: (count: number) => void ; setFetched: (count: number) => void ; setFirstFetchedBlockNumber: (blockNumber: string | number) => void ; setLastFetchedBlockNumber: (blockNumber: string | number) => void ; setName: (__namedParameters: { name: string }) => void ; update: (address: string, transfer: { id: string ; state: EthTransferState ; txid?: string }) => void ; upsert: (address: string, transfer: ITransferItem) => void } & { activeCount: ; list: } & IStateTreeNode<IOptionalIType<IModelType<{ address: IOptionalIType<ISimpleType<string>, [undefined]> ; count: IOptionalIType<ISimpleType<number>, [undefined]> ; exportCmd: 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]> ; fetchCmd: 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]> ; fetched: IOptionalIType<ISimpleType<number>, [undefined]> ; firstFetchedBlockNumber: IOptionalIType<ISimpleType<number>, [undefined]> ; lastFetchedBlockNumber: IOptionalIType<ISimpleType<number>, [undefined]> ; map: IMapType<IModelType<{ confirmedBlock: ISimpleType<number> = types.number; fees: ISimpleType<string> = types.string; from: ISimpleType<string> = types.string; id: ISimpleType<string> = types.identifier; message: ISimpleType<string> = types.string; salt: ISimpleType<string> = types.string; secretHash: ISimpleType<string> = types.string; state: IType<EthTransferState, EthTransferState, EthTransferState> = StatePrimitive; swap: IOptionalIType<IModelType<{ fees: IOptionalIType<ISimpleType<string>, [undefined]> ; token: IOptionalIType<IModelType<{ address: IOptionalIType<ISimpleType<string>, [undefined]> ; decimals: IOptionalIType<ISimpleType<number>, [undefined]> ; symbol: IOptionalIType<ISimpleType<string>, [undefined]> ; type: IOptionalIType<ISimpleType<string>, [undefined]> }, {}, _NotCustomized, _NotCustomized>, [undefined]> ; value: IOptionalIType<ISimpleType<string>, [undefined]> }, {}, _NotCustomized, _NotCustomized>, [undefined]> ; to: ISimpleType<string> = types.string; token: IOptionalIType<IModelType<{ address: IOptionalIType<ISimpleType<string>, [undefined]> ; decimals: IOptionalIType<ISimpleType<number>, [undefined]> ; symbol: IOptionalIType<ISimpleType<string>, [undefined]> ; type: IOptionalIType<ISimpleType<string>, [undefined]> }, {}, _NotCustomized, _NotCustomized>, [undefined]> ; txid: ISimpleType<string> = types.string; updatedAt: IType<number | Date, number, Date> = types.Date; value: ISimpleType<string> = types.string }, { update: (state: EthTransferState, txid?: string) => void }, _NotCustomized, _NotCustomized>> ; name: ISimpleType<string> = types.string }, { export: ; fetch: ; list: } & { add: (__namedParameters: { address: string ; count: number ; transfers: ITransferItem[] }) => void ; addFetchedAmount: (amount: number) => void ; clear: () => void ; delete: (address: string, id: string) => void ; remove: (address: string, filter: (item: ITransferItem) => boolean) => ITransferItem[] ; setCount: (count: number) => void ; setFetched: (count: number) => void ; setFirstFetchedBlockNumber: (blockNumber: string | number) => void ; setLastFetchedBlockNumber: (blockNumber: string | number) => void ; setName: (__namedParameters: { name: string }) => void ; update: (address: string, transfer: { id: string ; state: EthTransferState ; txid?: string }) => void ; upsert: (address: string, transfer: ITransferItem) => void } & { activeCount: ; list: }, _NotCustomized, _NotCustomized>, [undefined]>>

Inherited from​

MobxClearAccount.transactions


transfers​

• transfers: ITransferItems

Inherited from​

ILists.transfers


wallet​

• wallet: IWallet

Methods​

ERC20TokenList​

â–¸ ERC20TokenList(chainName): { address: string ; balance: string ; decimals: number ; name: string ; rate: number ; symbol: string } & NonEmptyObject & { tokenBalance: } & { clearBalance: () => void ; setBalance: (balance: string) => void ; setData: (__namedParameters: IERC20TokenItem) => void ; setRate: (rate: number) => void } & IStateTreeNode<IModelType<{ address: IOptionalIType<ISimpleType<string>, [undefined]> ; balance: IOptionalIType<ISimpleType<string>, [undefined]> ; decimals: IOptionalIType<ISimpleType<number>, [undefined]> ; name: IOptionalIType<ISimpleType<string>, [undefined]> ; rate: IOptionalIType<ISimpleType<number>, [undefined]> ; symbol: IOptionalIType<ISimpleType<string>, [undefined]> }, { tokenBalance: } & { clearBalance: () => void ; setBalance: (balance: string) => void ; setData: (__namedParameters: IERC20TokenItem) => void ; setRate: (rate: number) => void }, _NotCustomized, _NotCustomized>>[]

Parameters​

NameType
chainNamestring

Returns​

{ address: string ; balance: string ; decimals: number ; name: string ; rate: number ; symbol: string } & NonEmptyObject & { tokenBalance: } & { clearBalance: () => void ; setBalance: (balance: string) => void ; setData: (__namedParameters: IERC20TokenItem) => void ; setRate: (rate: number) => void } & IStateTreeNode<IModelType<{ address: IOptionalIType<ISimpleType<string>, [undefined]> ; balance: IOptionalIType<ISimpleType<string>, [undefined]> ; decimals: IOptionalIType<ISimpleType<number>, [undefined]> ; name: IOptionalIType<ISimpleType<string>, [undefined]> ; rate: IOptionalIType<ISimpleType<number>, [undefined]> ; symbol: IOptionalIType<ISimpleType<string>, [undefined]> }, { tokenBalance: } & { clearBalance: () => void ; setBalance: (balance: string) => void ; setData: (__namedParameters: IERC20TokenItem) => void ; setRate: (rate: number) => void }, _NotCustomized, _NotCustomized>>[]

Inherited from​

MobxClearAccount.ERC20TokenList


approvedToken​

â–¸ approvedToken(symbol, amount): boolean

Parameters​

NameType
symbolstring
amountstring

Returns​

boolean

Inherited from​

MobxClearAccount.approvedToken


clearERC20TokenBalances​

â–¸ clearERC20TokenBalances(chainName?): void

Parameters​

NameType
chainName?string

Returns​

void

Inherited from​

MobxClearAccount.clearERC20TokenBalances


getERC20TokenList​

â–¸ getERC20TokenList(chainName): IERC20TokenItem[]

Parameters​

NameType
chainNamestring

Returns​

IERC20TokenItem[]

Inherited from​

IViews.getERC20TokenList


setActive​

â–¸ setActive(newActive): void

Parameters​

NameType
newActiveboolean

Returns​

void

Inherited from​

MobxClearAccount.setActive


setAddress​

â–¸ setAddress(address): void

Parameters​

NameType
addressstring

Returns​

void

Inherited from​

MobxClearAccount.setAddress


setAllowance​

â–¸ setAllowance(allowance): void

Parameters​

NameType
allowancestring

Returns​

void

Inherited from​

MobxClearAccount.setAllowance


setBalance​

â–¸ setBalance(balance): void

Parameters​

NameType
balancestring

Returns​

void

Inherited from​

MobxClearAccount.setBalance


setBlock​

â–¸ setBlock(block): void

Parameters​

NameType
blocknumber

Returns​

void

Inherited from​

MobxClearAccount.setBlock


setCanGetRewards​

â–¸ setCanGetRewards(canGetRewards): void

Parameters​

NameType
canGetRewardsboolean

Returns​

void

Inherited from​

MobxClearAccount.setCanGetRewards


setChainId​

â–¸ setChainId(chainId): void

Parameters​

NameType
chainIdnumber

Returns​

void

Inherited from​

MobxClearAccount.setChainId


setCurrency​

â–¸ setCurrency(currency): void

Parameters​

NameType
currencyERC20TokenItem

Returns​

void

Inherited from​

MobxClearAccount.setCurrency


setCurrencyBalance​

â–¸ setCurrencyBalance(balance): void

Parameters​

NameType
balancestring

Returns​

void

Inherited from​

MobxClearAccount.setCurrencyBalance


setDesiredCurrency​

â–¸ setDesiredCurrency(currency): void

Parameters​

NameType
currencyERC20TokenItem

Returns​

void

Inherited from​

MobxClearAccount.setDesiredCurrency


setDeviceInfo​

â–¸ setDeviceInfo(deviceInfo): void

Parameters​

NameType
deviceInfoDeviceInfoData

Returns​

void

Inherited from​

MobxClearAccount.setDeviceInfo


setERC20TokenBalance​

â–¸ setERC20TokenBalance(chainName, address, balance): void

Parameters​

NameType
chainNamestring
addressstring
balancestring

Returns​

void

Inherited from​

MobxClearAccount.setERC20TokenBalance


setERC20TokenContract​

â–¸ setERC20TokenContract(chainName, data): void

Parameters​

NameType
chainNamestring
dataERC20TokenItem[]

Returns​

void

Inherited from​

MobxClearAccount.setERC20TokenContract


setErc20TokenRate​

â–¸ setErc20TokenRate(chainName, address, rate): void

Parameters​

NameType
chainNamestring
addressstring
ratenumber

Returns​

void

Inherited from​

MobxClearAccount.setErc20TokenRate


setFormType​

â–¸ setFormType(formType): void

Parameters​

NameType
formTypestring

Returns​

void

Inherited from​

MobxClearAccount.setFormType


setGasPrice​

â–¸ setGasPrice(chainName, gasPrice): void

Parameters​

NameType
chainNamestring
gasPricestring

Returns​

void

Inherited from​

MobxClearAccount.setGasPrice


setKiroTokenContract​

â–¸ setKiroTokenContract(chainName, data): void

Parameters​

NameType
chainNamestring
dataIKiroTokenItem

Returns​

void

Inherited from​

MobxClearAccount.setKiroTokenContract


setMaxRewards​

â–¸ setMaxRewards(maxRewards): void

Parameters​

NameType
maxRewardsnumber

Returns​

void

Inherited from​

MobxClearAccount.setMaxRewards


setRate​

â–¸ setRate(newRate): void

Parameters​

NameType
newRatenumber

Returns​

void

Inherited from​

MobxClearAccount.setRate


setRewardsParams​

â–¸ setRewardsParams(factor, left): void

Parameters​

NameType
factornumber
leftnumber

Returns​

void

Inherited from​

MobxClearAccount.setRewardsParams


setSafeSwapContract​

â–¸ setSafeSwapContract(chainName, data): void

Parameters​

NameType
chainNamestring
dataISafeTransferItem

Returns​

void

Inherited from​

MobxClearAccount.setSafeSwapContract


setSafeTransferContract​

â–¸ setSafeTransferContract(chainName, data): void

Parameters​

NameType
chainNamestring
dataISafeTransferItem

Returns​

void

Inherited from​

MobxClearAccount.setSafeTransferContract


setStakingBalance​

â–¸ setStakingBalance(balance): void

Parameters​

NameType
balancestring

Returns​

void

Inherited from​

MobxClearAccount.setStakingBalance


setStakingContract​

â–¸ setStakingContract(chainName, data): void

Parameters​

NameType
chainNamestring
dataIStakingItem

Returns​

void

Inherited from​

MobxClearAccount.setStakingContract


setSwapperAddress​

â–¸ setSwapperAddress(address): void

Parameters​

NameType
addressstring

Returns​

void

Inherited from​

MobxClearAccount.setSwapperAddress


setSwapperBalance​

â–¸ setSwapperBalance(balance): void

Parameters​

NameType
balancestring

Returns​

void

Inherited from​

MobxClearAccount.setSwapperBalance


setTokenBalance​

â–¸ setTokenBalance(balance): void

Parameters​

NameType
balancestring

Returns​

void

Inherited from​

MobxClearAccount.setTokenBalance


transferFees​

â–¸ transferFees(amount): "" | "0"

Parameters​

NameType
amountstring

Returns​

"" | "0"

Inherited from​

MobxClearAccount.transferFees


transferReward​

â–¸ transferReward(amount, fees): number | ""

Parameters​

NameType
amountstring
feesstring

Returns​

number | ""

Inherited from​

MobxClearAccount.transferReward