Documentation ¶
Index ¶
- Variables
- func GetPrototype() insolar.Reference
- type ContractConstructorHolder
- type HelloWorld
- func (r *HelloWorld) Call(signedRequest []byte) (interface{}, error)
- func (r *HelloWorld) CallAsImmutable(signedRequest []byte) (interface{}, error)
- func (r *HelloWorld) Count() (interface{}, error)
- func (r *HelloWorld) CountAsImmutable() (interface{}, error)
- func (r *HelloWorld) CreateChild() (interface{}, error)
- func (r *HelloWorld) CreateChildAsImmutable() (interface{}, error)
- func (r *HelloWorld) Errored() (interface{}, error)
- func (r *HelloWorld) ErroredAsImmutable() (interface{}, error)
- func (r *HelloWorld) GetCode() (insolar.Reference, error)
- func (r *HelloWorld) GetPrototype() (insolar.Reference, error)
- func (r *HelloWorld) GetReference() insolar.Reference
- func (r *HelloWorld) Greet(name string) (interface{}, error)
- func (r *HelloWorld) GreetAsImmutable(name string) (interface{}, error)
- func (r *HelloWorld) PulseNumber() (insolar.PulseNumber, error)
- func (r *HelloWorld) PulseNumberAsImmutable() (insolar.PulseNumber, error)
- func (r *HelloWorld) ReturnObj() (interface{}, error)
- func (r *HelloWorld) ReturnObjAsImmutable() (interface{}, error)
- type HwMessage
- type Params
- type Request
- type Text
Constants ¶
This section is empty.
Variables ¶
var PrototypeReference, _ = insolar.NewReferenceFromBase58("0111A85JAZugtAkQErbDe3eAaTw56DPLku8QGymJUCt2")
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) (*HelloWorld, error)
AsChild saves object as child
type HelloWorld ¶
type HelloWorld struct { Reference insolar.Reference Prototype insolar.Reference Code insolar.Reference }
HelloWorld holds proxy type
func (*HelloWorld) Call ¶
func (r *HelloWorld) Call(signedRequest []byte) (interface{}, error)
Call is proxy generated method
func (*HelloWorld) CallAsImmutable ¶
func (r *HelloWorld) CallAsImmutable(signedRequest []byte) (interface{}, error)
CallAsImmutable is proxy generated method
func (*HelloWorld) Count ¶
func (r *HelloWorld) Count() (interface{}, error)
Count is proxy generated method
func (*HelloWorld) CountAsImmutable ¶
func (r *HelloWorld) CountAsImmutable() (interface{}, error)
CountAsImmutable is proxy generated method
func (*HelloWorld) CreateChild ¶
func (r *HelloWorld) CreateChild() (interface{}, error)
CreateChild is proxy generated method
func (*HelloWorld) CreateChildAsImmutable ¶
func (r *HelloWorld) CreateChildAsImmutable() (interface{}, error)
CreateChildAsImmutable is proxy generated method
func (*HelloWorld) Errored ¶
func (r *HelloWorld) Errored() (interface{}, error)
Errored is proxy generated method
func (*HelloWorld) ErroredAsImmutable ¶
func (r *HelloWorld) ErroredAsImmutable() (interface{}, error)
ErroredAsImmutable is proxy generated method
func (*HelloWorld) GetCode ¶
func (r *HelloWorld) GetCode() (insolar.Reference, error)
GetCode returns reference to the code
func (*HelloWorld) GetPrototype ¶
func (r *HelloWorld) GetPrototype() (insolar.Reference, error)
GetPrototype returns reference to the code
func (*HelloWorld) GetReference ¶
func (r *HelloWorld) GetReference() insolar.Reference
GetReference returns reference of the object
func (*HelloWorld) Greet ¶
func (r *HelloWorld) Greet(name string) (interface{}, error)
Greet is proxy generated method
func (*HelloWorld) GreetAsImmutable ¶
func (r *HelloWorld) GreetAsImmutable(name string) (interface{}, error)
GreetAsImmutable is proxy generated method
func (*HelloWorld) PulseNumber ¶
func (r *HelloWorld) PulseNumber() (insolar.PulseNumber, error)
PulseNumber is proxy generated method
func (*HelloWorld) PulseNumberAsImmutable ¶
func (r *HelloWorld) PulseNumberAsImmutable() (insolar.PulseNumber, error)
PulseNumberAsImmutable is proxy generated method
func (*HelloWorld) ReturnObj ¶
func (r *HelloWorld) ReturnObj() (interface{}, error)
ReturnObj is proxy generated method
func (*HelloWorld) ReturnObjAsImmutable ¶
func (r *HelloWorld) ReturnObjAsImmutable() (interface{}, error)
ReturnObjAsImmutable is proxy generated method