Versions in this module Expand all Collapse all v0 v0.0.2 Oct 31, 2023 v0.0.1 Oct 30, 2023 Changes in this version + var ErrIntOverflowDct = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthDct = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupDct = fmt.Errorf("proto: unexpected end of group") + func CreateBuiltInFunctionContainer(args ArgsCreateBuiltInFunctionContainer) (process.BuiltInFunctionContainer, error) + func NewBuiltInFunctionContainer() *functionContainer + func NewChangeOwnerAddressFunc(gasCost uint64) *changeOwnerAddress + func NewClaimDeveloperRewardsFunc(gasCost uint64) *claimDeveloperRewards + func NewDCTTransferFunc(funcGasCost uint64, marshalizer marshal.Marshalizer) (*dctTransfer, error) + func NewSaveKeyValueStorageFunc(gasConfig BaseOperationCost, funcGasCost uint64) (*saveKeyValueStorage, error) + func NewSaveUserNameFunc(gasCost uint64, mapDnsAddresses map[string]struct{}, enableChange bool) (*saveUserName, error) + type ArgsCreateBuiltInFunctionContainer struct + EnableUserNameChange bool + GasMap map[string]map[string]uint64 + MapDNSAddresses map[string]struct{} + Marshalizer marshal.Marshalizer + type BaseOperationCost struct + CompilePerByte uint64 + DataCopyPerByte uint64 + PersistPerByte uint64 + ReleasePerByte uint64 + StorePerByte uint64 + type BuiltInCost struct + ChangeOwnerAddress uint64 + ClaimDeveloperRewards uint64 + DCTTransfer uint64 + SaveKeyValue uint64 + SaveUserName uint64 + type DCToken struct + Value *math_big.Int + func (*DCToken) Descriptor() ([]byte, []int) + func (*DCToken) ProtoMessage() + func (m *DCToken) GetValue() *math_big.Int + func (m *DCToken) Marshal() (dAtA []byte, err error) + func (m *DCToken) MarshalTo(dAtA []byte) (int, error) + func (m *DCToken) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *DCToken) Reset() + func (m *DCToken) Size() (n int) + func (m *DCToken) Unmarshal(dAtA []byte) error + func (m *DCToken) XXX_DiscardUnknown() + func (m *DCToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DCToken) XXX_Merge(src proto.Message) + func (m *DCToken) XXX_Size() int + func (m *DCToken) XXX_Unmarshal(b []byte) error + func (this *DCToken) Equal(that interface{}) bool + func (this *DCToken) GoString() string + func (this *DCToken) String() string + type GasCost struct + BaseOperationCost BaseOperationCost + BuiltInCost BuiltInCost