Documentation ¶
Index ¶
- func ConfirmOut_Z(deInfo *cpt.InfoDesc, out_z *Out_Z) (e error)
- type BuyShareCmd
- type ClosePoolCmd
- type ContractCmd
- type DescCmd
- type Desc_O
- type Desc_Z
- type In_O
- type In_S
- type In_Z
- type Out_O
- type Out_Z
- type PkgClose
- type PkgCreate
- type PkgDesc_Z
- func (self *PkgDesc_Z) Clone() (ret PkgDesc_Z)
- func (self *PkgDesc_Z) Count() int
- func (self *PkgDesc_Z) ToHash() (ret keys.Uint256)
- func (self *PkgDesc_Z) ToHash_for_gen() (ret keys.Uint256)
- func (self *PkgDesc_Z) ToHash_for_sign() (ret keys.Uint256)
- func (this PkgDesc_Z) ToRef() (ret *PkgDesc_Z)
- func (self *PkgDesc_Z) Valid() bool
- type PkgTransfer
- type RegistPoolCmd
- type T
- type ZtxVersion_0
- type ZtxVersion_1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuyShareCmd ¶
type BuyShareCmd struct {}
func (*BuyShareCmd) Asset ¶
func (self *BuyShareCmd) Asset() (ret assets.Asset)
func (*BuyShareCmd) ToHash ¶
func (self *BuyShareCmd) ToHash() (ret keys.Uint256)
type ClosePoolCmd ¶
type ClosePoolCmd struct {
None byte
}
func (*ClosePoolCmd) ToHash ¶
func (self *ClosePoolCmd) ToHash() (ret keys.Uint256)
type ContractCmd ¶
func (*ContractCmd) ToHash ¶
func (self *ContractCmd) ToHash() (ret keys.Uint256)
type DescCmd ¶
type DescCmd struct { RegistPool *RegistPoolCmd `rlp:"nil"` ClosePool *ClosePoolCmd `rlp:"nil"` Contract *ContractCmd `rlp:"nil"` // contains filtered or unexported fields }
type In_Z ¶
type In_Z struct { Anchor keys.Uint256 Nil keys.Uint256 Trace keys.Uint256 AssetCM keys.Uint256 Proof cpt.Proof }
func (*In_Z) ToHash_for_sign ¶
type Out_O ¶
type Out_O struct { Addr keys.PKr Asset assets.Asset Memo keys.Uint512 // contains filtered or unexported fields }
func (*Out_O) ToHash_for_gen ¶
func (*Out_O) ToHash_for_sign ¶
type Out_Z ¶
type Out_Z struct { AssetCM keys.Uint256 OutCM keys.Uint256 RPK keys.Uint256 EInfo cpt.Einfo PKr keys.PKr Proof cpt.Proof }
func (*Out_Z) ToHash_for_gen ¶
func (*Out_Z) ToHash_for_sign ¶
type PkgDesc_Z ¶
type PkgDesc_Z struct { Create *PkgCreate `rlp:"nil"` Transfer *PkgTransfer `rlp:"nil"` Close *PkgClose `rlp:"nil"` }
func (*PkgDesc_Z) ToHash_for_gen ¶
func (*PkgDesc_Z) ToHash_for_sign ¶
type PkgTransfer ¶
func (*PkgTransfer) Clone ¶
func (self *PkgTransfer) Clone() (ret PkgTransfer)
func (*PkgTransfer) ToHash ¶
func (self *PkgTransfer) ToHash() (ret keys.Uint256)
func (*PkgTransfer) ToHash_for_gen ¶
func (self *PkgTransfer) ToHash_for_gen() (ret keys.Uint256)
func (*PkgTransfer) ToHash_for_sign ¶
func (self *PkgTransfer) ToHash_for_sign() (ret keys.Uint256)
func (PkgTransfer) ToRef ¶
func (this PkgTransfer) ToRef() (ret *PkgTransfer)
type RegistPoolCmd ¶
func (*RegistPoolCmd) Asset ¶
func (self *RegistPoolCmd) Asset() (ret assets.Asset)
func (*RegistPoolCmd) ToHash ¶
func (self *RegistPoolCmd) ToHash() (ret keys.Uint256)
type T ¶
type T struct { Ehash keys.Uint256 From keys.PKr Fee assets.Token Sign keys.Uint512 Bcr keys.Uint256 Bsign keys.Uint512 Desc_Z Desc_Z Desc_O Desc_O Desc_Pkg PkgDesc_Z Desc_Cmd DescCmd // contains filtered or unexported fields }
func (*T) ToHash_for_gen ¶
func (*T) ToHash_for_sign ¶
type ZtxVersion_0 ¶
type ZtxVersion_1 ¶
type ZtxVersion_1 struct { RegistPool *RegistPoolCmd `rlp:"nil"` ClosePool *ClosePoolCmd `rlp:"nil"` Contract *ContractCmd `rlp:"nil"` }
Click to show internal directories.
Click to hide internal directories.