Version: v1.65.3 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2021 License: BSD-3-Clause Imports: 10 Imported by: 3




This section is empty.


This section is empty.


func GetName

func GetName() string

GetName 获得执行器名字

func Init

func Init(name string, cfg *types.Chain33Config, sub []byte)

Init 重命名执行器名称

func InitExecType

func InitExecType()

InitExecType ...

func ListUnfreezeByBeneficiary

func ListUnfreezeByBeneficiary(ldb dbm.KVDB, req *pty.ReqUnfreezes) (types.Message, error)

ListUnfreezeByBeneficiary 查询列表实现

func ListUnfreezeByCreator

func ListUnfreezeByCreator(ldb dbm.KVDB, req *pty.ReqUnfreezes) (types.Message, error)

ListUnfreezeByCreator 查询列表实现

func NewAddrTable

func NewAddrTable(kvdb dbm.KV) *table.Table

NewAddrTable create order table

func QueryUnfreeze

func QueryUnfreeze(stateDB dbm.KV, id string) (types.Message, error)

QueryUnfreeze 查询合约状态

func QueryWithdraw

func QueryWithdraw(cfg *types.Chain33Config, stateDB dbm.KV, id string) (types.Message, error)

QueryWithdraw 查询可提币状态


type AddrRow

type AddrRow struct {

AddrRow order row

func NewAddrRow

func NewAddrRow() *AddrRow

NewAddrRow create row

func (*AddrRow) CreateRow

func (r *AddrRow) CreateRow() *table.Row

CreateRow create row

func (*AddrRow) Get

func (r *AddrRow) Get(key string) ([]byte, error)

Get get index key

func (*AddrRow) SetPayload

func (r *AddrRow) SetPayload(data types.Message) error

SetPayload set payload

type Means

type Means interface {
	// contains filtered or unexported methods

Means 解冻算法接口

type Unfreeze

type Unfreeze struct {

Unfreeze 执行器结构体

func (*Unfreeze) ExecDelLocal_Create

func (u *Unfreeze) ExecDelLocal_Create(payload *uf.UnfreezeCreate, tx *types.Transaction, receiptData *types.ReceiptData, index int) (*types.LocalDBSet, error)

ExecDelLocal_Create 本地撤销执行创建冻结合约

func (*Unfreeze) ExecDelLocal_Terminate

func (u *Unfreeze) ExecDelLocal_Terminate(payload *uf.UnfreezeTerminate, tx *types.Transaction, receiptData *types.ReceiptData, index int) (*types.LocalDBSet, error)

ExecDelLocal_Terminate 本地撤销执行冻结合约的终止

func (*Unfreeze) ExecDelLocal_Withdraw

func (u *Unfreeze) ExecDelLocal_Withdraw(payload *uf.UnfreezeWithdraw, tx *types.Transaction, receiptData *types.ReceiptData, index int) (*types.LocalDBSet, error)

ExecDelLocal_Withdraw 本地撤销执行冻结合约中提币

func (*Unfreeze) ExecLocal_Create

func (u *Unfreeze) ExecLocal_Create(payload *uf.UnfreezeCreate, tx *types.Transaction, receiptData *types.ReceiptData, index int) (*types.LocalDBSet, error)

ExecLocal_Create 本地执行创建冻结合约

func (*Unfreeze) ExecLocal_Terminate

func (u *Unfreeze) ExecLocal_Terminate(payload *uf.UnfreezeTerminate, tx *types.Transaction, receiptData *types.ReceiptData, index int) (*types.LocalDBSet, error)

ExecLocal_Terminate 本地执行终止冻结合约

func (*Unfreeze) ExecLocal_Withdraw

func (u *Unfreeze) ExecLocal_Withdraw(payload *uf.UnfreezeWithdraw, tx *types.Transaction, receiptData *types.ReceiptData, index int) (*types.LocalDBSet, error)

ExecLocal_Withdraw 本地执行提币

func (*Unfreeze) Exec_Create

func (u *Unfreeze) Exec_Create(payload *pty.UnfreezeCreate, tx *types.Transaction, index int) (*types.Receipt, error)

Exec_Create 执行创建冻结合约

func (*Unfreeze) Exec_Terminate

func (u *Unfreeze) Exec_Terminate(payload *pty.UnfreezeTerminate, tx *types.Transaction, index int) (*types.Receipt, error)

Exec_Terminate 执行终止冻结合约

func (*Unfreeze) Exec_Withdraw

func (u *Unfreeze) Exec_Withdraw(payload *pty.UnfreezeWithdraw, tx *types.Transaction, index int) (*types.Receipt, error)

Exec_Withdraw 执行冻结合约中提币

func (*Unfreeze) GetDriverName

func (u *Unfreeze) GetDriverName() string

GetDriverName 获得驱动名字

func (*Unfreeze) Query_GetUnfreeze

func (u *Unfreeze) Query_GetUnfreeze(in *types.ReqString) (types.Message, error)

Query_GetUnfreeze 查询合约状态

func (*Unfreeze) Query_GetUnfreezeWithdraw

func (u *Unfreeze) Query_GetUnfreezeWithdraw(in *types.ReqString) (types.Message, error)

Query_GetUnfreezeWithdraw 查询合约可提币量

func (*Unfreeze) Query_ListUnfreezeByBeneficiary

func (u *Unfreeze) Query_ListUnfreezeByBeneficiary(in *pty.ReqUnfreezes) (types.Message, error)

Query_ListUnfreezeByBeneficiary 查询列表

func (*Unfreeze) Query_ListUnfreezeByCreator

func (u *Unfreeze) Query_ListUnfreezeByCreator(in *pty.ReqUnfreezes) (types.Message, error)

Query_ListUnfreezeByCreator 查询列表

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL