Documentation ¶
Index ¶
- Variables
- func GetPrototype() insolar.Reference
- type ContractConstructorHolder
- type RootDomain
- func (r *RootDomain) AddNewMemberToPublicKeyMap(publicKey string, memberRef insolar.Reference) error
- func (r *RootDomain) AddNewMemberToPublicKeyMapAsMutable(publicKey string, memberRef insolar.Reference) error
- func (r *RootDomain) AddNewMemberToPublicKeyMapNoWait(publicKey string, memberRef insolar.Reference) error
- func (r *RootDomain) CreateHelloWorld() (string, error)
- func (r *RootDomain) CreateHelloWorldAsImmutable() (string, error)
- func (r *RootDomain) CreateHelloWorldNoWait() error
- func (r *RootDomain) GetCode() (insolar.Reference, error)
- func (r *RootDomain) GetMemberByPublicKey(publicKey string) (*insolar.Reference, error)
- func (r *RootDomain) GetMemberByPublicKeyAsMutable(publicKey string) (*insolar.Reference, error)
- func (r *RootDomain) GetMemberByPublicKeyNoWait(publicKey string) error
- func (r *RootDomain) GetNodeDomainRef() (insolar.Reference, error)
- func (r *RootDomain) GetNodeDomainRefAsMutable() (insolar.Reference, error)
- func (r *RootDomain) GetNodeDomainRefNoWait() error
- func (r *RootDomain) GetPrototype() (insolar.Reference, error)
- func (r *RootDomain) GetReference() insolar.Reference
Constants ¶
This section is empty.
Variables ¶
var PrototypeReference, _ = insolar.NewReferenceFromBase58("0111A84uiiTD1LXAHNP4GMA6YJFjbnCdkRia2pCqwBV5")
PrototypeReference to prototype of this contract error checking hides in generator
Functions ¶
func GetPrototype ¶
GetPrototype returns reference to the prototype
Types ¶
type ContractConstructorHolder ¶
type ContractConstructorHolder struct {
// contains filtered or unexported fields
}
ContractConstructorHolder holds logic with object construction
func (*ContractConstructorHolder) AsChild ¶
func (r *ContractConstructorHolder) AsChild(objRef insolar.Reference) (*RootDomain, error)
AsChild saves object as child
type RootDomain ¶
type RootDomain struct { Reference insolar.Reference Prototype insolar.Reference Code insolar.Reference }
RootDomain holds proxy type
func (*RootDomain) AddNewMemberToPublicKeyMap ¶
func (r *RootDomain) AddNewMemberToPublicKeyMap(publicKey string, memberRef insolar.Reference) error
AddNewMemberToPublicKeyMapAsImmutable is proxy generated method
func (*RootDomain) AddNewMemberToPublicKeyMapAsMutable ¶
func (r *RootDomain) AddNewMemberToPublicKeyMapAsMutable(publicKey string, memberRef insolar.Reference) error
AddNewMemberToPublicKeyMap is proxy generated method
func (*RootDomain) AddNewMemberToPublicKeyMapNoWait ¶
func (r *RootDomain) AddNewMemberToPublicKeyMapNoWait(publicKey string, memberRef insolar.Reference) error
AddNewMemberToPublicKeyMapNoWait is proxy generated method
func (*RootDomain) CreateHelloWorld ¶
func (r *RootDomain) CreateHelloWorld() (string, error)
CreateHelloWorld is proxy generated method
func (*RootDomain) CreateHelloWorldAsImmutable ¶
func (r *RootDomain) CreateHelloWorldAsImmutable() (string, error)
CreateHelloWorldAsImmutable is proxy generated method
func (*RootDomain) CreateHelloWorldNoWait ¶
func (r *RootDomain) CreateHelloWorldNoWait() error
CreateHelloWorldNoWait is proxy generated method
func (*RootDomain) GetCode ¶
func (r *RootDomain) GetCode() (insolar.Reference, error)
GetCode returns reference to the code
func (*RootDomain) GetMemberByPublicKey ¶
func (r *RootDomain) GetMemberByPublicKey(publicKey string) (*insolar.Reference, error)
GetMemberByPublicKeyAsImmutable is proxy generated method
func (*RootDomain) GetMemberByPublicKeyAsMutable ¶
func (r *RootDomain) GetMemberByPublicKeyAsMutable(publicKey string) (*insolar.Reference, error)
GetMemberByPublicKey is proxy generated method
func (*RootDomain) GetMemberByPublicKeyNoWait ¶
func (r *RootDomain) GetMemberByPublicKeyNoWait(publicKey string) error
GetMemberByPublicKeyNoWait is proxy generated method
func (*RootDomain) GetNodeDomainRef ¶
func (r *RootDomain) GetNodeDomainRef() (insolar.Reference, error)
GetNodeDomainRefAsImmutable is proxy generated method
func (*RootDomain) GetNodeDomainRefAsMutable ¶
func (r *RootDomain) GetNodeDomainRefAsMutable() (insolar.Reference, error)
GetNodeDomainRef is proxy generated method
func (*RootDomain) GetNodeDomainRefNoWait ¶
func (r *RootDomain) GetNodeDomainRefNoWait() error
GetNodeDomainRefNoWait is proxy generated method
func (*RootDomain) GetPrototype ¶
func (r *RootDomain) GetPrototype() (insolar.Reference, error)
GetPrototype returns reference to the code
func (*RootDomain) GetReference ¶
func (r *RootDomain) GetReference() insolar.Reference
GetReference returns reference of the object