Versions in this module Expand all Collapse all v2 v2.0.3 Dec 26, 2022 Changes in this version + const DaoLockPeriodEpochs + var DaoDepositOutputData = []byte + var DaoScript = &types.Script + func IsDepositCell(output *types.CellOutput, outputData []byte) bool + type ClaimInfo struct + DepositBlockHeader *types.Header + WithdrawBlockHeader *types.Header + WithdrawOutpoint *types.OutPoint + func NewClaimInfo(client rpc.Client, withdrawOutpoint *types.OutPoint) (*ClaimInfo, error) + func (r *ClaimInfo) CalculateDaoMinimumSince() uint64 + type DaoScriptHandler struct + CellDep *types.CellDep + CodeHash types.Hash + func NewDaoScriptHandler(network types.Network) *DaoScriptHandler + func (r *DaoScriptHandler) BuildTransaction(builder collector.TransactionBuilder, group *transaction.ScriptGroup, ...) (bool, error) + type OmnilockScriptHandler struct + CellDep *types.CellDep + CodeHash types.Hash + MultiSignCellDep *types.CellDep + SingleSignCellDep *types.CellDep + func NewOmnilockScriptHandler(network types.Network) *OmnilockScriptHandler + func (o *OmnilockScriptHandler) BuildTransaction(builder collector.TransactionBuilder, group *transaction.ScriptGroup, ...) (bool, error) + type Secp256k1Blake160MultisigAllScriptHandler struct + func NewSecp256k1Blake160MultisigAllScriptHandler(network types.Network) *Secp256k1Blake160MultisigAllScriptHandler + func (r *Secp256k1Blake160MultisigAllScriptHandler) BuildTransaction(builder collector.TransactionBuilder, group *transaction.ScriptGroup, ...) (bool, error) + type Secp256k1Blake160SighashAllScriptHandler struct + CellDep *types.CellDep + CodeHash types.Hash + func NewSecp256k1Blake160SighashAllScriptHandler(network types.Network) *Secp256k1Blake160SighashAllScriptHandler + func (r *Secp256k1Blake160SighashAllScriptHandler) BuildTransaction(builder collector.TransactionBuilder, group *transaction.ScriptGroup, ...) (bool, error) + type SudtScriptHandler struct + CellDep *types.CellDep + CodeHash types.Hash + func NewSudtScriptHandler(network types.Network) *SudtScriptHandler + func (r *SudtScriptHandler) BuildTransaction(builder collector.TransactionBuilder, group *transaction.ScriptGroup, ...) (bool, error) + type WithdrawInfo struct + DepositBlockHash types.Hash + DepositBlockNumber uint64 + DepositOutPoint *types.OutPoint + func NewWithdrawInfo(client rpc.Client, depositOutPoint *types.OutPoint) (*WithdrawInfo, error)