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) 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) GetPrototype() (insolar.Reference, error)
- func (r *RootDomain) GetReference() insolar.Reference
Constants ¶
This section is empty.
Variables ¶
View Source
var PrototypeReference, _ = insolar.NewObjectReferenceFromString("insolar:0AAABAu9gOQ8PRiG_hT8l-hHXMXvc89IhJBemCzzAglQ")
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) 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) 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
Click to show internal directories.
Click to hide internal directories.