Documentation ¶
Index ¶
- type Interchain
- func (x *Interchain) Appchain() *boltvm.Response
- func (x *Interchain) Appchains() *boltvm.Response
- func (x *Interchain) Audit(proposer string, isApproved int32, desc string) *boltvm.Response
- func (x *Interchain) CountAppchains() *boltvm.Response
- func (x *Interchain) CountApprovedAppchains() *boltvm.Response
- func (x *Interchain) DeleteAppchain(cid string) *boltvm.Response
- func (x *Interchain) FetchAuditRecords(id string) *boltvm.Response
- func (x *Interchain) GetIBTPByID(id string) *boltvm.Response
- func (x *Interchain) HandleIBTP(data []byte) *boltvm.Response
- func (x *Interchain) Register(validators string, consensusType int32, chainType, name, desc, version string) *boltvm.Response
- func (x *Interchain) UpdateAppchain(validators string, consensusType int32, chainType, name, desc, version string) *boltvm.Response
- type Role
- type RuleManager
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interchain ¶
func (*Interchain) Appchain ¶
func (x *Interchain) Appchain() *boltvm.Response
func (*Interchain) Appchains ¶
func (x *Interchain) Appchains() *boltvm.Response
Appchains returns all appchains
func (*Interchain) Audit ¶
Audit bitxhub manager audit appchain register info caller is the bitxhub manager address proposer is the appchain manager address
func (*Interchain) CountAppchains ¶
func (x *Interchain) CountAppchains() *boltvm.Response
CountAppchains counts all appchains including approved, rejected or registered
func (*Interchain) CountApprovedAppchains ¶
func (x *Interchain) CountApprovedAppchains() *boltvm.Response
CountApprovedAppchains counts all approved appchains
func (*Interchain) DeleteAppchain ¶
func (x *Interchain) DeleteAppchain(cid string) *boltvm.Response
func (*Interchain) FetchAuditRecords ¶
func (x *Interchain) FetchAuditRecords(id string) *boltvm.Response
func (*Interchain) GetIBTPByID ¶
func (x *Interchain) GetIBTPByID(id string) *boltvm.Response
func (*Interchain) HandleIBTP ¶
func (x *Interchain) HandleIBTP(data []byte) *boltvm.Response
func (*Interchain) Register ¶
func (x *Interchain) Register(validators string, consensusType int32, chainType, name, desc, version string) *boltvm.Response
Register appchain manager registers appchain info caller is the appchain manager address return appchain id and error
func (*Interchain) UpdateAppchain ¶
type Role ¶
func (*Role) GetAdminRoles ¶
type RuleManager ¶
RuleManager is the contract manage validation rules
func (*RuleManager) GetRuleAddress ¶
func (r *RuleManager) GetRuleAddress(id string) *boltvm.Response
func (*RuleManager) RegisterRule ¶
func (r *RuleManager) RegisterRule(id string, address string) *boltvm.Response
SetRule can map the validation rule address with the chain id
Click to show internal directories.
Click to hide internal directories.