Versions in this module Expand all Collapse all v0 v0.0.1 Sep 6, 2021 Changes in this version + const AccountCellBaseCap + const AccountCellDataAccountIdStartIndex + const Action_AccountChain + const Action_AccuseAccountIllegal + const Action_AccuseAccountRepeat + const Action_ApplyRegister + const Action_BidAccount + const Action_CancelAccountAuction + const Action_CancelAccountSale + const Action_CancelBidding + const Action_CancelSaleByKeeper + const Action_CloseBidding + const Action_Config + const Action_ConfirmProposal + const Action_ConsolidateIncome + const Action_CreateIncome + const Action_CreateWallet + const Action_DeleteWallet + const Action_Deploy + const Action_EditManager + const Action_EditRecords + const Action_ExtendPropose + const Action_PreRegister + const Action_Propose + const Action_PublishAccount + const Action_PublishBiddingList + const Action_QuotePriceForCkb + const Action_RecycleExpiredAccount + const Action_RecyclePropose + const Action_RefundApply + const Action_RefundRegister + const Action_Register + const Action_RejectRegister + const Action_RenewAccount + const Action_StartAccountAuction + const Action_StartAccountSale + const Action_TransferAccount + const Action_VoteBiddingList + const Action_WithdrawFromWallet + const CellVersionByteLen + const CkbSize_AccountCell + const CkbTxMinOutputCKBValue + const DasAccountSuffix + const DasCellDataVersion1 + const DasCellDataVersion2 + const DasLockArgsMinBytesLen + const DiscountRateBase + const ETHScriptLockWitnessBytesLen + const HashBytesLen + const HeaderSizeUint + const IncomeCellBaseCap + const MarketType_Primary + const MarketType_Secondary + const MinAccountCharsLen + const MoleculeBytesHeaderSize + const OneCkb + const OneDaySec + const OneYearDays + const OneYearSec + const PwLockMainNetCodeHash + const PwLockTestNetCodeHash + const RefCellType_Manager + const RefCellType_Owner + const SystemScript_AccoutnCell + const SystemScript_ApplyRegisterCell + const SystemScript_BiddingCell + const SystemScript_OnSaleCell + const SystemScript_PreAccoutnCell + const SystemScript_ProposeCell + const SystemScript_RefCell + const SystemScript_WalletCell + var AccountCellCodeArgs = "0x37844013d5230454359d93dea9074d653f94dadc1a36fbe88fc01ac8456cddc7" + var ActionParam_Manager = []byte + var ActionParam_Owner = []byte + var ApplyRegisterCellCodeArgs = "0x43b56d4fa45b57680b4cea21819ea5100c209ebb9434f141a53a05bdee93e4d6" + var CKBMultiSoScriptDep = DASCellBaseInfoDep + var CKBSoScriptDep = DASCellBaseInfoDep + var ConfigCellCodeArgs = "0x92610ed55bbc6d865ab4d84da3259606951417c537edb5b47c8cd0bc7b7b492e" + var ContractCodeHash = "00000000000000000000000000000000000000000000000000545950455f4944" + var DasAccountCellScript = DASCellBaseInfo + var DasActionCellScript = DASCellBaseInfo + var DasActionWitness = NewDasWitnessData(TableType_Action, []byte{}) + var DasAnyOneCanPayCellInfo = DASCellBaseInfoOut + var DasAnyOneCanSendCellInfo = DASCellBaseInfo + var DasApplyRegisterCellScript = DASCellBaseInfo + var DasBTCLockCellInfo = DASCellBaseInfoOut + var DasBiddingCellScript = DASCellBaseInfo + var DasConfigCellScript = DASCellBaseInfo + var DasETHLockCellInfo = DASCellBaseInfo + var DasHeightCellScript = DASCellBaseInfo + var DasIncomeCellScript = DASCellBaseInfo + var DasLockCellCodeArgs = "0xc3fd71e4f537b8d77a412b896304abf1a60daaa7f0fab10f83e8649a4f1e9713" + var DasLockCellScript = DASCellBaseInfo + var DasOnSaleCellScript = DASCellBaseInfo + var DasPreAccountCellScript = DASCellBaseInfo + var DasProposeCellScript = DASCellBaseInfo + var DasPwLockCellCodeArgs = "d5eee5a3ac9d65658535b4bdad25e22a81c032f5bbdf5ace45605a33482eeb45" + var DasQuoteCellScript = DASCellBaseInfo + var DasTimeCellScript = DASCellBaseInfo + var DefaultAccountCellParam = func(testNet bool, param *AccountCellTxDataParam, dasLockParam *DasLockParam, ...) *AccountCellParam + var DefaultApplyRegisterCellParam = func(args []byte, account DasAccount, height, timeUnix uint64, ...) *ApplyRegisterCellParam + var DefaultIncomeCellParam = func(data *IncomeCellData) *IncomeCellParam + var DefaultOnSaleCellParam = func(newIndex uint32, price uint64, accountId DasAccountId) *OnSaleCellParam + var DefaultPreAccountCellParam = func(account DasAccount, new *PreAccountCellData) *PreAccountCellParam + var DefaultProposeCellParam = func(new *ProposalCellData) *ProposeCellParam + var ETHSoScriptDep = DASCellBaseInfoDep + var EmptyAccountId = DasAccountId + var EmptyDataHash = make([]byte, HashBytesLen) + var IncomeCellCodeArgs = "0x54d53b0db02b7ca2ecaf1cf6bbe5a9011c8ae6e1dba6d45444e1f3f79eb13896" + var NullDasLockManagerArg = make([]byte, DasLockArgsMinBytesLen/2 - 1) + var PreAccountCellCodeArgs = "0x9d608a334270b7ee7c5b61422bcb5a6021552fa4ec1f2d31acc02b2c4306265e" + var ProposeCellCodeArgs = "0xe789cf86f36fe1c67c04b2aad300867d1fc2778511365ce0b169d0518e860175" + var RefCellCodeArgs = "34572aae7e930aa06fdd58cd7b42d3db005f27a2d11333cf08a74188128fc090" + var RootAccountDataAccountByte = make([]byte, 29) + var SystemCodeScriptMap = syncmap.Map + var TRONSoScriptDep = DASCellBaseInfoDep + var TestNetLockScriptDep = DASCellBaseInfoDep + var WalletCellCodeArgs = "9b6d4934ad0366a3a047f24778197000d776c45b2dc68b2738477e730b5b6b91" + func AccountCellCap(account string) (uint64, error) + func AccountFromOutputData(data []byte) ([]byte, error) + func ApplyRegisterDataId(pubKeyHexBytes []byte, account DasAccount) ([]byte, error) + func CalTypeIdFromScript(script *types.Script) types.Hash + func ChangeMoleculeData(changeType DataEntityChangeType, index uint32, originWitnessData []byte) ([]byte, error) + func DefaultAccountCellDataBytes(accountId, nextAccountId DasAccountId) []byte + func ExpiredAtFromOutputData(data []byte) (int64, error) + func GetActionNameFromWitnessData(tx *types.Transaction) (string, error) + func GetTargetCellFromWitness(tx *types.Transaction, handle ValidHandle, skipHandle SkipHandle) error + func GoUint32ToBytes(i uint32) []byte + func GoUint64ToBytes(i uint64) []byte + func IsAccountExpired(accountCellData []byte, cmpTimeSec int64) (bool, error) + func IsAccountFrozen(accountCellData []byte, cmpTimeSec, frozenRangeSec int64) (bool, error) + func IsInterfaceNil(i interface{}) bool + func IsSystemCodeScriptReady() bool + func IsVersion2AccountCell(cellData *AccountCellData) bool + func LatestVersion() uint32 + func MoleculeScriptToGo(s Script) (*types.Script, error) + func MoleculeU32ToGo(bys []byte) (uint32, error) + func MoleculeU32ToGoPercentage(bys []byte) (float64, error) + func MoleculeU64ToGo(bys []byte) (uint64, error) + func MoleculeU64ToGo_BigEndian(bys []byte) (uint64, error) + func MoleculeU8ToGo(bys []byte) (uint8, error) + func SetAccountCellNextAccountId(data []byte, accountId DasAccountId) []byte + func SystemCodeScriptBytes() ([]byte, error) + func SystemCodeScriptFromBytes(bys []byte) error + func TimingAsyncSystemCodeScriptOutPoint(p *TimingAsyncSystemCodeScriptParam) + func UseVersion2SystemScriptCodeHash() + func UseVersion3SystemScriptCodeHash() + func UseVersionReleaseSystemScriptCodeHash() + type AccountCell struct + func NewAccountCell(p *AccountCellParam) *AccountCell + func (c *AccountCell) Data() ([]byte, error) + func (c *AccountCell) LockDepCell() *types.CellDep + func (c *AccountCell) LockScript() *types.Script + func (c *AccountCell) SoDeps() []types.CellDep + func (c *AccountCell) TableType() TableType + func (c *AccountCell) TypeDepCell() *types.CellDep + func (c *AccountCell) TypeScript() *types.Script + type AccountCellData struct + func AccountCellDataDefault() AccountCellData + func AccountCellDataFromSlice(slice []byte, compatible bool) (*AccountCellData, error) + func AccountCellDataFromSliceUnchecked(slice []byte) *AccountCellData + func (s *AccountCellData) Account() *AccountChars + func (s *AccountCellData) AsBuilder() AccountCellDataBuilder + func (s *AccountCellData) AsSlice() []byte + func (s *AccountCellData) CountExtraFields() uint + func (s *AccountCellData) FieldCount() uint + func (s *AccountCellData) HasExtraFields() bool + func (s *AccountCellData) Id() *AccountId + func (s *AccountCellData) IsEmpty() bool + func (s *AccountCellData) LastEditManagerAt() *Timestamp + func (s *AccountCellData) LastEditRecordsAt() *Timestamp + func (s *AccountCellData) LastTransferAccountAt() *Timestamp + func (s *AccountCellData) Len() uint + func (s *AccountCellData) Records() *Records + func (s *AccountCellData) RegisteredAt() *Uint64 + func (s *AccountCellData) Status() *Uint8 + func (s *AccountCellData) TotalSize() uint + type AccountCellDataBuilder struct + func NewAccountCellDataBuilder() *AccountCellDataBuilder + func (s *AccountCellDataBuilder) Account(v AccountChars) *AccountCellDataBuilder + func (s *AccountCellDataBuilder) Build() AccountCellData + func (s *AccountCellDataBuilder) Id(v AccountId) *AccountCellDataBuilder + func (s *AccountCellDataBuilder) LastEditManagerAt(v Timestamp) *AccountCellDataBuilder + func (s *AccountCellDataBuilder) LastEditRecordsAt(v Timestamp) *AccountCellDataBuilder + func (s *AccountCellDataBuilder) LastTransferAccountAt(v Timestamp) *AccountCellDataBuilder + func (s *AccountCellDataBuilder) Records(v Records) *AccountCellDataBuilder + func (s *AccountCellDataBuilder) RegisteredAt(v Uint64) *AccountCellDataBuilder + func (s *AccountCellDataBuilder) Status(v Uint8) *AccountCellDataBuilder + type AccountCellDataV1 struct + func AccountCellDataV1Default() AccountCellDataV1 + func AccountCellDataV1FromSlice(slice []byte, compatible bool) (*AccountCellDataV1, error) + func AccountCellDataV1FromSliceUnchecked(slice []byte) *AccountCellDataV1 + func (s *AccountCellDataV1) Account() *AccountChars + func (s *AccountCellDataV1) AsBuilder() AccountCellDataV1Builder + func (s *AccountCellDataV1) AsSlice() []byte + func (s *AccountCellDataV1) CountExtraFields() uint + func (s *AccountCellDataV1) FieldCount() uint + func (s *AccountCellDataV1) HasExtraFields() bool + func (s *AccountCellDataV1) Id() *AccountId + func (s *AccountCellDataV1) IsEmpty() bool + func (s *AccountCellDataV1) Len() uint + func (s *AccountCellDataV1) Records() *Records + func (s *AccountCellDataV1) RegisteredAt() *Uint64 + func (s *AccountCellDataV1) Status() *Uint8 + func (s *AccountCellDataV1) TotalSize() uint + func (s *AccountCellDataV1) UpdatedAt() *Uint64 + type AccountCellDataV1Builder struct + func NewAccountCellDataV1Builder() *AccountCellDataV1Builder + func (s *AccountCellDataV1Builder) Account(v AccountChars) *AccountCellDataV1Builder + func (s *AccountCellDataV1Builder) Build() AccountCellDataV1 + func (s *AccountCellDataV1Builder) Id(v AccountId) *AccountCellDataV1Builder + func (s *AccountCellDataV1Builder) Records(v Records) *AccountCellDataV1Builder + func (s *AccountCellDataV1Builder) RegisteredAt(v Uint64) *AccountCellDataV1Builder + func (s *AccountCellDataV1Builder) Status(v Uint8) *AccountCellDataV1Builder + func (s *AccountCellDataV1Builder) UpdatedAt(v Uint64) *AccountCellDataV1Builder + type AccountCellDatas struct + NewAccountCellData *AccountCellTxDataParam + type AccountCellParam struct + CellCodeInfo DASCellBaseInfo + DasLock DASCellBaseInfo + DasLockParam *DasLockParam + DataBytes []byte + TestNet bool + TxDataParam *AccountCellTxDataParam + Version uint32 + type AccountCellStatus uint8 + const AccountCellStatus_Normal + const AccountCellStatus_OnBid + const AccountCellStatus_OnSale + const AccountWitnessStatus_Exist + const AccountWitnessStatus_New + const AccountWitnessStatus_Proposed + func (a AccountCellStatus) Str() string + type AccountCellTxDataParam struct + AccountInfo VersionAccountCell + ExpiredAt uint64 + NextAccountId DasAccountId + type AccountChar struct + func AccountCharDefault() AccountChar + func AccountCharFromSlice(slice []byte, compatible bool) (*AccountChar, error) + func AccountCharFromSliceUnchecked(slice []byte) *AccountChar + func (s *AccountChar) AsBuilder() AccountCharBuilder + func (s *AccountChar) AsSlice() []byte + func (s *AccountChar) Bytes() *Bytes + func (s *AccountChar) CharSetName() *Uint32 + func (s *AccountChar) CountExtraFields() uint + func (s *AccountChar) FieldCount() uint + func (s *AccountChar) HasExtraFields() bool + func (s *AccountChar) IsEmpty() bool + func (s *AccountChar) Len() uint + func (s *AccountChar) TotalSize() uint + type AccountCharBuilder struct + func NewAccountCharBuilder() *AccountCharBuilder + func (s *AccountCharBuilder) Build() AccountChar + func (s *AccountCharBuilder) Bytes(v Bytes) *AccountCharBuilder + func (s *AccountCharBuilder) CharSetName(v Uint32) *AccountCharBuilder + type AccountCharType uint32 + const AccountChar_Emoji + const AccountChar_En + const AccountChar_Number + const AccountChar_Zh_Cn + type AccountChars struct + func AccountCharsDefault() AccountChars + func AccountCharsFromSlice(slice []byte, compatible bool) (*AccountChars, error) + func AccountCharsFromSliceUnchecked(slice []byte) *AccountChars + func (s *AccountChars) AsBuilder() AccountCharsBuilder + func (s *AccountChars) AsSlice() []byte + func (s *AccountChars) Get(index uint) *AccountChar + func (s *AccountChars) IsEmpty() bool + func (s *AccountChars) ItemCount() uint + func (s *AccountChars) Len() uint + func (s *AccountChars) TotalSize() uint + type AccountCharsBuilder struct + func NewAccountCharsBuilder() *AccountCharsBuilder + func (s *AccountCharsBuilder) Build() AccountChars + func (s *AccountCharsBuilder) Extend(iter []AccountChar) *AccountCharsBuilder + func (s *AccountCharsBuilder) Push(v AccountChar) *AccountCharsBuilder + func (s *AccountCharsBuilder) Set(v []AccountChar) *AccountCharsBuilder + type AccountId struct + func AccountIdDefault() AccountId + func AccountIdFromSlice(slice []byte, _compatible bool) (*AccountId, error) + func AccountIdFromSliceUnchecked(slice []byte) *AccountId + func (s *AccountId) AsBuilder() AccountIdBuilder + func (s *AccountId) AsSlice() []byte + func (s *AccountId) Nth0() *Byte + func (s *AccountId) Nth1() *Byte + func (s *AccountId) Nth10() *Byte + func (s *AccountId) Nth11() *Byte + func (s *AccountId) Nth12() *Byte + func (s *AccountId) Nth13() *Byte + func (s *AccountId) Nth14() *Byte + func (s *AccountId) Nth15() *Byte + func (s *AccountId) Nth16() *Byte + func (s *AccountId) Nth17() *Byte + func (s *AccountId) Nth18() *Byte + func (s *AccountId) Nth19() *Byte + func (s *AccountId) Nth2() *Byte + func (s *AccountId) Nth3() *Byte + func (s *AccountId) Nth4() *Byte + func (s *AccountId) Nth5() *Byte + func (s *AccountId) Nth6() *Byte + func (s *AccountId) Nth7() *Byte + func (s *AccountId) Nth8() *Byte + func (s *AccountId) Nth9() *Byte + func (s *AccountId) RawData() []byte + type AccountIdBuilder struct + func NewAccountIdBuilder() *AccountIdBuilder + func (s *AccountIdBuilder) Build() AccountId + func (s *AccountIdBuilder) Nth0(v Byte) *AccountIdBuilder + func (s *AccountIdBuilder) Nth1(v Byte) *AccountIdBuilder + func (s *AccountIdBuilder) Nth10(v Byte) *AccountIdBuilder + func (s *AccountIdBuilder) Nth11(v Byte) *AccountIdBuilder + func (s *AccountIdBuilder) Nth12(v Byte) *AccountIdBuilder + func (s *AccountIdBuilder) Nth13(v Byte) *AccountIdBuilder + func (s *AccountIdBuilder) Nth14(v Byte) *AccountIdBuilder + func (s *AccountIdBuilder) Nth15(v Byte) *AccountIdBuilder + func (s *AccountIdBuilder) Nth16(v Byte) *AccountIdBuilder + func (s *AccountIdBuilder) Nth17(v Byte) *AccountIdBuilder + func (s *AccountIdBuilder) Nth18(v Byte) *AccountIdBuilder + func (s *AccountIdBuilder) Nth19(v Byte) *AccountIdBuilder + func (s *AccountIdBuilder) Nth2(v Byte) *AccountIdBuilder + func (s *AccountIdBuilder) Nth3(v Byte) *AccountIdBuilder + func (s *AccountIdBuilder) Nth4(v Byte) *AccountIdBuilder + func (s *AccountIdBuilder) Nth5(v Byte) *AccountIdBuilder + func (s *AccountIdBuilder) Nth6(v Byte) *AccountIdBuilder + func (s *AccountIdBuilder) Nth7(v Byte) *AccountIdBuilder + func (s *AccountIdBuilder) Nth8(v Byte) *AccountIdBuilder + func (s *AccountIdBuilder) Nth9(v Byte) *AccountIdBuilder + func (s *AccountIdBuilder) Set(v [20]Byte) *AccountIdBuilder + type ActionData struct + func ActionDataDefault() ActionData + func ActionDataFromSlice(slice []byte, compatible bool) (*ActionData, error) + func ActionDataFromSliceUnchecked(slice []byte) *ActionData + func (s *ActionData) Action() *Bytes + func (s *ActionData) AsBuilder() ActionDataBuilder + func (s *ActionData) AsSlice() []byte + func (s *ActionData) CountExtraFields() uint + func (s *ActionData) FieldCount() uint + func (s *ActionData) HasExtraFields() bool + func (s *ActionData) IsEmpty() bool + func (s *ActionData) Len() uint + func (s *ActionData) Params() *Bytes + func (s *ActionData) TotalSize() uint + type ActionDataBuilder struct + func NewActionDataBuilder() *ActionDataBuilder + func (s *ActionDataBuilder) Action(v Bytes) *ActionDataBuilder + func (s *ActionDataBuilder) Build() ActionData + func (s *ActionDataBuilder) Params(v Bytes) *ActionDataBuilder + type AddDasOutputCallback func(cellCap uint64, outputIndex uint32) + type ApplyRegisterCell struct + func NewApplyRegisterCell(p *ApplyRegisterCellParam) *ApplyRegisterCell + func (c *ApplyRegisterCell) Data() ([]byte, error) + func (c *ApplyRegisterCell) LockDepCell() *types.CellDep + func (c *ApplyRegisterCell) LockScript() *types.Script + func (c *ApplyRegisterCell) SoDeps() []types.CellDep + func (c *ApplyRegisterCell) TableType() TableType + func (c *ApplyRegisterCell) TypeDepCell() *types.CellDep + func (c *ApplyRegisterCell) TypeScript() *types.Script + type ApplyRegisterCellParam struct + Account DasAccount + CellCodeInfo DASCellBaseInfo + Height uint64 + PubkeyHashBytes []byte + SenderLockScriptInfo DASCellBaseInfo + TimeUnix uint64 + Version uint32 + type BiddingCellData struct + func BiddingCellDataDefault() BiddingCellData + func BiddingCellDataFromSlice(slice []byte, compatible bool) (*BiddingCellData, error) + func BiddingCellDataFromSliceUnchecked(slice []byte) *BiddingCellData + func (s *BiddingCellData) AsBuilder() BiddingCellDataBuilder + func (s *BiddingCellData) AsSlice() []byte + func (s *BiddingCellData) CountExtraFields() uint + func (s *BiddingCellData) CurrentBidder() *ScriptOpt + func (s *BiddingCellData) CurrentPrice() *Uint64 + func (s *BiddingCellData) FieldCount() uint + func (s *BiddingCellData) HasExtraFields() bool + func (s *BiddingCellData) IsEmpty() bool + func (s *BiddingCellData) Len() uint + func (s *BiddingCellData) MarketType() *Uint8 + func (s *BiddingCellData) StartedAt() *Uint64 + func (s *BiddingCellData) StartingPrice() *Uint64 + func (s *BiddingCellData) TotalSize() uint + type BiddingCellDataBuilder struct + func NewBiddingCellDataBuilder() *BiddingCellDataBuilder + func (s *BiddingCellDataBuilder) Build() BiddingCellData + func (s *BiddingCellDataBuilder) CurrentBidder(v ScriptOpt) *BiddingCellDataBuilder + func (s *BiddingCellDataBuilder) CurrentPrice(v Uint64) *BiddingCellDataBuilder + func (s *BiddingCellDataBuilder) MarketType(v Uint8) *BiddingCellDataBuilder + func (s *BiddingCellDataBuilder) StartedAt(v Uint64) *BiddingCellDataBuilder + func (s *BiddingCellDataBuilder) StartingPrice(v Uint64) *BiddingCellDataBuilder + type BiddingCellParam struct + AccountId DasAccountId + AlwaysSpendableScriptInfo DASCellBaseInfo + CellCodeInfo DASCellBaseInfo + Data Data + Price uint64 + Version uint32 + type BuildTransactionRet struct + Group []int + LockType LockScriptType + WitnessArg *types.WitnessArgs + type Byte [1]byte + func ByteDefault() Byte + func ByteFromSlice(slice []byte, _compatible bool) (*Byte, error) + func ByteFromSliceUnchecked(slice []byte) *Byte + func GoByteToMoleculeByte(byte byte) Byte + func GoBytesToMoleculeAccountBytes(bys []byte) [dasAccountIdLen]Byte + func GoTimeUnixToMoleculeBytes(timeSec int64) [8]Byte + func NewByte(b byte) Byte + func (b *Byte) AsSlice() []byte + type Bytes struct + func BytesDefault() Bytes + func BytesFromSlice(slice []byte, _compatible bool) (*Bytes, error) + func BytesFromSliceUnchecked(slice []byte) *Bytes + func GoBytesToMoleculeBytes(bys []byte) Bytes + func GoStrToMoleculeBytes(str string) Bytes + func (s *Bytes) AsBuilder() BytesBuilder + func (s *Bytes) AsSlice() []byte + func (s *Bytes) Get(index uint) *Byte + func (s *Bytes) IsEmpty() bool + func (s *Bytes) ItemCount() uint + func (s *Bytes) Len() uint + func (s *Bytes) RawData() []byte + func (s *Bytes) TotalSize() uint + type BytesBuilder struct + func NewBytesBuilder() *BytesBuilder + func (s *BytesBuilder) Build() Bytes + func (s *BytesBuilder) Extend(iter []Byte) *BytesBuilder + func (s *BytesBuilder) Push(v Byte) *BytesBuilder + func (s *BytesBuilder) Set(v []Byte) *BytesBuilder + type CalAccountCellExpiredAtParam struct + AccountBytesLen uint32 + AccountCellCap uint64 + DiscountRate uint64 + PreAccountCellCap uint64 + PriceConfigNew uint64 + Quote uint64 + RefCellCap uint64 + func (c CalAccountCellExpiredAtParam) Json() string + type CellDepWithWitness struct + CellDep *types.CellDep + GetWitnessData CellDepWithWitnessFunc + type CellDepWithWitnessFunc func(inputIndex uint32) ([]byte, error) + type CellWitnessFunc func(inputIndex uint32) ([]byte, error) + type ChainType uint + const ChainType_BTC + const ChainType_CKB + const ChainType_ETH + const ChainType_TRON + const ChainType_WX + func (c ChainType) String() string + type Chars struct + func CharsDefault() Chars + func CharsFromSlice(slice []byte, compatible bool) (*Chars, error) + func CharsFromSliceUnchecked(slice []byte) *Chars + func (s *Chars) AsBuilder() CharsBuilder + func (s *Chars) AsSlice() []byte + func (s *Chars) Get(index uint) *Bytes + func (s *Chars) IsEmpty() bool + func (s *Chars) ItemCount() uint + func (s *Chars) Len() uint + func (s *Chars) TotalSize() uint + type CharsBuilder struct + func NewCharsBuilder() *CharsBuilder + func (s *CharsBuilder) Build() Chars + func (s *CharsBuilder) Extend(iter []Bytes) *CharsBuilder + func (s *CharsBuilder) Push(v Bytes) *CharsBuilder + func (s *CharsBuilder) Set(v []Bytes) *CharsBuilder + type ConfigCellAccount struct + func ConfigCellAccountDefault() ConfigCellAccount + func ConfigCellAccountFromSlice(slice []byte, compatible bool) (*ConfigCellAccount, error) + func ConfigCellAccountFromSliceUnchecked(slice []byte) *ConfigCellAccount + func (s *ConfigCellAccount) AsBuilder() ConfigCellAccountBuilder + func (s *ConfigCellAccount) AsSlice() []byte + func (s *ConfigCellAccount) BasicCapacity() *Uint64 + func (s *ConfigCellAccount) CountExtraFields() uint + func (s *ConfigCellAccount) EditManagerFee() *Uint64 + func (s *ConfigCellAccount) EditManagerThrottle() *Uint32 + func (s *ConfigCellAccount) EditRecordsFee() *Uint64 + func (s *ConfigCellAccount) EditRecordsThrottle() *Uint32 + func (s *ConfigCellAccount) ExpirationGracePeriod() *Uint32 + func (s *ConfigCellAccount) FieldCount() uint + func (s *ConfigCellAccount) HasExtraFields() bool + func (s *ConfigCellAccount) IsEmpty() bool + func (s *ConfigCellAccount) Len() uint + func (s *ConfigCellAccount) MaxLength() *Uint32 + func (s *ConfigCellAccount) PreparedFeeCapacity() *Uint64 + func (s *ConfigCellAccount) RecordMinTtl() *Uint32 + func (s *ConfigCellAccount) RecordSizeLimit() *Uint32 + func (s *ConfigCellAccount) TotalSize() uint + func (s *ConfigCellAccount) TransferAccountFee() *Uint64 + func (s *ConfigCellAccount) TransferAccountThrottle() *Uint32 + type ConfigCellAccountBuilder struct + func NewConfigCellAccountBuilder() *ConfigCellAccountBuilder + func (s *ConfigCellAccountBuilder) BasicCapacity(v Uint64) *ConfigCellAccountBuilder + func (s *ConfigCellAccountBuilder) Build() ConfigCellAccount + func (s *ConfigCellAccountBuilder) EditManagerFee(v Uint64) *ConfigCellAccountBuilder + func (s *ConfigCellAccountBuilder) EditManagerThrottle(v Uint32) *ConfigCellAccountBuilder + func (s *ConfigCellAccountBuilder) EditRecordsFee(v Uint64) *ConfigCellAccountBuilder + func (s *ConfigCellAccountBuilder) EditRecordsThrottle(v Uint32) *ConfigCellAccountBuilder + func (s *ConfigCellAccountBuilder) ExpirationGracePeriod(v Uint32) *ConfigCellAccountBuilder + func (s *ConfigCellAccountBuilder) MaxLength(v Uint32) *ConfigCellAccountBuilder + func (s *ConfigCellAccountBuilder) PreparedFeeCapacity(v Uint64) *ConfigCellAccountBuilder + func (s *ConfigCellAccountBuilder) RecordMinTtl(v Uint32) *ConfigCellAccountBuilder + func (s *ConfigCellAccountBuilder) RecordSizeLimit(v Uint32) *ConfigCellAccountBuilder + func (s *ConfigCellAccountBuilder) TransferAccountFee(v Uint64) *ConfigCellAccountBuilder + func (s *ConfigCellAccountBuilder) TransferAccountThrottle(v Uint32) *ConfigCellAccountBuilder + type ConfigCellApply struct + func ConfigCellApplyDefault() ConfigCellApply + func ConfigCellApplyFromSlice(slice []byte, compatible bool) (*ConfigCellApply, error) + func ConfigCellApplyFromSliceUnchecked(slice []byte) *ConfigCellApply + func (s *ConfigCellApply) ApplyMaxWaitingBlockNumber() *Uint32 + func (s *ConfigCellApply) ApplyMinWaitingBlockNumber() *Uint32 + func (s *ConfigCellApply) AsBuilder() ConfigCellApplyBuilder + func (s *ConfigCellApply) AsSlice() []byte + func (s *ConfigCellApply) CountExtraFields() uint + func (s *ConfigCellApply) FieldCount() uint + func (s *ConfigCellApply) HasExtraFields() bool + func (s *ConfigCellApply) IsEmpty() bool + func (s *ConfigCellApply) Len() uint + func (s *ConfigCellApply) TotalSize() uint + type ConfigCellApplyBuilder struct + func NewConfigCellApplyBuilder() *ConfigCellApplyBuilder + func (s *ConfigCellApplyBuilder) ApplyMaxWaitingBlockNumber(v Uint32) *ConfigCellApplyBuilder + func (s *ConfigCellApplyBuilder) ApplyMinWaitingBlockNumber(v Uint32) *ConfigCellApplyBuilder + func (s *ConfigCellApplyBuilder) Build() ConfigCellApply + type ConfigCellIncome struct + func ConfigCellIncomeDefault() ConfigCellIncome + func ConfigCellIncomeFromSlice(slice []byte, compatible bool) (*ConfigCellIncome, error) + func ConfigCellIncomeFromSliceUnchecked(slice []byte) *ConfigCellIncome + func (s *ConfigCellIncome) AsBuilder() ConfigCellIncomeBuilder + func (s *ConfigCellIncome) AsSlice() []byte + func (s *ConfigCellIncome) BasicCapacity() *Uint64 + func (s *ConfigCellIncome) CountExtraFields() uint + func (s *ConfigCellIncome) FieldCount() uint + func (s *ConfigCellIncome) HasExtraFields() bool + func (s *ConfigCellIncome) IsEmpty() bool + func (s *ConfigCellIncome) Len() uint + func (s *ConfigCellIncome) MaxRecords() *Uint32 + func (s *ConfigCellIncome) MinTransferCapacity() *Uint64 + func (s *ConfigCellIncome) TotalSize() uint + type ConfigCellIncomeBuilder struct + func NewConfigCellIncomeBuilder() *ConfigCellIncomeBuilder + func (s *ConfigCellIncomeBuilder) BasicCapacity(v Uint64) *ConfigCellIncomeBuilder + func (s *ConfigCellIncomeBuilder) Build() ConfigCellIncome + func (s *ConfigCellIncomeBuilder) MaxRecords(v Uint32) *ConfigCellIncomeBuilder + func (s *ConfigCellIncomeBuilder) MinTransferCapacity(v Uint64) *ConfigCellIncomeBuilder + type ConfigCellMain struct + func ConfigCellMainDefault() ConfigCellMain + func ConfigCellMainFromSlice(slice []byte, compatible bool) (*ConfigCellMain, error) + func ConfigCellMainFromSliceUnchecked(slice []byte) *ConfigCellMain + func (s *ConfigCellMain) AsBuilder() ConfigCellMainBuilder + func (s *ConfigCellMain) AsSlice() []byte + func (s *ConfigCellMain) CountExtraFields() uint + func (s *ConfigCellMain) DasLockOutPointTable() *DasLockOutPointTable + func (s *ConfigCellMain) FieldCount() uint + func (s *ConfigCellMain) HasExtraFields() bool + func (s *ConfigCellMain) IsEmpty() bool + func (s *ConfigCellMain) Len() uint + func (s *ConfigCellMain) Status() *Uint8 + func (s *ConfigCellMain) TotalSize() uint + func (s *ConfigCellMain) TypeIdTable() *TypeIdTable + type ConfigCellMainBuilder struct + func NewConfigCellMainBuilder() *ConfigCellMainBuilder + func (s *ConfigCellMainBuilder) Build() ConfigCellMain + func (s *ConfigCellMainBuilder) DasLockOutPointTable(v DasLockOutPointTable) *ConfigCellMainBuilder + func (s *ConfigCellMainBuilder) Status(v Uint8) *ConfigCellMainBuilder + func (s *ConfigCellMainBuilder) TypeIdTable(v TypeIdTable) *ConfigCellMainBuilder + type ConfigCellMarket struct + func ConfigCellMarketDefault() ConfigCellMarket + func ConfigCellMarketFromSlice(slice []byte, compatible bool) (*ConfigCellMarket, error) + func ConfigCellMarketFromSliceUnchecked(slice []byte) *ConfigCellMarket + func (s *ConfigCellMarket) AsBuilder() ConfigCellMarketBuilder + func (s *ConfigCellMarket) AsSlice() []byte + func (s *ConfigCellMarket) CountExtraFields() uint + func (s *ConfigCellMarket) FieldCount() uint + func (s *ConfigCellMarket) HasExtraFields() bool + func (s *ConfigCellMarket) IsEmpty() bool + func (s *ConfigCellMarket) Len() uint + func (s *ConfigCellMarket) PrimaryMarket() *MarketConfig + func (s *ConfigCellMarket) SecondaryMarket() *MarketConfig + func (s *ConfigCellMarket) TotalSize() uint + type ConfigCellMarketBuilder struct + func NewConfigCellMarketBuilder() *ConfigCellMarketBuilder + func (s *ConfigCellMarketBuilder) Build() ConfigCellMarket + func (s *ConfigCellMarketBuilder) PrimaryMarket(v MarketConfig) *ConfigCellMarketBuilder + func (s *ConfigCellMarketBuilder) SecondaryMarket(v MarketConfig) *ConfigCellMarketBuilder + type ConfigCellPrice struct + func ConfigCellPriceDefault() ConfigCellPrice + func ConfigCellPriceFromSlice(slice []byte, compatible bool) (*ConfigCellPrice, error) + func ConfigCellPriceFromSliceUnchecked(slice []byte) *ConfigCellPrice + func (s *ConfigCellPrice) AsBuilder() ConfigCellPriceBuilder + func (s *ConfigCellPrice) AsSlice() []byte + func (s *ConfigCellPrice) CountExtraFields() uint + func (s *ConfigCellPrice) Discount() *DiscountConfig + func (s *ConfigCellPrice) FieldCount() uint + func (s *ConfigCellPrice) HasExtraFields() bool + func (s *ConfigCellPrice) IsEmpty() bool + func (s *ConfigCellPrice) Len() uint + func (s *ConfigCellPrice) Prices() *PriceConfigList + func (s *ConfigCellPrice) TotalSize() uint + type ConfigCellPriceBuilder struct + func NewConfigCellPriceBuilder() *ConfigCellPriceBuilder + func (s *ConfigCellPriceBuilder) Build() ConfigCellPrice + func (s *ConfigCellPriceBuilder) Discount(v DiscountConfig) *ConfigCellPriceBuilder + func (s *ConfigCellPriceBuilder) Prices(v PriceConfigList) *ConfigCellPriceBuilder + type ConfigCellProfitRate struct + func ConfigCellProfitRateDefault() ConfigCellProfitRate + func ConfigCellProfitRateFromSlice(slice []byte, compatible bool) (*ConfigCellProfitRate, error) + func ConfigCellProfitRateFromSliceUnchecked(slice []byte) *ConfigCellProfitRate + func (s *ConfigCellProfitRate) AsBuilder() ConfigCellProfitRateBuilder + func (s *ConfigCellProfitRate) AsSlice() []byte + func (s *ConfigCellProfitRate) Channel() *Uint32 + func (s *ConfigCellProfitRate) CountExtraFields() uint + func (s *ConfigCellProfitRate) FieldCount() uint + func (s *ConfigCellProfitRate) HasExtraFields() bool + func (s *ConfigCellProfitRate) IncomeConsolidate() *Uint32 + func (s *ConfigCellProfitRate) Inviter() *Uint32 + func (s *ConfigCellProfitRate) IsEmpty() bool + func (s *ConfigCellProfitRate) Len() uint + func (s *ConfigCellProfitRate) ProposalConfirm() *Uint32 + func (s *ConfigCellProfitRate) ProposalCreate() *Uint32 + func (s *ConfigCellProfitRate) TotalSize() uint + type ConfigCellProfitRateBuilder struct + func NewConfigCellProfitRateBuilder() *ConfigCellProfitRateBuilder + func (s *ConfigCellProfitRateBuilder) Build() ConfigCellProfitRate + func (s *ConfigCellProfitRateBuilder) Channel(v Uint32) *ConfigCellProfitRateBuilder + func (s *ConfigCellProfitRateBuilder) IncomeConsolidate(v Uint32) *ConfigCellProfitRateBuilder + func (s *ConfigCellProfitRateBuilder) Inviter(v Uint32) *ConfigCellProfitRateBuilder + func (s *ConfigCellProfitRateBuilder) ProposalConfirm(v Uint32) *ConfigCellProfitRateBuilder + func (s *ConfigCellProfitRateBuilder) ProposalCreate(v Uint32) *ConfigCellProfitRateBuilder + type ConfigCellProposal struct + func ConfigCellProposalDefault() ConfigCellProposal + func ConfigCellProposalFromSlice(slice []byte, compatible bool) (*ConfigCellProposal, error) + func ConfigCellProposalFromSliceUnchecked(slice []byte) *ConfigCellProposal + func (s *ConfigCellProposal) AsBuilder() ConfigCellProposalBuilder + func (s *ConfigCellProposal) AsSlice() []byte + func (s *ConfigCellProposal) CountExtraFields() uint + func (s *ConfigCellProposal) FieldCount() uint + func (s *ConfigCellProposal) HasExtraFields() bool + func (s *ConfigCellProposal) IsEmpty() bool + func (s *ConfigCellProposal) Len() uint + func (s *ConfigCellProposal) ProposalMaxAccountAffect() *Uint32 + func (s *ConfigCellProposal) ProposalMaxPreAccountContain() *Uint32 + func (s *ConfigCellProposal) ProposalMinConfirmInterval() *Uint8 + func (s *ConfigCellProposal) ProposalMinExtendInterval() *Uint8 + func (s *ConfigCellProposal) ProposalMinRecycleInterval() *Uint8 + func (s *ConfigCellProposal) TotalSize() uint + type ConfigCellProposalBuilder struct + func NewConfigCellProposalBuilder() *ConfigCellProposalBuilder + func (s *ConfigCellProposalBuilder) Build() ConfigCellProposal + func (s *ConfigCellProposalBuilder) ProposalMaxAccountAffect(v Uint32) *ConfigCellProposalBuilder + func (s *ConfigCellProposalBuilder) ProposalMaxPreAccountContain(v Uint32) *ConfigCellProposalBuilder + func (s *ConfigCellProposalBuilder) ProposalMinConfirmInterval(v Uint8) *ConfigCellProposalBuilder + func (s *ConfigCellProposalBuilder) ProposalMinExtendInterval(v Uint8) *ConfigCellProposalBuilder + func (s *ConfigCellProposalBuilder) ProposalMinRecycleInterval(v Uint8) *ConfigCellProposalBuilder + type ConfigCellRelease struct + func ConfigCellReleaseDefault() ConfigCellRelease + func ConfigCellReleaseFromSlice(slice []byte, compatible bool) (*ConfigCellRelease, error) + func ConfigCellReleaseFromSliceUnchecked(slice []byte) *ConfigCellRelease + func (s *ConfigCellRelease) AsBuilder() ConfigCellReleaseBuilder + func (s *ConfigCellRelease) AsSlice() []byte + func (s *ConfigCellRelease) CountExtraFields() uint + func (s *ConfigCellRelease) FieldCount() uint + func (s *ConfigCellRelease) HasExtraFields() bool + func (s *ConfigCellRelease) IsEmpty() bool + func (s *ConfigCellRelease) Len() uint + func (s *ConfigCellRelease) ReleaseRules() *ReleaseRules + func (s *ConfigCellRelease) TotalSize() uint + type ConfigCellReleaseBuilder struct + func NewConfigCellReleaseBuilder() *ConfigCellReleaseBuilder + func (s *ConfigCellReleaseBuilder) Build() ConfigCellRelease + func (s *ConfigCellReleaseBuilder) ReleaseRules(v ReleaseRules) *ConfigCellReleaseBuilder + type DASCellBaseInfo struct + ContractTypeScript types.Script + Dep DASCellBaseInfoDep + Name string + Out DASCellBaseInfoOut + func SetSystemCodeScriptOutPoint(typeId types.Hash, point types.OutPoint) *DASCellBaseInfo + type DASCellBaseInfoDep struct + DepType types.DepType + TxHash types.Hash + TxIndex uint + func (c DASCellBaseInfoDep) ToDepCell() *types.CellDep + type DASCellBaseInfoOut struct + Args []byte + CodeHash types.Hash + CodeHashType types.ScriptHashType + func DASCellBaseInfoOutFromScript(script *types.Script) DASCellBaseInfoOut + func (c DASCellBaseInfoOut) SameCodeHash(script *types.Script) bool + func (c DASCellBaseInfoOut) SameScript(script *types.Script) bool + func (c DASCellBaseInfoOut) Script() *types.Script + type DASWitnessDataObj struct + TableBys []byte + TableType TableType + Tag string + func NewDasWitnessData(tableType TableType, tableBys []byte) *DASWitnessDataObj + func NewDasWitnessDataFromSlice(rawData []byte) (*DASWitnessDataObj, error) + func (d *DASWitnessDataObj) ToWitness() []byte + type DasAccount string + func AccountCharsToAccount(accountChars AccountChars) DasAccount + func DasAccountFromStr(account string) DasAccount + func (d DasAccount) AccountId() DasAccountId + func (d DasAccount) AccountValidateLen() int + func (d DasAccount) Bytes() []byte + func (d DasAccount) Format() string + func (d DasAccount) Str() string + func (d DasAccount) ValidErr() error + type DasAccountId [dasAccountIdLen]byte + func AccountCharsToAccountId(accountChars AccountChars) DasAccountId + func AccountIdFromOutputData(data []byte) (DasAccountId, error) + func BytesToDasAccountId(b []byte) DasAccountId + func DasAccountIdFromBytes(accountRawBytes []byte) DasAccountId + func HexToHash(s string) DasAccountId + func NextAccountIdFromOutputData(data []byte) (DasAccountId, error) + func (d *DasAccountId) SetBytes(b []byte) + func (d DasAccountId) Bytes() []byte + func (d DasAccountId) Compare(b DasAccountId) int + func (d DasAccountId) HexStr() string + func (d DasAccountId) Point() *DasAccountId + func (d DasAccountId) Str() string + type DasAccountSearchStatus int + const SearchStatus_AuctionSell + const SearchStatus_CandidateAccount + const SearchStatus_NotOpenRegister + const SearchStatus_OnePriceSell + const SearchStatus_Registerable + const SearchStatus_Registered + const SearchStatus_ReservedAccount + type DasLockArgsPairParam struct + HashIndexType DasLockCodeHashIndexType + Script types.Script + func (d DasLockArgsPairParam) Bytes() []byte + type DasLockCodeHashIndexType uint8 + const DasLockCodeHashIndexType_CKB_AnyOne + const DasLockCodeHashIndexType_CKB_MultiS + const DasLockCodeHashIndexType_CKB_Normal + const DasLockCodeHashIndexType_ETH_Normal + const DasLockCodeHashIndexType_TRON_Normal + func (t DasLockCodeHashIndexType) Bytes() []byte + func (t DasLockCodeHashIndexType) ChainType() ChainType + func (t DasLockCodeHashIndexType) ToScriptType(fromOwner bool) LockScriptType + type DasLockOutPointTable struct + func DasLockOutPointTableDefault() DasLockOutPointTable + func DasLockOutPointTableFromSlice(slice []byte, compatible bool) (*DasLockOutPointTable, error) + func DasLockOutPointTableFromSliceUnchecked(slice []byte) *DasLockOutPointTable + func (s *DasLockOutPointTable) AsBuilder() DasLockOutPointTableBuilder + func (s *DasLockOutPointTable) AsSlice() []byte + func (s *DasLockOutPointTable) CkbAnyoneCanPay() *OutPoint + func (s *DasLockOutPointTable) CkbMultisign() *OutPoint + func (s *DasLockOutPointTable) CkbSignall() *OutPoint + func (s *DasLockOutPointTable) CountExtraFields() uint + func (s *DasLockOutPointTable) Eth() *OutPoint + func (s *DasLockOutPointTable) FieldCount() uint + func (s *DasLockOutPointTable) HasExtraFields() bool + func (s *DasLockOutPointTable) IsEmpty() bool + func (s *DasLockOutPointTable) Len() uint + func (s *DasLockOutPointTable) TotalSize() uint + func (s *DasLockOutPointTable) Tron() *OutPoint + type DasLockOutPointTableBuilder struct + func NewDasLockOutPointTableBuilder() *DasLockOutPointTableBuilder + func (s *DasLockOutPointTableBuilder) Build() DasLockOutPointTable + func (s *DasLockOutPointTableBuilder) CkbAnyoneCanPay(v OutPoint) *DasLockOutPointTableBuilder + func (s *DasLockOutPointTableBuilder) CkbMultisign(v OutPoint) *DasLockOutPointTableBuilder + func (s *DasLockOutPointTableBuilder) CkbSignall(v OutPoint) *DasLockOutPointTableBuilder + func (s *DasLockOutPointTableBuilder) Eth(v OutPoint) *DasLockOutPointTableBuilder + func (s *DasLockOutPointTableBuilder) Tron(v OutPoint) *DasLockOutPointTableBuilder + type DasLockParam struct + ManagerCodeHashIndex []byte + ManagerPubkeyHash []byte + OwnerCodeHashIndexByte []byte + OwnerPubkeyHashByte []byte + func (d *DasLockParam) Bytes() []byte + type DasNetType int + const DasNetType_Mainnet + const DasNetType_Testnet2 + const DasNetType_Testnet3 + type Data struct + func BuildDasCommonMoleculeDataObj(depIndex, oldIndex, newIndex uint32, ...) (*Data, error) + func DataDefault() Data + func DataFromSlice(slice []byte, compatible bool) (*Data, error) + func DataFromSliceUnchecked(slice []byte) *Data + func (s *Data) AsBuilder() DataBuilder + func (s *Data) AsSlice() []byte + func (s *Data) CountExtraFields() uint + func (s *Data) Dep() *DataEntityOpt + func (s *Data) FieldCount() uint + func (s *Data) HasExtraFields() bool + func (s *Data) IsEmpty() bool + func (s *Data) Len() uint + func (s *Data) New() *DataEntityOpt + func (s *Data) Old() *DataEntityOpt + func (s *Data) TotalSize() uint + type DataBuilder struct + func NewDataBuilder() *DataBuilder + func (s *DataBuilder) Build() Data + func (s *DataBuilder) Dep(v DataEntityOpt) *DataBuilder + func (s *DataBuilder) New(v DataEntityOpt) *DataBuilder + func (s *DataBuilder) Old(v DataEntityOpt) *DataBuilder + type DataEntity struct + func DataEntityDefault() DataEntity + func DataEntityFromSlice(slice []byte, compatible bool) (*DataEntity, error) + func DataEntityFromSliceUnchecked(slice []byte) *DataEntity + func (s *DataEntity) AsBuilder() DataEntityBuilder + func (s *DataEntity) AsSlice() []byte + func (s *DataEntity) CountExtraFields() uint + func (s *DataEntity) Entity() *Bytes + func (s *DataEntity) FieldCount() uint + func (s *DataEntity) HasExtraFields() bool + func (s *DataEntity) Index() *Uint32 + func (s *DataEntity) IsEmpty() bool + func (s *DataEntity) Len() uint + func (s *DataEntity) TotalSize() uint + func (s *DataEntity) Version() *Uint32 + type DataEntityBuilder struct + func NewDataEntityBuilder() *DataEntityBuilder + func (s *DataEntityBuilder) Build() DataEntity + func (s *DataEntityBuilder) Entity(v Bytes) *DataEntityBuilder + func (s *DataEntityBuilder) Index(v Uint32) *DataEntityBuilder + func (s *DataEntityBuilder) Version(v Uint32) *DataEntityBuilder + type DataEntityChangeType uint + const DepToInput + const NewToDep + const NewToInput + type DataEntityOpt struct + func DataEntityOptDefault() DataEntityOpt + func DataEntityOptFromSlice(slice []byte, compatible bool) (*DataEntityOpt, error) + func DataEntityOptFromSliceUnchecked(slice []byte) *DataEntityOpt + func (s *DataEntityOpt) AsBuilder() DataEntityOptBuilder + func (s *DataEntityOpt) AsSlice() []byte + func (s *DataEntityOpt) IntoDataEntity() (*DataEntity, error) + func (s *DataEntityOpt) IsNone() bool + func (s *DataEntityOpt) IsSome() bool + type DataEntityOptBuilder struct + func NewDataEntityOptBuilder() *DataEntityOptBuilder + func (s *DataEntityOptBuilder) Build() DataEntityOpt + func (s *DataEntityOptBuilder) Set(v DataEntity) *DataEntityOptBuilder + type DiscountConfig struct + func DiscountConfigDefault() DiscountConfig + func DiscountConfigFromSlice(slice []byte, compatible bool) (*DiscountConfig, error) + func DiscountConfigFromSliceUnchecked(slice []byte) *DiscountConfig + func (s *DiscountConfig) AsBuilder() DiscountConfigBuilder + func (s *DiscountConfig) AsSlice() []byte + func (s *DiscountConfig) CountExtraFields() uint + func (s *DiscountConfig) FieldCount() uint + func (s *DiscountConfig) HasExtraFields() bool + func (s *DiscountConfig) InvitedDiscount() *Uint32 + func (s *DiscountConfig) IsEmpty() bool + func (s *DiscountConfig) Len() uint + func (s *DiscountConfig) TotalSize() uint + type DiscountConfigBuilder struct + func NewDiscountConfigBuilder() *DiscountConfigBuilder + func (s *DiscountConfigBuilder) Build() DiscountConfig + func (s *DiscountConfigBuilder) InvitedDiscount(v Uint32) *DiscountConfigBuilder + type EditRecordItem struct + Key string + Label string + TTL string + Type string + Value string + type EditRecordItemList []EditRecordItem + func MoleculeRecordsToGo(records Records) EditRecordItemList + func (l EditRecordItemList) ToMoleculeRecords() (*Records, error) + type Hash struct + func GoBytesToMoleculeHash(bytes []byte) Hash + func GoHexToMoleculeHash(hexStr string) Hash + func HashDefault() Hash + func HashFromSlice(slice []byte, _compatible bool) (*Hash, error) + func HashFromSliceUnchecked(slice []byte) *Hash + func (s *Hash) AsBuilder() HashBuilder + func (s *Hash) AsSlice() []byte + func (s *Hash) Nth0() *Byte + func (s *Hash) Nth1() *Byte + func (s *Hash) Nth10() *Byte + func (s *Hash) Nth11() *Byte + func (s *Hash) Nth12() *Byte + func (s *Hash) Nth13() *Byte + func (s *Hash) Nth14() *Byte + func (s *Hash) Nth15() *Byte + func (s *Hash) Nth16() *Byte + func (s *Hash) Nth17() *Byte + func (s *Hash) Nth18() *Byte + func (s *Hash) Nth19() *Byte + func (s *Hash) Nth2() *Byte + func (s *Hash) Nth20() *Byte + func (s *Hash) Nth21() *Byte + func (s *Hash) Nth22() *Byte + func (s *Hash) Nth23() *Byte + func (s *Hash) Nth24() *Byte + func (s *Hash) Nth25() *Byte + func (s *Hash) Nth26() *Byte + func (s *Hash) Nth27() *Byte + func (s *Hash) Nth28() *Byte + func (s *Hash) Nth29() *Byte + func (s *Hash) Nth3() *Byte + func (s *Hash) Nth30() *Byte + func (s *Hash) Nth31() *Byte + func (s *Hash) Nth4() *Byte + func (s *Hash) Nth5() *Byte + func (s *Hash) Nth6() *Byte + func (s *Hash) Nth7() *Byte + func (s *Hash) Nth8() *Byte + func (s *Hash) Nth9() *Byte + func (s *Hash) RawData() []byte + type HashBuilder struct + func NewHashBuilder() *HashBuilder + func (s *HashBuilder) Build() Hash + func (s *HashBuilder) Nth0(v Byte) *HashBuilder + func (s *HashBuilder) Nth1(v Byte) *HashBuilder + func (s *HashBuilder) Nth10(v Byte) *HashBuilder + func (s *HashBuilder) Nth11(v Byte) *HashBuilder + func (s *HashBuilder) Nth12(v Byte) *HashBuilder + func (s *HashBuilder) Nth13(v Byte) *HashBuilder + func (s *HashBuilder) Nth14(v Byte) *HashBuilder + func (s *HashBuilder) Nth15(v Byte) *HashBuilder + func (s *HashBuilder) Nth16(v Byte) *HashBuilder + func (s *HashBuilder) Nth17(v Byte) *HashBuilder + func (s *HashBuilder) Nth18(v Byte) *HashBuilder + func (s *HashBuilder) Nth19(v Byte) *HashBuilder + func (s *HashBuilder) Nth2(v Byte) *HashBuilder + func (s *HashBuilder) Nth20(v Byte) *HashBuilder + func (s *HashBuilder) Nth21(v Byte) *HashBuilder + func (s *HashBuilder) Nth22(v Byte) *HashBuilder + func (s *HashBuilder) Nth23(v Byte) *HashBuilder + func (s *HashBuilder) Nth24(v Byte) *HashBuilder + func (s *HashBuilder) Nth25(v Byte) *HashBuilder + func (s *HashBuilder) Nth26(v Byte) *HashBuilder + func (s *HashBuilder) Nth27(v Byte) *HashBuilder + func (s *HashBuilder) Nth28(v Byte) *HashBuilder + func (s *HashBuilder) Nth29(v Byte) *HashBuilder + func (s *HashBuilder) Nth3(v Byte) *HashBuilder + func (s *HashBuilder) Nth30(v Byte) *HashBuilder + func (s *HashBuilder) Nth31(v Byte) *HashBuilder + func (s *HashBuilder) Nth4(v Byte) *HashBuilder + func (s *HashBuilder) Nth5(v Byte) *HashBuilder + func (s *HashBuilder) Nth6(v Byte) *HashBuilder + func (s *HashBuilder) Nth7(v Byte) *HashBuilder + func (s *HashBuilder) Nth8(v Byte) *HashBuilder + func (s *HashBuilder) Nth9(v Byte) *HashBuilder + func (s *HashBuilder) Set(v [32]Byte) *HashBuilder + type HashOpt struct + func HashOptDefault() HashOpt + func HashOptFromSlice(slice []byte, compatible bool) (*HashOpt, error) + func HashOptFromSliceUnchecked(slice []byte) *HashOpt + func (s *HashOpt) AsBuilder() HashOptBuilder + func (s *HashOpt) AsSlice() []byte + func (s *HashOpt) IntoHash() (*Hash, error) + func (s *HashOpt) IsNone() bool + func (s *HashOpt) IsSome() bool + type HashOptBuilder struct + func NewHashOptBuilder() *HashOptBuilder + func (s *HashOptBuilder) Build() HashOpt + func (s *HashOptBuilder) Set(v Hash) *HashOptBuilder + type ICellData interface + AsSlice func() []byte + type ICellType interface + Data func() ([]byte, error) + LockDepCell func() *types.CellDep + LockScript func() *types.Script + SoDeps func() []types.CellDep + TableType func() TableType + TypeDepCell func() *types.CellDep + TypeScript func() *types.Script + type IncomeCell struct + func NewIncomeCell(p *IncomeCellParam) *IncomeCell + func (c *IncomeCell) Data() ([]byte, error) + func (c *IncomeCell) LockDepCell() *types.CellDep + func (c *IncomeCell) LockScript() *types.Script + func (c *IncomeCell) SoDeps() []types.CellDep + func (c *IncomeCell) TableType() TableType + func (c *IncomeCell) TypeDepCell() *types.CellDep + func (c *IncomeCell) TypeScript() *types.Script + type IncomeCellData struct + func IncomeCellDataDefault() IncomeCellData + func IncomeCellDataFromSlice(slice []byte, compatible bool) (*IncomeCellData, error) + func IncomeCellDataFromSliceUnchecked(slice []byte) *IncomeCellData + func (s *IncomeCellData) AsBuilder() IncomeCellDataBuilder + func (s *IncomeCellData) AsSlice() []byte + func (s *IncomeCellData) CountExtraFields() uint + func (s *IncomeCellData) Creator() *Script + func (s *IncomeCellData) FieldCount() uint + func (s *IncomeCellData) HasExtraFields() bool + func (s *IncomeCellData) IsEmpty() bool + func (s *IncomeCellData) Len() uint + func (s *IncomeCellData) Records() *IncomeRecords + func (s *IncomeCellData) TotalSize() uint + type IncomeCellDataBuilder struct + func NewIncomeCellDataBuilder() *IncomeCellDataBuilder + func (s *IncomeCellDataBuilder) Build() IncomeCellData + func (s *IncomeCellDataBuilder) Creator(v Script) *IncomeCellDataBuilder + func (s *IncomeCellDataBuilder) Records(v IncomeRecords) *IncomeCellDataBuilder + type IncomeCellParam struct + AlwaysSpendableScriptInfo DASCellBaseInfo + CellCodeInfo DASCellBaseInfo + IncomeCellData IncomeCellData + Version uint32 + type IncomeRecord struct + func IncomeRecordDefault() IncomeRecord + func IncomeRecordFromSlice(slice []byte, compatible bool) (*IncomeRecord, error) + func IncomeRecordFromSliceUnchecked(slice []byte) *IncomeRecord + func (s *IncomeRecord) AsBuilder() IncomeRecordBuilder + func (s *IncomeRecord) AsSlice() []byte + func (s *IncomeRecord) BelongTo() *Script + func (s *IncomeRecord) Capacity() *Uint64 + func (s *IncomeRecord) CountExtraFields() uint + func (s *IncomeRecord) FieldCount() uint + func (s *IncomeRecord) HasExtraFields() bool + func (s *IncomeRecord) IsEmpty() bool + func (s *IncomeRecord) Len() uint + func (s *IncomeRecord) TotalSize() uint + type IncomeRecordBuilder struct + func NewIncomeRecordBuilder() *IncomeRecordBuilder + func (s *IncomeRecordBuilder) BelongTo(v Script) *IncomeRecordBuilder + func (s *IncomeRecordBuilder) Build() IncomeRecord + func (s *IncomeRecordBuilder) Capacity(v Uint64) *IncomeRecordBuilder + type IncomeRecords struct + func IncomeRecordsDefault() IncomeRecords + func IncomeRecordsFromSlice(slice []byte, compatible bool) (*IncomeRecords, error) + func IncomeRecordsFromSliceUnchecked(slice []byte) *IncomeRecords + func (s *IncomeRecords) AsBuilder() IncomeRecordsBuilder + func (s *IncomeRecords) AsSlice() []byte + func (s *IncomeRecords) Get(index uint) *IncomeRecord + func (s *IncomeRecords) IsEmpty() bool + func (s *IncomeRecords) ItemCount() uint + func (s *IncomeRecords) Len() uint + func (s *IncomeRecords) TotalSize() uint + type IncomeRecordsBuilder struct + func NewIncomeRecordsBuilder() *IncomeRecordsBuilder + func (s *IncomeRecordsBuilder) Build() IncomeRecords + func (s *IncomeRecordsBuilder) Extend(iter []IncomeRecord) *IncomeRecordsBuilder + func (s *IncomeRecordsBuilder) Push(v IncomeRecord) *IncomeRecordsBuilder + func (s *IncomeRecordsBuilder) Set(v []IncomeRecord) *IncomeRecordsBuilder + type LockScriptType int + const ScriptType_Any + const ScriptType_BTC + const ScriptType_DasManager_User + const ScriptType_DasOwner_User + const ScriptType_ETH + const ScriptType_TRON + const ScriptType_User + func (l LockScriptType) ToDasLockCodeHashIndexType() DasLockCodeHashIndexType + type MarketConfig struct + func MarketConfigDefault() MarketConfig + func MarketConfigFromSlice(slice []byte, compatible bool) (*MarketConfig, error) + func MarketConfigFromSliceUnchecked(slice []byte) *MarketConfig + func (s *MarketConfig) AsBuilder() MarketConfigBuilder + func (s *MarketConfig) AsSlice() []byte + func (s *MarketConfig) CountExtraFields() uint + func (s *MarketConfig) FieldCount() uint + func (s *MarketConfig) HasExtraFields() bool + func (s *MarketConfig) IsEmpty() bool + func (s *MarketConfig) Len() uint + func (s *MarketConfig) MaxAuctionTime() *Uint32 + func (s *MarketConfig) MaxAuctionWaiting() *Uint32 + func (s *MarketConfig) MaxSellingTime() *Uint32 + func (s *MarketConfig) MinAuctionRaiseRate() *Uint32 + func (s *MarketConfig) TotalSize() uint + type MarketConfigBuilder struct + func NewMarketConfigBuilder() *MarketConfigBuilder + func (s *MarketConfigBuilder) Build() MarketConfig + func (s *MarketConfigBuilder) MaxAuctionTime(v Uint32) *MarketConfigBuilder + func (s *MarketConfigBuilder) MaxAuctionWaiting(v Uint32) *MarketConfigBuilder + func (s *MarketConfigBuilder) MaxSellingTime(v Uint32) *MarketConfigBuilder + func (s *MarketConfigBuilder) MinAuctionRaiseRate(v Uint32) *MarketConfigBuilder + type MarketType int + type Number uint32 + type OnSaleCell struct + func NewOnSaleCell(p *OnSaleCellParam) *OnSaleCell + func (c *OnSaleCell) Data() ([]byte, error) + func (c *OnSaleCell) LockDepCell() *types.CellDep + func (c *OnSaleCell) LockScript() *types.Script + func (c *OnSaleCell) SoDeps() []types.CellDep + func (c *OnSaleCell) TableType() TableType + func (c *OnSaleCell) TypeDepCell() *types.CellDep + func (c *OnSaleCell) TypeScript() *types.Script + type OnSaleCellData struct + func OnSaleCellDataDefault() OnSaleCellData + func OnSaleCellDataFromSlice(slice []byte, compatible bool) (*OnSaleCellData, error) + func OnSaleCellDataFromSliceUnchecked(slice []byte) *OnSaleCellData + func (s *OnSaleCellData) AsBuilder() OnSaleCellDataBuilder + func (s *OnSaleCellData) AsSlice() []byte + func (s *OnSaleCellData) CountExtraFields() uint + func (s *OnSaleCellData) FieldCount() uint + func (s *OnSaleCellData) HasExtraFields() bool + func (s *OnSaleCellData) IsEmpty() bool + func (s *OnSaleCellData) Len() uint + func (s *OnSaleCellData) Price() *Uint64 + func (s *OnSaleCellData) StartedAt() *Uint64 + func (s *OnSaleCellData) TotalSize() uint + type OnSaleCellDataBuilder struct + func NewOnSaleCellDataBuilder() *OnSaleCellDataBuilder + func (s *OnSaleCellDataBuilder) Build() OnSaleCellData + func (s *OnSaleCellDataBuilder) Price(v Uint64) *OnSaleCellDataBuilder + func (s *OnSaleCellDataBuilder) StartedAt(v Uint64) *OnSaleCellDataBuilder + type OnSaleCellParam struct + AccountId DasAccountId + AlwaysSpendableScriptInfo DASCellBaseInfo + CellCodeInfo DASCellBaseInfo + OnSaleCellData OnSaleCellData + Price uint64 + Version uint32 + type OutPoint struct + func OutPointDefault() OutPoint + func OutPointFromSlice(slice []byte, _compatible bool) (*OutPoint, error) + func OutPointFromSliceUnchecked(slice []byte) *OutPoint + func (s *OutPoint) AsBuilder() OutPointBuilder + func (s *OutPoint) AsSlice() []byte + func (s *OutPoint) Index() *Uint32 + func (s *OutPoint) TxHash() *Hash + type OutPointBuilder struct + func NewOutPointBuilder() *OutPointBuilder + func (s *OutPointBuilder) Build() OutPoint + func (s *OutPointBuilder) Index(v Uint32) *OutPointBuilder + func (s *OutPointBuilder) TxHash(v Hash) *OutPointBuilder + type ParseDasWitnessBysDataObj struct + MoleculeData *Data + MoleculeDepDataEntity *DataEntity + MoleculeNewDataEntity *DataEntity + MoleculeOldDataEntity *DataEntity + WitnessObj *DASWitnessDataObj + func ParseTxWitnessToDasWitnessObj(rawData []byte) (*ParseDasWitnessBysDataObj, error) + func (p ParseDasWitnessBysDataObj) DepEntity() (*DataEntity, uint32, error) + func (p ParseDasWitnessBysDataObj) NewEntity() (*DataEntity, uint32, error) + func (p ParseDasWitnessBysDataObj) OldEntity() (*DataEntity, uint32, error) + type PreAccountCell struct + func NewPreAccountCell(p *PreAccountCellParam) *PreAccountCell + func (c *PreAccountCell) Data() ([]byte, error) + func (c *PreAccountCell) LockDepCell() *types.CellDep + func (c *PreAccountCell) LockScript() *types.Script + func (c *PreAccountCell) SoDeps() []types.CellDep + func (c *PreAccountCell) TableType() TableType + func (c *PreAccountCell) TypeDepCell() *types.CellDep + func (c *PreAccountCell) TypeScript() *types.Script + type PreAccountCellData struct + func PreAccountCellDataDefault() PreAccountCellData + func PreAccountCellDataFromSlice(slice []byte, compatible bool) (*PreAccountCellData, error) + func PreAccountCellDataFromSliceUnchecked(slice []byte) *PreAccountCellData + func (s *PreAccountCellData) Account() *AccountChars + func (s *PreAccountCellData) AsBuilder() PreAccountCellDataBuilder + func (s *PreAccountCellData) AsSlice() []byte + func (s *PreAccountCellData) ChannelLock() *ScriptOpt + func (s *PreAccountCellData) CountExtraFields() uint + func (s *PreAccountCellData) CreatedAt() *Timestamp + func (s *PreAccountCellData) FieldCount() uint + func (s *PreAccountCellData) HasExtraFields() bool + func (s *PreAccountCellData) InvitedDiscount() *Uint32 + func (s *PreAccountCellData) InviterId() *Bytes + func (s *PreAccountCellData) InviterLock() *ScriptOpt + func (s *PreAccountCellData) IsEmpty() bool + func (s *PreAccountCellData) Len() uint + func (s *PreAccountCellData) OwnerLockArgs() *Bytes + func (s *PreAccountCellData) Price() *PriceConfig + func (s *PreAccountCellData) Quote() *Uint64 + func (s *PreAccountCellData) RefundLock() *Script + func (s *PreAccountCellData) TotalSize() uint + type PreAccountCellDataBuilder struct + func NewPreAccountCellDataBuilder() *PreAccountCellDataBuilder + func (s *PreAccountCellDataBuilder) Account(v AccountChars) *PreAccountCellDataBuilder + func (s *PreAccountCellDataBuilder) Build() PreAccountCellData + func (s *PreAccountCellDataBuilder) ChannelLock(v ScriptOpt) *PreAccountCellDataBuilder + func (s *PreAccountCellDataBuilder) CreatedAt(v Timestamp) *PreAccountCellDataBuilder + func (s *PreAccountCellDataBuilder) InvitedDiscount(v Uint32) *PreAccountCellDataBuilder + func (s *PreAccountCellDataBuilder) InviterId(v Bytes) *PreAccountCellDataBuilder + func (s *PreAccountCellDataBuilder) InviterLock(v ScriptOpt) *PreAccountCellDataBuilder + func (s *PreAccountCellDataBuilder) OwnerLockArgs(v Bytes) *PreAccountCellDataBuilder + func (s *PreAccountCellDataBuilder) Price(v PriceConfig) *PreAccountCellDataBuilder + func (s *PreAccountCellDataBuilder) Quote(v Uint64) *PreAccountCellDataBuilder + func (s *PreAccountCellDataBuilder) RefundLock(v Script) *PreAccountCellDataBuilder + type PreAccountCellParam struct + Account DasAccount + AlwaysSpendableScriptInfo DASCellBaseInfo + CellCodeInfo DASCellBaseInfo + TxDataParam PreAccountCellTxDataParam + Version uint32 + type PreAccountCellTxDataParam struct + NewAccountCellData *PreAccountCellData + type PriceConfig struct + func PriceConfigDefault() PriceConfig + func PriceConfigFromSlice(slice []byte, compatible bool) (*PriceConfig, error) + func PriceConfigFromSliceUnchecked(slice []byte) *PriceConfig + func (s *PriceConfig) AsBuilder() PriceConfigBuilder + func (s *PriceConfig) AsSlice() []byte + func (s *PriceConfig) CountExtraFields() uint + func (s *PriceConfig) FieldCount() uint + func (s *PriceConfig) HasExtraFields() bool + func (s *PriceConfig) IsEmpty() bool + func (s *PriceConfig) Len() uint + func (s *PriceConfig) Length() *Uint8 + func (s *PriceConfig) New() *Uint64 + func (s *PriceConfig) Renew() *Uint64 + func (s *PriceConfig) TotalSize() uint + type PriceConfigBuilder struct + func NewPriceConfigBuilder() *PriceConfigBuilder + func (s *PriceConfigBuilder) Build() PriceConfig + func (s *PriceConfigBuilder) Length(v Uint8) *PriceConfigBuilder + func (s *PriceConfigBuilder) New(v Uint64) *PriceConfigBuilder + func (s *PriceConfigBuilder) Renew(v Uint64) *PriceConfigBuilder + type PriceConfigList struct + func PriceConfigListDefault() PriceConfigList + func PriceConfigListFromSlice(slice []byte, compatible bool) (*PriceConfigList, error) + func PriceConfigListFromSliceUnchecked(slice []byte) *PriceConfigList + func (s *PriceConfigList) AsBuilder() PriceConfigListBuilder + func (s *PriceConfigList) AsSlice() []byte + func (s *PriceConfigList) Get(index uint) *PriceConfig + func (s *PriceConfigList) IsEmpty() bool + func (s *PriceConfigList) ItemCount() uint + func (s *PriceConfigList) Len() uint + func (s *PriceConfigList) TotalSize() uint + type PriceConfigListBuilder struct + func NewPriceConfigListBuilder() *PriceConfigListBuilder + func (s *PriceConfigListBuilder) Build() PriceConfigList + func (s *PriceConfigListBuilder) Extend(iter []PriceConfig) *PriceConfigListBuilder + func (s *PriceConfigListBuilder) Push(v PriceConfig) *PriceConfigListBuilder + func (s *PriceConfigListBuilder) Set(v []PriceConfig) *PriceConfigListBuilder + type ProposalCellData struct + func ProposalCellDataDefault() ProposalCellData + func ProposalCellDataFromSlice(slice []byte, compatible bool) (*ProposalCellData, error) + func ProposalCellDataFromSliceUnchecked(slice []byte) *ProposalCellData + func (s *ProposalCellData) AsBuilder() ProposalCellDataBuilder + func (s *ProposalCellData) AsSlice() []byte + func (s *ProposalCellData) CountExtraFields() uint + func (s *ProposalCellData) CreatedAtHeight() *Uint64 + func (s *ProposalCellData) FieldCount() uint + func (s *ProposalCellData) HasExtraFields() bool + func (s *ProposalCellData) IsEmpty() bool + func (s *ProposalCellData) Len() uint + func (s *ProposalCellData) ProposerLock() *Script + func (s *ProposalCellData) Slices() *SliceList + func (s *ProposalCellData) TotalSize() uint + type ProposalCellDataBuilder struct + func NewProposalCellDataBuilder() *ProposalCellDataBuilder + func (s *ProposalCellDataBuilder) Build() ProposalCellData + func (s *ProposalCellDataBuilder) CreatedAtHeight(v Uint64) *ProposalCellDataBuilder + func (s *ProposalCellDataBuilder) ProposerLock(v Script) *ProposalCellDataBuilder + func (s *ProposalCellDataBuilder) Slices(v SliceList) *ProposalCellDataBuilder + type ProposalItem struct + func ProposalItemDefault() ProposalItem + func ProposalItemFromSlice(slice []byte, compatible bool) (*ProposalItem, error) + func ProposalItemFromSliceUnchecked(slice []byte) *ProposalItem + func (s *ProposalItem) AccountId() *AccountId + func (s *ProposalItem) AsBuilder() ProposalItemBuilder + func (s *ProposalItem) AsSlice() []byte + func (s *ProposalItem) CountExtraFields() uint + func (s *ProposalItem) FieldCount() uint + func (s *ProposalItem) HasExtraFields() bool + func (s *ProposalItem) IsEmpty() bool + func (s *ProposalItem) ItemType() *Uint8 + func (s *ProposalItem) Len() uint + func (s *ProposalItem) Next() *AccountId + func (s *ProposalItem) TotalSize() uint + type ProposalItemBuilder struct + func NewProposalItemBuilder() *ProposalItemBuilder + func (s *ProposalItemBuilder) AccountId(v AccountId) *ProposalItemBuilder + func (s *ProposalItemBuilder) Build() ProposalItem + func (s *ProposalItemBuilder) ItemType(v Uint8) *ProposalItemBuilder + func (s *ProposalItemBuilder) Next(v AccountId) *ProposalItemBuilder + type ProposeCell struct + func NewProposeCell(p *ProposeCellParam) *ProposeCell + func (c *ProposeCell) Data() ([]byte, error) + func (c *ProposeCell) LockDepCell() *types.CellDep + func (c *ProposeCell) LockScript() *types.Script + func (c *ProposeCell) SoDeps() []types.CellDep + func (c *ProposeCell) TableType() TableType + func (c *ProposeCell) TypeDepCell() *types.CellDep + func (c *ProposeCell) TypeScript() *types.Script + type ProposeCellParam struct + AlwaysSpendableScriptInfo DASCellBaseInfo + CellCodeInfo DASCellBaseInfo + Data Data + TxDataParam ProposalCellData + Version uint32 + type ProposeWitnessSliceDataObject struct + AccountId DasAccountId + ItemType AccountCellStatus + Next DasAccountId + func (p ProposeWitnessSliceDataObject) MarshalJSON() ([]byte, error) + type ProposeWitnessSliceDataObjectLL []ProposeWitnessSliceDataObjectList + func (p ProposeWitnessSliceDataObjectLL) ToMoleculeProposalCellData(incomeLockScript *types.Script) ProposalCellData + type ProposeWitnessSliceDataObjectList []ProposeWitnessSliceDataObject + func ProposeWitnessSliceDataObjectListFromBytes(bys []byte) ([]ProposeWitnessSliceDataObjectList, error) + func (p *ProposeWitnessSliceDataObjectList) Add(accountId DasAccountId, nextId DasAccountId, status AccountCellStatus) + type PwCoreLockScriptType uint8 + const PwCoreLockScriptType_EOS + const PwCoreLockScriptType_ETH + const PwCoreLockScriptType_TRON + type QuoteCell struct + func NewQuoteCell(p *QuoteCellParam) *QuoteCell + func (c *QuoteCell) Data() ([]byte, error) + func (c *QuoteCell) LockDepCell() *types.CellDep + func (c *QuoteCell) LockScript() *types.Script + func (c *QuoteCell) SoDeps() []types.CellDep + func (c *QuoteCell) TableType() TableType + func (c *QuoteCell) TypeDepCell() *types.CellDep + func (c *QuoteCell) TypeScript() *types.Script + type QuoteCellParam struct + CellCodeInfo DASCellBaseInfo + Price uint64 + type Record struct + func RecordDefault() Record + func RecordFromSlice(slice []byte, compatible bool) (*Record, error) + func RecordFromSliceUnchecked(slice []byte) *Record + func (s *Record) AsBuilder() RecordBuilder + func (s *Record) AsSlice() []byte + func (s *Record) CountExtraFields() uint + func (s *Record) FieldCount() uint + func (s *Record) HasExtraFields() bool + func (s *Record) IsEmpty() bool + func (s *Record) Len() uint + func (s *Record) RecordKey() *Bytes + func (s *Record) RecordLabel() *Bytes + func (s *Record) RecordTtl() *Uint32 + func (s *Record) RecordType() *Bytes + func (s *Record) RecordValue() *Bytes + func (s *Record) TotalSize() uint + type RecordBuilder struct + func NewRecordBuilder() *RecordBuilder + func (s *RecordBuilder) Build() Record + func (s *RecordBuilder) RecordKey(v Bytes) *RecordBuilder + func (s *RecordBuilder) RecordLabel(v Bytes) *RecordBuilder + func (s *RecordBuilder) RecordTtl(v Uint32) *RecordBuilder + func (s *RecordBuilder) RecordType(v Bytes) *RecordBuilder + func (s *RecordBuilder) RecordValue(v Bytes) *RecordBuilder + type Records struct + func RecordsDefault() Records + func RecordsFromSlice(slice []byte, compatible bool) (*Records, error) + func RecordsFromSliceUnchecked(slice []byte) *Records + func (s *Records) AsBuilder() RecordsBuilder + func (s *Records) AsSlice() []byte + func (s *Records) Get(index uint) *Record + func (s *Records) IsEmpty() bool + func (s *Records) ItemCount() uint + func (s *Records) Len() uint + func (s *Records) TotalSize() uint + type RecordsBuilder struct + func NewRecordsBuilder() *RecordsBuilder + func (s *RecordsBuilder) Build() Records + func (s *RecordsBuilder) Extend(iter []Record) *RecordsBuilder + func (s *RecordsBuilder) Push(v Record) *RecordsBuilder + func (s *RecordsBuilder) Set(v []Record) *RecordsBuilder + type RefCellType uint8 + type RefcellParam struct + AccountId DasAccountId + CellCodeInfo DASCellBaseInfo + Data string + RefType RefCellType + UserLockScript DASCellBaseInfo + Version uint32 + type ReleaseRule struct + func ReleaseRuleDefault() ReleaseRule + func ReleaseRuleFromSlice(slice []byte, compatible bool) (*ReleaseRule, error) + func ReleaseRuleFromSliceUnchecked(slice []byte) *ReleaseRule + func (s *ReleaseRule) AsBuilder() ReleaseRuleBuilder + func (s *ReleaseRule) AsSlice() []byte + func (s *ReleaseRule) CountExtraFields() uint + func (s *ReleaseRule) FieldCount() uint + func (s *ReleaseRule) HasExtraFields() bool + func (s *ReleaseRule) IsEmpty() bool + func (s *ReleaseRule) Len() uint + func (s *ReleaseRule) Length() *Uint32 + func (s *ReleaseRule) ReleaseEnd() *Timestamp + func (s *ReleaseRule) ReleaseStart() *Timestamp + func (s *ReleaseRule) TotalSize() uint + type ReleaseRuleBuilder struct + func NewReleaseRuleBuilder() *ReleaseRuleBuilder + func (s *ReleaseRuleBuilder) Build() ReleaseRule + func (s *ReleaseRuleBuilder) Length(v Uint32) *ReleaseRuleBuilder + func (s *ReleaseRuleBuilder) ReleaseEnd(v Timestamp) *ReleaseRuleBuilder + func (s *ReleaseRuleBuilder) ReleaseStart(v Timestamp) *ReleaseRuleBuilder + type ReleaseRules struct + func ReleaseRulesDefault() ReleaseRules + func ReleaseRulesFromSlice(slice []byte, compatible bool) (*ReleaseRules, error) + func ReleaseRulesFromSliceUnchecked(slice []byte) *ReleaseRules + func (s *ReleaseRules) AsBuilder() ReleaseRulesBuilder + func (s *ReleaseRules) AsSlice() []byte + func (s *ReleaseRules) Get(index uint) *ReleaseRule + func (s *ReleaseRules) IsEmpty() bool + func (s *ReleaseRules) ItemCount() uint + func (s *ReleaseRules) Len() uint + func (s *ReleaseRules) TotalSize() uint + type ReleaseRulesBuilder struct + func NewReleaseRulesBuilder() *ReleaseRulesBuilder + func (s *ReleaseRulesBuilder) Build() ReleaseRules + func (s *ReleaseRulesBuilder) Extend(iter []ReleaseRule) *ReleaseRulesBuilder + func (s *ReleaseRulesBuilder) Push(v ReleaseRule) *ReleaseRulesBuilder + func (s *ReleaseRulesBuilder) Set(v []ReleaseRule) *ReleaseRulesBuilder + type ReqSendEditRecordsTx struct + Records EditRecordItemList + type SL struct + func SLDefault() SL + func SLFromSlice(slice []byte, compatible bool) (*SL, error) + func SLFromSliceUnchecked(slice []byte) *SL + func (s *SL) AsBuilder() SLBuilder + func (s *SL) AsSlice() []byte + func (s *SL) Get(index uint) *ProposalItem + func (s *SL) IsEmpty() bool + func (s *SL) ItemCount() uint + func (s *SL) Len() uint + func (s *SL) TotalSize() uint + type SLBuilder struct + func NewSLBuilder() *SLBuilder + func (s *SLBuilder) Build() SL + func (s *SLBuilder) Extend(iter []ProposalItem) *SLBuilder + func (s *SLBuilder) Push(v ProposalItem) *SLBuilder + func (s *SLBuilder) Set(v []ProposalItem) *SLBuilder + type Script struct + func GoCkbScriptToMoleculeScript(script types.Script) Script + func ScriptDefault() Script + func ScriptFromSlice(slice []byte, compatible bool) (*Script, error) + func ScriptFromSliceUnchecked(slice []byte) *Script + func (s *Script) Args() *Bytes + func (s *Script) AsBuilder() ScriptBuilder + func (s *Script) AsSlice() []byte + func (s *Script) CodeHash() *Hash + func (s *Script) CountExtraFields() uint + func (s *Script) FieldCount() uint + func (s *Script) HasExtraFields() bool + func (s *Script) HashType() *Byte + func (s *Script) IsEmpty() bool + func (s *Script) Len() uint + func (s *Script) TotalSize() uint + type ScriptBuilder struct + func NewScriptBuilder() *ScriptBuilder + func (s *ScriptBuilder) Args(v Bytes) *ScriptBuilder + func (s *ScriptBuilder) Build() Script + func (s *ScriptBuilder) CodeHash(v Hash) *ScriptBuilder + func (s *ScriptBuilder) HashType(v Byte) *ScriptBuilder + type ScriptOpt struct + func ScriptOptDefault() ScriptOpt + func ScriptOptFromSlice(slice []byte, compatible bool) (*ScriptOpt, error) + func ScriptOptFromSliceUnchecked(slice []byte) *ScriptOpt + func (s *ScriptOpt) AsBuilder() ScriptOptBuilder + func (s *ScriptOpt) AsSlice() []byte + func (s *ScriptOpt) IntoScript() (*Script, error) + func (s *ScriptOpt) IsNone() bool + func (s *ScriptOpt) IsSome() bool + type ScriptOptBuilder struct + func NewScriptOptBuilder() *ScriptOptBuilder + func (s *ScriptOptBuilder) Build() ScriptOpt + func (s *ScriptOptBuilder) Set(v Script) *ScriptOptBuilder + type SkipHandle func(err error) + type SliceList struct + func SliceListDefault() SliceList + func SliceListFromSlice(slice []byte, compatible bool) (*SliceList, error) + func SliceListFromSliceUnchecked(slice []byte) *SliceList + func (s *SliceList) AsBuilder() SliceListBuilder + func (s *SliceList) AsSlice() []byte + func (s *SliceList) Get(index uint) *SL + func (s *SliceList) IsEmpty() bool + func (s *SliceList) ItemCount() uint + func (s *SliceList) Len() uint + func (s *SliceList) TotalSize() uint + type SliceListBuilder struct + func NewSliceListBuilder() *SliceListBuilder + func (s *SliceListBuilder) Build() SliceList + func (s *SliceListBuilder) Extend(iter []SL) *SliceListBuilder + func (s *SliceListBuilder) Push(v SL) *SliceListBuilder + func (s *SliceListBuilder) Set(v []SL) *SliceListBuilder + type TableType uint32 + const TableType_AccountCell + const TableType_Action + const TableType_BidingCell + const TableType_ConfigCell_Account + const TableType_ConfigCell_Apply + const TableType_ConfigCell_CharSet + const TableType_ConfigCell_CharSetDigit + const TableType_ConfigCell_CharSetEmoji + const TableType_ConfigCell_CharSetEn + const TableType_ConfigCell_CharSetHanS + const TableType_ConfigCell_CharSetHanT + const TableType_ConfigCell_Income + const TableType_ConfigCell_Main + const TableType_ConfigCell_PreservedAccount00 + const TableType_ConfigCell_PreservedAccount01 + const TableType_ConfigCell_PreservedAccount02 + const TableType_ConfigCell_PreservedAccount03 + const TableType_ConfigCell_PreservedAccount04 + const TableType_ConfigCell_PreservedAccount05 + const TableType_ConfigCell_PreservedAccount06 + const TableType_ConfigCell_PreservedAccount07 + const TableType_ConfigCell_PreservedAccount08 + const TableType_ConfigCell_PreservedAccount09 + const TableType_ConfigCell_PreservedAccount10 + const TableType_ConfigCell_PreservedAccount11 + const TableType_ConfigCell_PreservedAccount12 + const TableType_ConfigCell_PreservedAccount13 + const TableType_ConfigCell_PreservedAccount14 + const TableType_ConfigCell_PreservedAccount15 + const TableType_ConfigCell_PreservedAccount16 + const TableType_ConfigCell_PreservedAccount17 + const TableType_ConfigCell_PreservedAccount18 + const TableType_ConfigCell_PreservedAccount19 + const TableType_ConfigCell_Price + const TableType_ConfigCell_ProfitRate + const TableType_ConfigCell_Proposal + const TableType_ConfigCell_RecordNamespace + const TableType_ConfigCell_Release + const TableType_ConfigCell_Unavailable + const TableType_IncomeCell + const TableType_OnSaleCell + const TableType_PreAccountCell + const TableType_ProposeCell + func (t TableType) IsConfigType() bool + func (t TableType) ValidateType() bool + type Timestamp struct + func TimestampDefault() Timestamp + func TimestampFromSlice(slice []byte, _compatible bool) (*Timestamp, error) + func TimestampFromSliceUnchecked(slice []byte) *Timestamp + func (s *Timestamp) AsBuilder() TimestampBuilder + func (s *Timestamp) AsSlice() []byte + func (s *Timestamp) Nth0() *Byte + func (s *Timestamp) Nth1() *Byte + func (s *Timestamp) Nth2() *Byte + func (s *Timestamp) Nth3() *Byte + func (s *Timestamp) Nth4() *Byte + func (s *Timestamp) Nth5() *Byte + func (s *Timestamp) Nth6() *Byte + func (s *Timestamp) Nth7() *Byte + func (s *Timestamp) RawData() []byte + type TimestampBuilder struct + func NewTimestampBuilder() *TimestampBuilder + func (s *TimestampBuilder) Build() Timestamp + func (s *TimestampBuilder) Nth0(v Byte) *TimestampBuilder + func (s *TimestampBuilder) Nth1(v Byte) *TimestampBuilder + func (s *TimestampBuilder) Nth2(v Byte) *TimestampBuilder + func (s *TimestampBuilder) Nth3(v Byte) *TimestampBuilder + func (s *TimestampBuilder) Nth4(v Byte) *TimestampBuilder + func (s *TimestampBuilder) Nth5(v Byte) *TimestampBuilder + func (s *TimestampBuilder) Nth6(v Byte) *TimestampBuilder + func (s *TimestampBuilder) Nth7(v Byte) *TimestampBuilder + func (s *TimestampBuilder) Set(v [8]Byte) *TimestampBuilder + type TimingAsyncSystemCodeScriptParam struct + Ctx context.Context + Duration time.Duration + ErrHandle func(err error) + FirstSuccessCallBack func() + InitHandle func() bool + RpcClient rpc.Client + SuccessHandle func() + SuperLock *types.Script + type TypeIdTable struct + func TypeIdTableDefault() TypeIdTable + func TypeIdTableFromSlice(slice []byte, compatible bool) (*TypeIdTable, error) + func TypeIdTableFromSliceUnchecked(slice []byte) *TypeIdTable + func (s *TypeIdTable) AccountCell() *Hash + func (s *TypeIdTable) ApplyRegisterCell() *Hash + func (s *TypeIdTable) AsBuilder() TypeIdTableBuilder + func (s *TypeIdTable) AsSlice() []byte + func (s *TypeIdTable) BiddingCell() *Hash + func (s *TypeIdTable) CountExtraFields() uint + func (s *TypeIdTable) FieldCount() uint + func (s *TypeIdTable) HasExtraFields() bool + func (s *TypeIdTable) IncomeCell() *Hash + func (s *TypeIdTable) IsEmpty() bool + func (s *TypeIdTable) Len() uint + func (s *TypeIdTable) OnSaleCell() *Hash + func (s *TypeIdTable) PreAccountCell() *Hash + func (s *TypeIdTable) ProposalCell() *Hash + func (s *TypeIdTable) TotalSize() uint + type TypeIdTableBuilder struct + func NewTypeIdTableBuilder() *TypeIdTableBuilder + func (s *TypeIdTableBuilder) AccountCell(v Hash) *TypeIdTableBuilder + func (s *TypeIdTableBuilder) ApplyRegisterCell(v Hash) *TypeIdTableBuilder + func (s *TypeIdTableBuilder) BiddingCell(v Hash) *TypeIdTableBuilder + func (s *TypeIdTableBuilder) Build() TypeIdTable + func (s *TypeIdTableBuilder) IncomeCell(v Hash) *TypeIdTableBuilder + func (s *TypeIdTableBuilder) OnSaleCell(v Hash) *TypeIdTableBuilder + func (s *TypeIdTableBuilder) PreAccountCell(v Hash) *TypeIdTableBuilder + func (s *TypeIdTableBuilder) ProposalCell(v Hash) *TypeIdTableBuilder + type TypeInputCell struct + CellCap uint64 + Input types.CellInput + InputIndex uint32 + LockType LockScriptType + type Uint32 struct + func GoUint32ToMoleculeU32(i uint32) Uint32 + func Uint32Default() Uint32 + func Uint32FromSlice(slice []byte, _compatible bool) (*Uint32, error) + func Uint32FromSliceUnchecked(slice []byte) *Uint32 + func (s *Uint32) AsBuilder() Uint32Builder + func (s *Uint32) AsSlice() []byte + func (s *Uint32) Nth0() *Byte + func (s *Uint32) Nth1() *Byte + func (s *Uint32) Nth2() *Byte + func (s *Uint32) Nth3() *Byte + func (s *Uint32) RawData() []byte + type Uint32Builder struct + func NewUint32Builder() *Uint32Builder + func (s *Uint32Builder) Build() Uint32 + func (s *Uint32Builder) Nth0(v Byte) *Uint32Builder + func (s *Uint32Builder) Nth1(v Byte) *Uint32Builder + func (s *Uint32Builder) Nth2(v Byte) *Uint32Builder + func (s *Uint32Builder) Nth3(v Byte) *Uint32Builder + func (s *Uint32Builder) Set(v [4]Byte) *Uint32Builder + type Uint64 struct + func GoUint64ToMoleculeU64(i uint64) Uint64 + func Uint64Default() Uint64 + func Uint64FromSlice(slice []byte, _compatible bool) (*Uint64, error) + func Uint64FromSliceUnchecked(slice []byte) *Uint64 + func (s *Uint64) AsBuilder() Uint64Builder + func (s *Uint64) AsSlice() []byte + func (s *Uint64) Nth0() *Byte + func (s *Uint64) Nth1() *Byte + func (s *Uint64) Nth2() *Byte + func (s *Uint64) Nth3() *Byte + func (s *Uint64) Nth4() *Byte + func (s *Uint64) Nth5() *Byte + func (s *Uint64) Nth6() *Byte + func (s *Uint64) Nth7() *Byte + func (s *Uint64) RawData() []byte + type Uint64Builder struct + func NewUint64Builder() *Uint64Builder + func (s *Uint64Builder) Build() Uint64 + func (s *Uint64Builder) Nth0(v Byte) *Uint64Builder + func (s *Uint64Builder) Nth1(v Byte) *Uint64Builder + func (s *Uint64Builder) Nth2(v Byte) *Uint64Builder + func (s *Uint64Builder) Nth3(v Byte) *Uint64Builder + func (s *Uint64Builder) Nth4(v Byte) *Uint64Builder + func (s *Uint64Builder) Nth5(v Byte) *Uint64Builder + func (s *Uint64Builder) Nth6(v Byte) *Uint64Builder + func (s *Uint64Builder) Nth7(v Byte) *Uint64Builder + func (s *Uint64Builder) Set(v [8]Byte) *Uint64Builder + type Uint8 struct + func GoUint8ToMoleculeU8(i uint8) Uint8 + func Uint8Default() Uint8 + func Uint8FromSlice(slice []byte, _compatible bool) (*Uint8, error) + func Uint8FromSliceUnchecked(slice []byte) *Uint8 + func (s *Uint8) AsBuilder() Uint8Builder + func (s *Uint8) AsSlice() []byte + func (s *Uint8) Nth0() *Byte + func (s *Uint8) RawData() []byte + type Uint8Builder struct + func NewUint8Builder() *Uint8Builder + func (s *Uint8Builder) Build() Uint8 + func (s *Uint8Builder) Nth0(v Byte) *Uint8Builder + func (s *Uint8Builder) Set(v [1]Byte) *Uint8Builder + type ValidHandle func(rawWitnessData []byte, witnessParseObj *ParseDasWitnessBysDataObj) (bool, error) + type VersionAccountCell struct + CellData *AccountCellData + OriginSlice []byte + Version uint32 + func (v *VersionAccountCell) AsSlice() []byte + type WalletCellParam struct + AccountId DasAccountId + AnyoneCanPayScriptInfo DASCellBaseInfo + CellCodeInfo DASCellBaseInfo