Documentation ¶
Index ¶
- func INSCONSTRUCTOR_New(data []byte) ([]byte, []byte, error)
- func INSMETHOD_CalcFee(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_GetCode(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_GetFeeMember(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_GetPrototype(object []byte, data []byte) ([]byte, []byte, error)
- func INS_META_INFO() []map[string]string
- func Initialize() XXX_insolar.ContractWrapper
- type CostCenter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func INSMETHOD_GetFeeMember ¶ added in v0.9.1
func INSMETHOD_GetPrototype ¶
func INS_META_INFO ¶
func Initialize ¶
func Initialize() XXX_insolar.ContractWrapper
Types ¶
type CostCenter ¶
type CostCenter struct { foundation.BaseContract FeeMember *insolar.Reference }
func (CostCenter) CalcFee ¶
func (cc CostCenter) CalcFee(amountStr string) (string, error)
CalcFee calculates fee for amount. Returns fee. ins:immutable
func (CostCenter) GetFeeMember ¶ added in v0.9.1
func (cc CostCenter) GetFeeMember() (*insolar.Reference, error)
GetFeeMember gets fee member reference. ins:immutable
Click to show internal directories.
Click to hide internal directories.