Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDelayNumber ¶
Types ¶
type BlockChain ¶
type BlockChain interface { IsValid() bool GetCurrenHeader() *types.Header GetHeader(hash *common.Hash) *types.Header CurrentState(hash *common.Hash) *zstate.ZState GetSeroGasLimit(to *common.Address, tfee *assets.Token, gasPrice *big.Int) (gaslimit uint64, e error) GetTks() []keys.Uint512 GetTkAt(tk *keys.Uint512) uint64 GetBlockByNumber(num uint64) *types.Block GetHeaderByNumber(num uint64) *types.Header GetDB() serodb.Database }
type Cmds ¶
type Cmds struct { stx.BuyShareCmd //Pool RegistPool *stx.RegistPoolCmd ClosePool *stx.ClosePoolCmd //Contract Contract *stx.ContractCmd //Package PkgCreate *GPkgCreateCmd PkgTransfer *GPkgTransferCmd PkgClose *GPkgCloseCmd }BuyShare *
type GPkgCloseCmd ¶
type GPkgCreateCmd ¶
type Ref ¶
type Ref struct {
Bc BlockChain
}
var Ref_inst Ref
func (*Ref) CurrentState ¶
func (*Ref) GetDelayedNum ¶
func (*Ref) SetBC ¶
func (self *Ref) SetBC(bc BlockChain)
Click to show internal directories.
Click to hide internal directories.