domain

package
v0.0.0-...-eb4c3ac Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NewDomain

type NewDomain struct {
	Name     string                  `json:"name"`
	Creator  string                  `json:"creator"`
	Issue    *evttypes.PermissionDef `json:"issue"`
	Transfer *evttypes.PermissionDef `json:"transfer"`
	Manage   *evttypes.PermissionDef `json:"manage"`
}

func CreateNewDomain

func CreateNewDomain(name string, thresholdIssue int, thresholdManage int, thresholdTransfer int, creator string) *NewDomain

func CreateNewDomainWithOneAuthorizer

func CreateNewDomainWithOneAuthorizer(name string, creator string) *NewDomain

func (*NewDomain) Action

func (it *NewDomain) Action(binargs string) *evttypes.SimpleAction

func (*NewDomain) Arguments

func (it *NewDomain) Arguments() *evttypes.ActionArguments

type NewDomainArguments

type NewDomainArguments = NewDomain

type UpdateDomain

type UpdateDomain struct {
	Name     string                  `json:"name"`
	Issue    *evttypes.PermissionDef `json:"issue,omitempty"`
	Transfer *evttypes.PermissionDef `json:"transfer,omitempty"`
	Manage   *evttypes.PermissionDef `json:"manage,omitempty"`
}

func CreateUpdateDomain

func CreateUpdateDomain(name string) *UpdateDomain

func (*UpdateDomain) Action

func (it *UpdateDomain) Action(binargs string) *evttypes.SimpleAction

func (*UpdateDomain) Arguments

func (it *UpdateDomain) Arguments() *evttypes.ActionArguments

func (*UpdateDomain) UpdateIssue

func (it *UpdateDomain) UpdateIssue(threshold int) *UpdateDomain

func (*UpdateDomain) UpdateManage

func (it *UpdateDomain) UpdateManage(threshold int) *UpdateDomain

func (*UpdateDomain) UpdateTransfer

func (it *UpdateDomain) UpdateTransfer(threshold int) *UpdateDomain

type UpdateDomainArguments

type UpdateDomainArguments = UpdateDomain

Jump to

Keyboard shortcuts

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