Documentation ¶
Index ¶
- type DaoDepositCellInfo
- type DaoHelper
- func (c *DaoHelper) GetDaoDepositCellInfo(outpoint *types.OutPoint, withdrawBlockHash *types.Hash) (DaoDepositCellInfo, error)
- func (c *DaoHelper) GetDaoDepositCellInfoByNow(outpoint *types.OutPoint) (DaoDepositCellInfo, error)
- func (c *DaoHelper) GetDaoDepositCellInfoWithWithdrawOutpoint(outpoint *types.OutPoint, withdrawCellOutPoint *types.OutPoint) (DaoDepositCellInfo, error)
- type Deposit
- type WithdrawPhase1
- type WithdrawPhase2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DaoDepositCellInfo ¶ added in v0.101.6
type DaoHelper ¶ added in v0.101.6
func (*DaoHelper) GetDaoDepositCellInfo ¶ added in v0.101.6
func (c *DaoHelper) GetDaoDepositCellInfo(outpoint *types.OutPoint, withdrawBlockHash *types.Hash) (DaoDepositCellInfo, error)
GetDaoDepositCellInfo Get information for DAO cell deposited as outpoint and withdrawn in block of withdrawBlockHash
func (*DaoHelper) GetDaoDepositCellInfoByNow ¶ added in v0.101.6
func (c *DaoHelper) GetDaoDepositCellInfoByNow(outpoint *types.OutPoint) (DaoDepositCellInfo, error)
GetDaoDepositCellInfoByNow DAO information for DAO cell deposited as outpoint and withdrawn in tip block
func (*DaoHelper) GetDaoDepositCellInfoWithWithdrawOutpoint ¶ added in v0.101.6
func (c *DaoHelper) GetDaoDepositCellInfoWithWithdrawOutpoint(outpoint *types.OutPoint, withdrawCellOutPoint *types.OutPoint) (DaoDepositCellInfo, error)
GetDaoDepositCellInfoWithWithdrawOutpoint Get information for DAO cell deposited as outpoint and withdrawn in block where the withdrawCellOutPoint is
type Deposit ¶
type Deposit struct {
Transaction *types.Transaction
}
func NewDeposit ¶
func NewDeposit(scripts *utils.SystemScripts, isMultisig bool) *Deposit
func (*Deposit) AddDaoOutput ¶
type WithdrawPhase1 ¶
type WithdrawPhase1 struct {
Transaction *types.Transaction
}
func NewWithdrawPhase1 ¶
func NewWithdrawPhase1(scripts *utils.SystemScripts, isMultisig bool) *WithdrawPhase1
func (*WithdrawPhase1) AddDaoDepositTick ¶
type WithdrawPhase2 ¶
type WithdrawPhase2 struct {
Transaction *types.Transaction
}
func NewWithdrawPhase2 ¶
func NewWithdrawPhase2(scripts *utils.SystemScripts, isMultisig bool) *WithdrawPhase2
func (*WithdrawPhase2) AddDaoWithdrawTick ¶
Click to show internal directories.
Click to hide internal directories.