- Preparing search index...
- The search index is not available
Lumos
dao: { CellCollector: typeof CellCollector; calculateDaoEarliestSince: ((depositBlockHeaderEpoch,
withdrawBlockHeaderEpoch) => bigint); calculateDaoEarliestSinceCompatible: ((depositBlockHeaderEpoch,
withdrawBlockHeaderEpoch) => BI); calculateMaximumWithdraw: ((withdrawCell,
depositDao,
withdrawDao) => bigint); calculateMaximumWithdrawCompatible: ((withdrawCell,
depositDao,
withdrawDao) => BI); deposit: ((txSkeleton,
fromInfo,
toAddress,
amount,
options?) => Promise<TransactionSkeletonType>); listDaoCells: ((cellProvider,
fromAddress,
cellType,
options?) => AsyncIterator<Cell>); unlock: ((txSkeleton,
depositInput,
withdrawInput,
toAddress,
fromInfo,
options?) => Promise<TransactionSkeletonType>); withdraw: ((txSkeleton,
fromInput,
fromInfo?,
options?) => Promise<TransactionSkeletonType>); }
Type declaration
-
CellCollector: typeof CellCollector
-
calculateDaoEarliestSince: ((depositBlockHeaderEpoch, withdrawBlockHeaderEpoch) => bigint)
-
- (depositBlockHeaderEpoch, withdrawBlockHeaderEpoch): bigint
-
Parameters
-
depositBlockHeaderEpoch: string
-
withdrawBlockHeaderEpoch: string
Returns bigint
-
calculateDaoEarliestSinceCompatible: ((depositBlockHeaderEpoch, withdrawBlockHeaderEpoch) => BI)
-
- (depositBlockHeaderEpoch, withdrawBlockHeaderEpoch): BI
-
Parameters
-
depositBlockHeaderEpoch: string
-
withdrawBlockHeaderEpoch: string
Returns BI
-
calculateMaximumWithdraw: ((withdrawCell, depositDao, withdrawDao) => bigint)
-
- (withdrawCell, depositDao, withdrawDao): bigint
-
Parameters
-
withdrawCell: Cell
-
depositDao: string
-
withdrawDao: string
Returns bigint
-
calculateMaximumWithdrawCompatible: ((withdrawCell, depositDao, withdrawDao) => BI)
-
- (withdrawCell, depositDao, withdrawDao): BI
-
Parameters
-
withdrawCell: Cell
-
depositDao: string
-
withdrawDao: string
Returns BI
-
deposit: ((txSkeleton, fromInfo, toAddress, amount, options?) => Promise<TransactionSkeletonType>)
-
listDaoCells: ((cellProvider, fromAddress, cellType, options?) => AsyncIterator<Cell>)
-
- (cellProvider, fromAddress, cellType, options?): AsyncIterator<Cell>
-
Parameters
-
-
fromAddress: string
-
cellType: "all" | "deposit" | "withdraw"
-
Returns AsyncIterator<Cell>
-
unlock: ((txSkeleton, depositInput, withdrawInput, toAddress, fromInfo, options?) => Promise<TransactionSkeletonType>)
-
- (txSkeleton, depositInput, withdrawInput, toAddress, fromInfo, options?): Promise<TransactionSkeletonType>
-
Parameters
-
-
depositInput: Cell
-
withdrawInput: Cell
-
toAddress: string
-
-
options: Options & {
RpcClient?: typeof RPC;
} = {}
-
withdraw: ((txSkeleton, fromInput, fromInfo?, options?) => Promise<TransactionSkeletonType>)
calculate a withdraw dao cell minimal unlock since