Documentation ¶
Index ¶
- func InitMultiContractMethods(log protocol.Logger) map[string]common.ContractFunc
- type MultiSignContract
- type MultiSignRuntime
- func (r *MultiSignRuntime) Query(txSimContext protocol.TxSimContext, parameters map[string][]byte) (result []byte, err error)
- func (r *MultiSignRuntime) Req(txSimContext protocol.TxSimContext, parameters map[string][]byte) (result []byte, err error)
- func (r *MultiSignRuntime) Vote(txSimContext protocol.TxSimContext, parameters map[string][]byte) (result []byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitMultiContractMethods ¶
func InitMultiContractMethods(log protocol.Logger) map[string]common.ContractFunc
InitMultiContractMethods init
Types ¶
type MultiSignContract ¶
type MultiSignContract struct {
// contains filtered or unexported fields
}
func NewMultiSignContract ¶
func NewMultiSignContract(log protocol.Logger) *MultiSignContract
NewMultiSignContract create a new instance @param log @return *MultiSignContract
func (*MultiSignContract) GetMethod ¶
func (c *MultiSignContract) GetMethod(methodName string) common.ContractFunc
GetMethod get register method by name
type MultiSignRuntime ¶
type MultiSignRuntime struct {
// contains filtered or unexported fields
}
MultiSignRuntime contract runtime
func (*MultiSignRuntime) Query ¶
func (r *MultiSignRuntime) Query(txSimContext protocol.TxSimContext, parameters map[string][]byte) ( result []byte, err error)
Click to show internal directories.
Click to hide internal directories.