@kiroboio/web3-react-native-safe-transfer
Interfaces​
- CollectCmdParams
- DepositCmdParams
- DeviceInfoData
- ERC20TokenItem
- FetchCmdParams
- IAccount
- IApproveData
- IApprovedCmd
- ICmdActions
- ICmdBase
- ICmdStatus
- ICollectCmd
- ICommand
- ICommands
- IConnectCmd
- IConnectData
- IDepositCmd
- IDeviceInfo
- IDisconnectCmd
- IERC20TokenItem
- IERC20Tokens
- IEthAddressPrimitive
- IFetchCmd
- IKiroToken
- IKiroTokenItem
- ILists
- IMnemonic
- IRetrieveCmd
- IRetrieveData
- ISafeTransfer
- ISafeTransferItem
- ISendCmdCmd
- IStaking
- IStakingItem
- ISwapDepositCmd
- ITransfer
- ITransferItem
- ITransferItems
- ITransferToken
- IUpdateSwapCompareCmdParams
- IUpdateSwapRateParams
- IViews
- IWallet
- IWalletAddressCmd
- RetrieveCmdParams
- SendCmdParams
- swapDepositCmdParams
Type aliases​
ConnectParams​
Ƭ ConnectParams: Object
Type declaration​
Name | Type |
---|---|
chainId? | 1 | 4 |
key? | string |
Currency​
Ƭ Currency: "ETH"
| "KIRO"
| "USDT"
| "BNB"
| "UNI"
| "LINK"
| "SUSHI"
| "USDC"
| "WBTC"
| "DAI"
ITransfers​
Ƭ ITransfers: ITransferItems
Variables​
Account​
• Account: IModelType
<{ ERC20TokensMap
: IMapType
<IModelType
<{ map
: IMapType
<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
>> }, { list
: } & { addToken
: (__namedParameters
: IERC20TokenItem
) => void
; clearBalances
: () => void
; setBalance
: (address
: string
, balance
: string
) => void
; setRate
: (address
: string
, rate
: number
) => void
}, _NotCustomized
, _NotCustomized
>> ; active
: IOptionalIType
<ISimpleType
<boolean
>, [undefined
]> ; address
: IOptionalIType
<IType
<string
, string
, string
>, [undefined
]> ; allowance
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; approvedCmd
: 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
<string
>, [undefined
]> ; contractAddress
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> }, { clear
: () => void
; clearErrors
: () => void
; done
: () => void
; failed
: (__namedParameters
: { message
: string
}) => void
; start
: () => void
} & { prepare
: (contractAddress
: string
) => void
}, _NotCustomized
, _NotCustomized
>, [undefined
]> ; balance
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; block
: IOptionalIType
<ISimpleType
<number
>, [undefined
]> ; canGetRewards
: IOptionalIType
<ISimpleType
<boolean
>, [undefined
]> ; chainId
: IOptionalIType
<ISimpleType
<number
>, [undefined
]> ; collectCmd
: 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
]> } & { id
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; key
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> }, { clear
: () => void
; clearErrors
: () => void
; done
: () => void
; failed
: (__namedParameters
: { message
: string
}) => void
; start
: () => void
} & { prepare
: (params
: CollectCmdParams
) => void
}, _NotCustomized
, _NotCustomized
>, [undefined
]> ; connectCmd
: 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
]> } & { chainId
: IOptionalIType
<ISimpleType
<number
>, [undefined
]> ; isConnected
: IOptionalIType
<ISimpleType
<boolean
>, [undefined
]> ; key
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> }, { clear
: () => void
; clearErrors
: () => void
; done
: () => void
; failed
: (__namedParameters
: { message
: string
}) => void
; start
: () => void
} & { prepare
: (__namedParameters
: ConnectParams
) => void
}, _NotCustomized
, _NotCustomized
>, [undefined
]> ; currency
: IOptionalIType
<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
>, [undefined
]> ; depositCmd
: 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
]> ; message
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; privateSalt
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; publicSalt
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; secretHash
: 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
: DepositCmdParams
) => void
}, _NotCustomized
, _NotCustomized
>, [undefined
]> ; desiredCurrency
: IOptionalIType
<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
>, [undefined
]> ; deviceInfo
: IOptionalIType
<IModelType
<{ ethereumProvider
: IOptionalIType
<ISimpleType
<boolean
>, [undefined
]> ; haveMetaMask
: IOptionalIType
<ISimpleType
<boolean
>, [undefined
]> ; isApp
: IOptionalIType
<ISimpleType
<boolean
>, [undefined
]> ; isMobile
: IOptionalIType
<ISimpleType
<boolean
>, [undefined
]> ; loggedIn
: IOptionalIType
<ISimpleType
<boolean
>, [undefined
]> }, { setData
: (__namedParameters
: DeviceInfoData
) => void
}, _NotCustomized
, _NotCustomized
>, [undefined
]> ; disconnectCmd
: 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
} & { prepare
: () => void
}, _NotCustomized
, _NotCustomized
>, [undefined
]> ; exportHistory
: 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
]> ; factor
: IOptionalIType
<ISimpleType
<number
>, [undefined
]> ; formType
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; gasPriceMap
: IMapType
<ISimpleType
<string
>> ; history
: 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
]> ; incoming
: 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
]> ; kiroTokenMap
: IMapType
<IModelType
<{ address
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> }, { setData
: (__namedParameters
: IKiroTokenItem
) => void
}, _NotCustomized
, _NotCustomized
>> ; left
: IOptionalIType
<ISimpleType
<number
>, [undefined
]> ; maxRewards
: IOptionalIType
<ISimpleType
<number
>, [undefined
]> ; outgoing
: 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
]> ; rate
: IOptionalIType
<ISimpleType
<number
>, [undefined
]> ; retrieveCmd
: 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
]> } & { id
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> }, { clear
: () => void
; clearErrors
: () => void
; done
: () => void
; failed
: (__namedParameters
: { message
: string
}) => void
; start
: () => void
} & { prepare
: (params
: RetrieveCmdParams
) => void
}, _NotCustomized
, _NotCustomized
>, [undefined
]> ; safeSwapMap
: 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
>> ; safeTransferMap
: 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
>> ; sendCmd
: 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
]> ; stakingBalance
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; stakingMap
: IMapType
<IModelType
<{ address
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; balance
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> }, { setData
: (__namedParameters
: IStakingItem
) => void
}, _NotCustomized
, _NotCustomized
>> ; swapCmd
: 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
]> } & { id
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; key
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> }, { clear
: () => void
; clearErrors
: () => void
; done
: () => void
; failed
: (__namedParameters
: { message
: string
}) => void
; start
: () => void
} & { prepare
: (params
: CollectCmdParams
) => void
}, _NotCustomized
, _NotCustomized
>, [undefined
]> ; swapDepositCmd
: 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
]> } & { desiredValue
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; from
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; message
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; privateSalt
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; publicSalt
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; secretHash
: 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
: swapDepositCmdParams
) => void
}, _NotCustomized
, _NotCustomized
>, [undefined
]> ; swapRates
: 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
]> ; swapRetrieveCmd
: 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
]> } & { id
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> }, { clear
: () => void
; clearErrors
: () => void
; done
: () => void
; failed
: (__namedParameters
: { message
: string
}) => void
; start
: () => void
} & { prepare
: (params
: RetrieveCmdParams
) => void
}, _NotCustomized
, _NotCustomized
>, [undefined
]> ; swapperAddress
: IOptionalIType
<IType
<string
, string
, string
>, [undefined
]> ; swapperBalance
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; swaps
: 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
]> ; tokenBalance
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; transactions
: 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
]> ; transfers
: 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
]> ; wallet
: IOptionalIType
<IModelType
<{ accounts
: IArrayType
<ISimpleType
<string
>> ; activeAccount
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; addAddressCmd
: 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
]> } & { address
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> }, { clear
: () => void
; clearErrors
: () => void
; done
: () => void
; failed
: (__namedParameters
: { message
: string
}) => void
; start
: () => void
} & { prepare
: (address?
: string
) => void
}, _NotCustomized
, _NotCustomized
>, [undefined
]> ; mnemonic
: IOptionalIType
<IModelType
<{ clearCmd
: 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
]> ; data
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; removeCmd
: 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
]> ; restoreCmd
: 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
]> }, { clear
: ; remove
: ; restore
: } & { clear
: () => void
; remove
: () => void
; restore
: () => void
; set
: (mnemonic?
: string
) => void
}, _NotCustomized
, _NotCustomized
>, [undefined
]> ; removeAddressCmd
: 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
]> } & { address
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> }, { clear
: () => void
; clearErrors
: () => void
; done
: () => void
; failed
: (__namedParameters
: { message
: string
}) => void
; start
: () => void
} & { prepare
: (address?
: string
) => void
}, _NotCustomized
, _NotCustomized
>, [undefined
]> }, { removeAddress
: } & { addAccount
: (newAccount
: string
) => void
; addWalletAddress
: () => void
; changeMnemonic
: (mnemonic
: string
) => void
; clearMnemonic
: () => void
; generateMnemonic
: () => void
; getMnemonic
: () => string
; removeMnemonic
: () => void
; setActiveAccount
: (activeAccount
: undefined
| string
) => void
; setMnemonic
: (mnemonic?
: string
) => void
; tryRestoreMnemonicFromStorage
: () => void
}, _NotCustomized
, _NotCustomized
>, [undefined
]> }, { ERC20TokensContract
: ; ERC20TokensMainContract
: ; approve
: ; collect
: ; connect
: ; deposit
: ; disconnect
: ; gasPrice
: ; kiroTokenContract
: ; retrieve
: ; safeSwapContract
: ; safeTransferContract
: ; stakingContract
: ; swap
: ; swapDeposit
: ; swapRetrieve
: ; ERC20TokenList
: (chainName
: string
) => { 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
>>[] ; approvedToken
: (symbol
: string
, amount
: string
) => boolean
; transferFees
: (amount
: string
) => ""
| "0"
; transferReward
: (amount
: string
, fees
: string
) => number
| ""
} & { clearERC20TokenBalances
: (chainName?
: string
) => void
; setActive
: (newActive
: boolean
) => void
; setAddress
: (address
: string
) => void
; setAllowance
: (allowance
: string
) => void
; setBalance
: (balance
: string
) => void
; setBlock
: (block
: number
) => void
; setCanGetRewards
: (canGetRewards
: boolean
) => void
; setChainId
: (chainId
: number
) => void
; setCurrency
: (currency
: ERC20TokenItem
) => void
; setCurrencyBalance
: (balance
: string
) => void
; setDesiredCurrency
: (currency
: ERC20TokenItem
) => void
; setDeviceInfo
: (deviceInfo
: DeviceInfoData
) => void
; setERC20TokenBalance
: (chainName
: string
, address
: string
, balance
: string
) => void
; setERC20TokenContract
: (chainName
: string
, data
: ERC20TokenItem
[]) => void
; setErc20TokenRate
: (chainName
: string
, address
: string
, rate
: number
) => void
; setFormType
: (formType
: string
) => void
; setGasPrice
: (chainName
: string
, gasPrice
: string
) => void
; setKiroTokenContract
: (chainName
: string
, data
: IKiroTokenItem
) => void
; setMaxRewards
: (maxRewards
: number
) => void
; setRate
: (newRate
: number
) => void
; setRewardsParams
: (factor
: number
, left
: number
) => void
; setSafeSwapContract
: (chainName
: string
, data
: ISafeTransferItem
) => void
; setSafeTransferContract
: (chainName
: string
, data
: ISafeTransferItem
) => void
; setStakingBalance
: (balance
: string
) => void
; setStakingContract
: (chainName
: string
, data
: IStakingItem
) => void
; setSwapperAddress
: (address
: string
) => void
; setSwapperBalance
: (balance
: string
) => void
; setTokenBalance
: (balance
: string
) => void
}, _NotCustomized
, _NotCustomized
>
ApprovedCmd​
• ApprovedCmd: 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
<string
>, [undefined
]> ; contractAddress
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> }, { clear
: () => void
; clearErrors
: () => void
; done
: () => void
; failed
: (__namedParameters
: { message
: string
}) => void
; start
: () => void
} & { prepare
: (contractAddress
: string
) => void
}, _NotCustomized
, _NotCustomized
>
CmdBase​
• CmdBase: 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
>
CmdStatus​
• CmdStatus: 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
>
CollectCmd​
• CollectCmd: 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
]> } & { id
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; key
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> }, { clear
: () => void
; clearErrors
: () => void
; done
: () => void
; failed
: (__namedParameters
: { message
: string
}) => void
; start
: () => void
} & { prepare
: (params
: CollectCmdParams
) => void
}, _NotCustomized
, _NotCustomized
>
ConnectCmd​
• ConnectCmd: 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
]> } & { chainId
: IOptionalIType
<ISimpleType
<number
>, [undefined
]> ; isConnected
: IOptionalIType
<ISimpleType
<boolean
>, [undefined
]> ; key
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> }, { clear
: () => void
; clearErrors
: () => void
; done
: () => void
; failed
: (__namedParameters
: { message
: string
}) => void
; start
: () => void
} & { prepare
: (__namedParameters
: ConnectParams
) => void
}, _NotCustomized
, _NotCustomized
>
DepositCmd​
• DepositCmd: 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
]> ; message
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; privateSalt
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; publicSalt
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; secretHash
: 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
: DepositCmdParams
) => void
}, _NotCustomized
, _NotCustomized
>
DeviceInfo​
• DeviceInfo: IModelType
<{ ethereumProvider
: IOptionalIType
<ISimpleType
<boolean
>, [undefined
]> ; haveMetaMask
: IOptionalIType
<ISimpleType
<boolean
>, [undefined
]> ; isApp
: IOptionalIType
<ISimpleType
<boolean
>, [undefined
]> ; isMobile
: IOptionalIType
<ISimpleType
<boolean
>, [undefined
]> ; loggedIn
: IOptionalIType
<ISimpleType
<boolean
>, [undefined
]> }, { setData
: (__namedParameters
: DeviceInfoData
) => void
}, _NotCustomized
, _NotCustomized
>
DisconnectCmd​
• DisconnectCmd: 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
} & { prepare
: () => void
}, _NotCustomized
, _NotCustomized
>
ERC20Token​
• ERC20Token: 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
>
ERC20Tokens​
• ERC20Tokens: IModelType
<{ map
: IMapType
<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
>> }, { list
: } & { addToken
: (__namedParameters
: IERC20TokenItem
) => void
; clearBalances
: () => void
; setBalance
: (address
: string
, balance
: string
) => void
; setRate
: (address
: string
, rate
: number
) => void
}, _NotCustomized
, _NotCustomized
>
FetchCmd​
• FetchCmd: 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
>
KiroToken​
• KiroToken: IModelType
<{ address
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> }, { setData
: (__namedParameters
: IKiroTokenItem
) => void
}, _NotCustomized
, _NotCustomized
>
RateCmd​
• RateCmd: 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
>
RetrieveCmd​
• RetrieveCmd: 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
]> } & { id
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> }, { clear
: () => void
; clearErrors
: () => void
; done
: () => void
; failed
: (__namedParameters
: { message
: string
}) => void
; start
: () => void
} & { prepare
: (params
: RetrieveCmdParams
) => void
}, _NotCustomized
, _NotCustomized
>
SafeTransfer​
• SafeTransfer: 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
>
SendCmd​
• SendCmd: 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
>
Staking​
• Staking: IModelType
<{ address
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; balance
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> }, { setData
: (__namedParameters
: IStakingItem
) => void
}, _NotCustomized
, _NotCustomized
>
Swap​
• Swap: 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
>
SwapCompareCmd​
• SwapCompareCmd: 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
>
SwapOutputRateCmd​
• SwapOutputRateCmd: 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
>
SwapRates​
• SwapRates: 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
>
Token​
• Token: IModelType
<{ address
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; decimals
: IOptionalIType
<ISimpleType
<number
>, [undefined
]> ; symbol
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; type
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> }, {}, _NotCustomized
, _NotCustomized
>
Transfer​
• Transfer: 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
>
Transfers​
• Transfers: 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
>
accountStore​
• accountStore: IAccount
swapDepositCmd​
• swapDepositCmd: 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
]> } & { desiredValue
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; from
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; message
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; privateSalt
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; publicSalt
: IOptionalIType
<ISimpleType
<string
>, [undefined
]> ; secretHash
: 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
: swapDepositCmdParams
) => void
}, _NotCustomized
, _NotCustomized
>
tokens​
• tokens: Object
Type declaration​
Name | Type |
---|---|
BNB | { address : { 1 : string = '0xB8c77482e45F1F44dE1745F52C74426C631bDD52'; 4 : string = '0x2211dc5e1b4c34efe0027561e2f36c2d63fbd01c' } ; decimals : number = 18; label : string = 'Binance Coin'; symbol : string = 'BNB' } |
BNB.address | { 1 : string = '0xB8c77482e45F1F44dE1745F52C74426C631bDD52'; 4 : string = '0x2211dc5e1b4c34efe0027561e2f36c2d63fbd01c' } |
BNB.address.1 | string |
BNB.address.4 | string |
BNB.decimals | number |
BNB.label | string |
BNB.symbol | string |
DAI | { address : { 1 : string = '0x6b175474e89094c44da98b954eedeac495271d0f'; 4 : string = '0x5592ec0cfb4dbc12d3ab100b257153436a1f0fea' } ; decimals : number = 18; label : string = 'Dai'; symbol : string = 'DAI' } |
DAI.address | { 1 : string = '0x6b175474e89094c44da98b954eedeac495271d0f'; 4 : string = '0x5592ec0cfb4dbc12d3ab100b257153436a1f0fea' } |
DAI.address.1 | string |
DAI.address.4 | string |
DAI.decimals | number |
DAI.label | string |
DAI.symbol | string |
KIRO | { address : { 1 : string = '0xb1191f691a355b43542bea9b8847bc73e7abb137'; 4 : string = '0xB678E95F83aF08E7598EC21533F7585E83272799' } ; decimals : number = 18; label : string = 'KIRO'; symbol : string = 'KIRO' } |
KIRO.address | { 1 : string = '0xb1191f691a355b43542bea9b8847bc73e7abb137'; 4 : string = '0xB678E95F83aF08E7598EC21533F7585E83272799' } |
KIRO.address.1 | string |
KIRO.address.4 | string |
KIRO.decimals | number |
KIRO.label | string |
KIRO.symbol | string |
LINK | { address : { 1 : string = '0x514910771af9ca656af840dff83e8264ecf986ca'; 4 : string = '0x01be23585060835e02b77ef475b0cc51aa1e0709' } ; decimals : number = 18; label : string = 'LINK'; symbol : string = 'LINK' } |
LINK.address | { 1 : string = '0x514910771af9ca656af840dff83e8264ecf986ca'; 4 : string = '0x01be23585060835e02b77ef475b0cc51aa1e0709' } |
LINK.address.1 | string |
LINK.address.4 | string |
LINK.decimals | number |
LINK.label | string |
LINK.symbol | string |
MANA | { address : { 1 : string = '0x0f5d2fb29fb7d3cfee444a200298f468908cc942'; 4 : string = '0x6142214d83670226872d51e935fb57bec8832a60' } ; decimals : number = 18; label : string = 'Mana'; symbol : string = 'MANA' } |
MANA.address | { 1 : string = '0x0f5d2fb29fb7d3cfee444a200298f468908cc942'; 4 : string = '0x6142214d83670226872d51e935fb57bec8832a60' } |
MANA.address.1 | string |
MANA.address.4 | string |
MANA.decimals | number |
MANA.label | string |
MANA.symbol | string |
SUSHI | { address : { 1 : string = '0x6b3595068778dd592e39a122f4f5a5cf09c90fe2'; 4 : string = '0x1bfc4d6b40591b8c8e1ef8a36e4f15d54d760110' } ; decimals : number = 18; label : string = 'Sushi Token'; symbol : string = 'SUSHI' } |
SUSHI.address | { 1 : string = '0x6b3595068778dd592e39a122f4f5a5cf09c90fe2'; 4 : string = '0x1bfc4d6b40591b8c8e1ef8a36e4f15d54d760110' } |
SUSHI.address.1 | string |
SUSHI.address.4 | string |
SUSHI.decimals | number |
SUSHI.label | string |
SUSHI.symbol | string |
UNI | { address : { 1 : string = '0x1f9840a85d5af5bf1d1762f925bdaddc4201f984'; 4 : string = '0x7f0fae34de2b34d13da640afc2273366919cd0b2' } ; decimals : number = 18; label : string = 'Uniswap'; symbol : string = 'UNI' } |
UNI.address | { 1 : string = '0x1f9840a85d5af5bf1d1762f925bdaddc4201f984'; 4 : string = '0x7f0fae34de2b34d13da640afc2273366919cd0b2' } |
UNI.address.1 | string |
UNI.address.4 | string |
UNI.decimals | number |
UNI.label | string |
UNI.symbol | string |
USDC | { address : { 1 : string = '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48'; 4 : string = '0x4dbcdf9b62e891a7cec5a2568c3f4faf9e8abe2b' } ; decimals : number = 6; label : string = 'USD Coin'; symbol : string = 'USDC' } |
USDC.address | { 1 : string = '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48'; 4 : string = '0x4dbcdf9b62e891a7cec5a2568c3f4faf9e8abe2b' } |
USDC.address.1 | string |
USDC.address.4 | string |
USDC.decimals | number |
USDC.label | string |
USDC.symbol | string |
USDT | { address : { 1 : string = '0xdac17f958d2ee523a2206206994597c13d831ec7'; 4 : string = '0xb19ed150325db38b397cb134533cb45a2b2b62a3' } ; decimals : number = 6; label : string = 'Tether'; symbol : string = 'USDT' } |
USDT.address | { 1 : string = '0xdac17f958d2ee523a2206206994597c13d831ec7'; 4 : string = '0xb19ed150325db38b397cb134533cb45a2b2b62a3' } |
USDT.address.1 | string |
USDT.address.4 | string |
USDT.decimals | number |
USDT.label | string |
USDT.symbol | string |
WBTC | { address : { 1 : string = '0x2260fac5e5542a773aa44fbcfedf7c193bc2c599'; 4 : string = '0x577D296678535e4903D59A4C929B718e1D575e0A' } ; decimals : number = 8; label : string = 'Wrapped BTC'; symbol : string = 'WBTC' } |
WBTC.address | { 1 : string = '0x2260fac5e5542a773aa44fbcfedf7c193bc2c599'; 4 : string = '0x577D296678535e4903D59A4C929B718e1D575e0A' } |
WBTC.address.1 | string |
WBTC.address.4 | string |
WBTC.decimals | number |
WBTC.label | string |
WBTC.symbol | string |
Functions​
CmdActions​
â–¸ Const
CmdActions(self
): Object
Parameters​
Name | Type |
---|---|
self | Object |
self.is | MobxClearInstance <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 >> |
Returns​
Object
Name | Type |
---|---|
clear | () => void |
clearErrors | () => void |
done | () => void |
failed | (__namedParameters : { message : string }) => void |
start | () => void |
createCommand​
â–¸ Const
createCommand(is
): Object
Parameters​
Name | Type |
---|---|
is | { done : boolean ; failed : boolean ; ready : boolean ; running : boolean ; withFailMessage : string ; withId : number } & NonEmptyObject & { clear : () => void ; finished : (err? : { err : { message : string } }) => void ; prepared : () => void ; started : () => void } & IStateTreeNode <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 >> |
Returns​
Object
Name | Type |
---|---|
get` **done**(): `boolean | {} |
get` **failed**(): `boolean | {} |
get` **ready**(): `boolean | {} |
get` **running**(): `boolean | {} |
get` **withFailMessage**(): `string | {} |
get` **withId**(): `number | {} |
getChainName​
â–¸ Const
getChainName(chainId
): "main"
| "rinkeby"
| ""
Parameters​
Name | Type |
---|---|
chainId | undefined | number |
Returns​
"main"
| "rinkeby"
| ""