Documentation ¶
Index ¶
- type CkbTransferUnsignedTxBuilder
- func (b *CkbTransferUnsignedTxBuilder) BuildCellDeps()
- func (b *CkbTransferUnsignedTxBuilder) BuildHeaderDeps()
- func (b *CkbTransferUnsignedTxBuilder) BuildInputsAndWitnesses() error
- func (b *CkbTransferUnsignedTxBuilder) BuildOutputsAndOutputsData() error
- func (b *CkbTransferUnsignedTxBuilder) BuildVersion()
- func (b *CkbTransferUnsignedTxBuilder) GetResult() (*types.Transaction, map[string][]int)
- func (b *CkbTransferUnsignedTxBuilder) NewTransaction()
- func (b *CkbTransferUnsignedTxBuilder) UpdateChangeOutput() error
- type ClaimChequesUnsignedTxBuilder
- func (b *ClaimChequesUnsignedTxBuilder) BuildCellDeps()
- func (b *ClaimChequesUnsignedTxBuilder) BuildHeaderDeps()
- func (b *ClaimChequesUnsignedTxBuilder) BuildInputsAndWitnesses() error
- func (b *ClaimChequesUnsignedTxBuilder) BuildOutputsAndOutputsData() error
- func (b *ClaimChequesUnsignedTxBuilder) BuildVersion()
- func (b *ClaimChequesUnsignedTxBuilder) GetResult() (*types.Transaction, map[string][]int)
- func (b *ClaimChequesUnsignedTxBuilder) NewTransaction()
- func (b *ClaimChequesUnsignedTxBuilder) UpdateChangeOutput() error
- type Director
- type IssuingChequeUnsignedTxBuilder
- func (b *IssuingChequeUnsignedTxBuilder) BuildCellDeps()
- func (b *IssuingChequeUnsignedTxBuilder) BuildHeaderDeps()
- func (b *IssuingChequeUnsignedTxBuilder) BuildInputsAndWitnesses() error
- func (b *IssuingChequeUnsignedTxBuilder) BuildOutputsAndOutputsData() error
- func (b *IssuingChequeUnsignedTxBuilder) BuildVersion()
- func (b *IssuingChequeUnsignedTxBuilder) GetResult() (*types.Transaction, map[string][]int)
- func (b *IssuingChequeUnsignedTxBuilder) NewTransaction()
- func (b *IssuingChequeUnsignedTxBuilder) UpdateChangeOutput() error
- type SudtTransferUnsignedTxBuilder
- func (s *SudtTransferUnsignedTxBuilder) BuildCellDeps()
- func (s *SudtTransferUnsignedTxBuilder) BuildHeaderDeps()
- func (s *SudtTransferUnsignedTxBuilder) BuildInputsAndWitnesses() error
- func (s *SudtTransferUnsignedTxBuilder) BuildOutputsAndOutputsData() error
- func (s *SudtTransferUnsignedTxBuilder) BuildVersion()
- func (s *SudtTransferUnsignedTxBuilder) GetResult() (*types.Transaction, map[string][]int)
- func (s *SudtTransferUnsignedTxBuilder) NewTransaction()
- func (s *SudtTransferUnsignedTxBuilder) UpdateChangeOutput() error
- type UnsignedTxBuilder
- type WithdrawChequesUnsignedTxBuilder
- func (b *WithdrawChequesUnsignedTxBuilder) BuildCellDeps()
- func (b *WithdrawChequesUnsignedTxBuilder) BuildHeaderDeps()
- func (b *WithdrawChequesUnsignedTxBuilder) BuildInputsAndWitnesses() error
- func (b *WithdrawChequesUnsignedTxBuilder) BuildOutputsAndOutputsData() error
- func (b *WithdrawChequesUnsignedTxBuilder) BuildVersion()
- func (b *WithdrawChequesUnsignedTxBuilder) GetResult() (*types.Transaction, map[string][]int)
- func (b *WithdrawChequesUnsignedTxBuilder) NewTransaction()
- func (b *WithdrawChequesUnsignedTxBuilder) UpdateChangeOutput() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CkbTransferUnsignedTxBuilder ¶
type CkbTransferUnsignedTxBuilder struct { To *types.Script From *types.Script FeeRate uint64 Iterator collector.CellCollectionIterator TransferAll bool SystemScripts *utils.SystemScripts TransferCapacity uint64 // contains filtered or unexported fields }
func (*CkbTransferUnsignedTxBuilder) BuildCellDeps ¶
func (b *CkbTransferUnsignedTxBuilder) BuildCellDeps()
func (*CkbTransferUnsignedTxBuilder) BuildHeaderDeps ¶
func (b *CkbTransferUnsignedTxBuilder) BuildHeaderDeps()
func (*CkbTransferUnsignedTxBuilder) BuildInputsAndWitnesses ¶
func (b *CkbTransferUnsignedTxBuilder) BuildInputsAndWitnesses() error
func (*CkbTransferUnsignedTxBuilder) BuildOutputsAndOutputsData ¶
func (b *CkbTransferUnsignedTxBuilder) BuildOutputsAndOutputsData() error
func (*CkbTransferUnsignedTxBuilder) BuildVersion ¶
func (b *CkbTransferUnsignedTxBuilder) BuildVersion()
func (*CkbTransferUnsignedTxBuilder) GetResult ¶
func (b *CkbTransferUnsignedTxBuilder) GetResult() (*types.Transaction, map[string][]int)
func (*CkbTransferUnsignedTxBuilder) NewTransaction ¶
func (b *CkbTransferUnsignedTxBuilder) NewTransaction()
func (*CkbTransferUnsignedTxBuilder) UpdateChangeOutput ¶
func (b *CkbTransferUnsignedTxBuilder) UpdateChangeOutput() error
type ClaimChequesUnsignedTxBuilder ¶
type ClaimChequesUnsignedTxBuilder struct { Receiver *types.Script FeeRate uint64 CkbIterator collector.CellCollectionIterator ChequeIterator collector.CellCollectionIterator SystemScripts *utils.SystemScripts UUID string Client rpc.Client // contains filtered or unexported fields }
func (*ClaimChequesUnsignedTxBuilder) BuildCellDeps ¶
func (b *ClaimChequesUnsignedTxBuilder) BuildCellDeps()
func (*ClaimChequesUnsignedTxBuilder) BuildHeaderDeps ¶
func (b *ClaimChequesUnsignedTxBuilder) BuildHeaderDeps()
func (*ClaimChequesUnsignedTxBuilder) BuildInputsAndWitnesses ¶
func (b *ClaimChequesUnsignedTxBuilder) BuildInputsAndWitnesses() error
func (*ClaimChequesUnsignedTxBuilder) BuildOutputsAndOutputsData ¶
func (b *ClaimChequesUnsignedTxBuilder) BuildOutputsAndOutputsData() error
func (*ClaimChequesUnsignedTxBuilder) BuildVersion ¶
func (b *ClaimChequesUnsignedTxBuilder) BuildVersion()
func (*ClaimChequesUnsignedTxBuilder) GetResult ¶
func (b *ClaimChequesUnsignedTxBuilder) GetResult() (*types.Transaction, map[string][]int)
func (*ClaimChequesUnsignedTxBuilder) NewTransaction ¶
func (b *ClaimChequesUnsignedTxBuilder) NewTransaction()
func (*ClaimChequesUnsignedTxBuilder) UpdateChangeOutput ¶
func (b *ClaimChequesUnsignedTxBuilder) UpdateChangeOutput() error
type Director ¶
type Director struct {
// contains filtered or unexported fields
}
func (*Director) SetBuilder ¶
func (d *Director) SetBuilder(builder UnsignedTxBuilder)
type IssuingChequeUnsignedTxBuilder ¶
type IssuingChequeUnsignedTxBuilder struct { Sender *types.Script Receiver *types.Script FeeRate uint64 CkbIterator collector.CellCollectionIterator SUDTIterator collector.CellCollectionIterator SystemScripts *utils.SystemScripts TransferAmount *big.Int UUID string // contains filtered or unexported fields }
func (*IssuingChequeUnsignedTxBuilder) BuildCellDeps ¶
func (b *IssuingChequeUnsignedTxBuilder) BuildCellDeps()
func (*IssuingChequeUnsignedTxBuilder) BuildHeaderDeps ¶
func (b *IssuingChequeUnsignedTxBuilder) BuildHeaderDeps()
func (*IssuingChequeUnsignedTxBuilder) BuildInputsAndWitnesses ¶
func (b *IssuingChequeUnsignedTxBuilder) BuildInputsAndWitnesses() error
func (*IssuingChequeUnsignedTxBuilder) BuildOutputsAndOutputsData ¶
func (b *IssuingChequeUnsignedTxBuilder) BuildOutputsAndOutputsData() error
func (*IssuingChequeUnsignedTxBuilder) BuildVersion ¶
func (b *IssuingChequeUnsignedTxBuilder) BuildVersion()
func (*IssuingChequeUnsignedTxBuilder) GetResult ¶
func (b *IssuingChequeUnsignedTxBuilder) GetResult() (*types.Transaction, map[string][]int)
func (*IssuingChequeUnsignedTxBuilder) NewTransaction ¶
func (b *IssuingChequeUnsignedTxBuilder) NewTransaction()
func (*IssuingChequeUnsignedTxBuilder) UpdateChangeOutput ¶
func (b *IssuingChequeUnsignedTxBuilder) UpdateChangeOutput() error
type SudtTransferUnsignedTxBuilder ¶
type SudtTransferUnsignedTxBuilder struct { CkbPayer *types.Script CkbChanger *types.Script SudtChanger *types.Script Senders []*types.Script ReceiverInfo []types.ReceiverInfo CkbIterator collector.CellCollectionIterator SUDTIterators []collector.CellCollectionIterator SystemScripts *utils.SystemScripts TransferAmount *big.Int UUID string FeeRate uint64 // contains filtered or unexported fields }
func (*SudtTransferUnsignedTxBuilder) BuildCellDeps ¶
func (s *SudtTransferUnsignedTxBuilder) BuildCellDeps()
func (*SudtTransferUnsignedTxBuilder) BuildHeaderDeps ¶
func (s *SudtTransferUnsignedTxBuilder) BuildHeaderDeps()
func (*SudtTransferUnsignedTxBuilder) BuildInputsAndWitnesses ¶
func (s *SudtTransferUnsignedTxBuilder) BuildInputsAndWitnesses() error
func (*SudtTransferUnsignedTxBuilder) BuildOutputsAndOutputsData ¶
func (s *SudtTransferUnsignedTxBuilder) BuildOutputsAndOutputsData() error
func (*SudtTransferUnsignedTxBuilder) BuildVersion ¶
func (s *SudtTransferUnsignedTxBuilder) BuildVersion()
func (*SudtTransferUnsignedTxBuilder) GetResult ¶
func (s *SudtTransferUnsignedTxBuilder) GetResult() (*types.Transaction, map[string][]int)
func (*SudtTransferUnsignedTxBuilder) NewTransaction ¶
func (s *SudtTransferUnsignedTxBuilder) NewTransaction()
func (*SudtTransferUnsignedTxBuilder) UpdateChangeOutput ¶
func (s *SudtTransferUnsignedTxBuilder) UpdateChangeOutput() error
type UnsignedTxBuilder ¶
type WithdrawChequesUnsignedTxBuilder ¶
type WithdrawChequesUnsignedTxBuilder struct { Sender *types.Script Receiver *types.Script FeeRate uint64 CkbIterator collector.CellCollectionIterator ChequeIterator collector.CellCollectionIterator SystemScripts *utils.SystemScripts UUID string Amount *big.Int Client rpc.Client // contains filtered or unexported fields }
func (*WithdrawChequesUnsignedTxBuilder) BuildCellDeps ¶
func (b *WithdrawChequesUnsignedTxBuilder) BuildCellDeps()
func (*WithdrawChequesUnsignedTxBuilder) BuildHeaderDeps ¶
func (b *WithdrawChequesUnsignedTxBuilder) BuildHeaderDeps()
func (*WithdrawChequesUnsignedTxBuilder) BuildInputsAndWitnesses ¶
func (b *WithdrawChequesUnsignedTxBuilder) BuildInputsAndWitnesses() error
func (*WithdrawChequesUnsignedTxBuilder) BuildOutputsAndOutputsData ¶
func (b *WithdrawChequesUnsignedTxBuilder) BuildOutputsAndOutputsData() error
func (*WithdrawChequesUnsignedTxBuilder) BuildVersion ¶
func (b *WithdrawChequesUnsignedTxBuilder) BuildVersion()
func (*WithdrawChequesUnsignedTxBuilder) GetResult ¶
func (b *WithdrawChequesUnsignedTxBuilder) GetResult() (*types.Transaction, map[string][]int)
func (*WithdrawChequesUnsignedTxBuilder) NewTransaction ¶
func (b *WithdrawChequesUnsignedTxBuilder) NewTransaction()
func (*WithdrawChequesUnsignedTxBuilder) UpdateChangeOutput ¶
func (b *WithdrawChequesUnsignedTxBuilder) UpdateChangeOutput() error
Click to show internal directories.
Click to hide internal directories.