Documentation ¶
Index ¶
- Variables
- func GetPrototype() insolar.Reference
- type ContractConstructorHolder
- type PKShard
- func (r *PKShard) GetCode() (insolar.Reference, error)
- func (r *PKShard) GetPrototype() (insolar.Reference, error)
- func (r *PKShard) GetRef(key string) (string, error)
- func (r *PKShard) GetRefAsMutable(key string) (string, error)
- func (r *PKShard) GetRefNoWait(key string) error
- func (r *PKShard) GetReference() insolar.Reference
- func (r *PKShard) SetRef(key string, ref string) error
- func (r *PKShard) SetRefAsImmutable(key string, ref string) error
- func (r *PKShard) SetRefNoWait(key string, ref string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var PrototypeReference, _ = insolar.NewReferenceFromBase58("0111A5x8N1VJTm7BKYgzSe6TWHcFi98QZgw3AnkYiKML")
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
type PKShard ¶
type PKShard struct { Reference insolar.Reference Prototype insolar.Reference Code insolar.Reference }
PKShard holds proxy type
func (*PKShard) GetPrototype ¶
GetPrototype returns reference to the code
func (*PKShard) GetRefAsMutable ¶
GetRef is proxy generated method
func (*PKShard) GetRefNoWait ¶
GetRefNoWait is proxy generated method
func (*PKShard) GetReference ¶
GetReference returns reference of the object
func (*PKShard) SetRefAsImmutable ¶
SetRefAsImmutable is proxy generated method
Click to show internal directories.
Click to hide internal directories.