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 IsContract(address common.Address) (ret bool, e error) GetAxisGasLimit(to *common.Address, tfee *assets.Token, gasPrice *big.Int) (gaslimit uint64, e error) GetTks() []c_type.Tk GetTkAt(tk *c_type.Tk) uint64 GetBlockByNumber(num uint64) *types.Block GetHeaderByNumber(num uint64) *types.Header GetDB() axisdb.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 GPkgTransferCmd ¶
type GTxParam ¶
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.