Documentation ¶
Index ¶
- Variables
- func GetPrototype() insolar.Reference
- type ContractConstructorHolder
- type CostCenter
- func (r *CostCenter) CalcFee(amountStr string) (string, error)
- func (r *CostCenter) CalcFeeAsMutable(amountStr string) (string, error)
- func (r *CostCenter) CalcFeeNoWait(amountStr string) error
- func (r *CostCenter) GetCode() (insolar.Reference, error)
- func (r *CostCenter) GetFeeAccount() (insolar.Reference, error)
- func (r *CostCenter) GetFeeAccountAsMutable() (insolar.Reference, error)
- func (r *CostCenter) GetFeeAccountNoWait() error
- func (r *CostCenter) GetPrototype() (insolar.Reference, error)
- func (r *CostCenter) GetReference() insolar.Reference
Constants ¶
This section is empty.
Variables ¶
View Source
var PrototypeReference, _ = insolar.NewReferenceFromBase58("0111A62HrJvAimG7M1r8XdeBVMw4X6ge8hGzVStfnn4e")
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) (*CostCenter, error)
AsChild saves object as child
type CostCenter ¶
type CostCenter struct { Reference insolar.Reference Prototype insolar.Reference Code insolar.Reference }
CostCenter holds proxy type
func GetObject ¶
func GetObject(ref insolar.Reference) (r *CostCenter)
GetObject returns proxy object
func (*CostCenter) CalcFee ¶
func (r *CostCenter) CalcFee(amountStr string) (string, error)
CalcFeeAsImmutable is proxy generated method
func (*CostCenter) CalcFeeAsMutable ¶
func (r *CostCenter) CalcFeeAsMutable(amountStr string) (string, error)
CalcFee is proxy generated method
func (*CostCenter) CalcFeeNoWait ¶
func (r *CostCenter) CalcFeeNoWait(amountStr string) error
CalcFeeNoWait is proxy generated method
func (*CostCenter) GetCode ¶
func (r *CostCenter) GetCode() (insolar.Reference, error)
GetCode returns reference to the code
func (*CostCenter) GetFeeAccount ¶
func (r *CostCenter) GetFeeAccount() (insolar.Reference, error)
GetFeeAccountAsImmutable is proxy generated method
func (*CostCenter) GetFeeAccountAsMutable ¶
func (r *CostCenter) GetFeeAccountAsMutable() (insolar.Reference, error)
GetFeeAccount is proxy generated method
func (*CostCenter) GetFeeAccountNoWait ¶
func (r *CostCenter) GetFeeAccountNoWait() error
GetFeeAccountNoWait is proxy generated method
func (*CostCenter) GetPrototype ¶
func (r *CostCenter) GetPrototype() (insolar.Reference, error)
GetPrototype returns reference to the code
func (*CostCenter) GetReference ¶
func (r *CostCenter) GetReference() insolar.Reference
GetReference returns reference of the object
Click to show internal directories.
Click to hide internal directories.