Versions in this module Expand all Collapse all v0 v0.7.2 Apr 16, 2020 v0.7.1 Apr 9, 2020 Changes in this version + const ACCEPT_ADMIN_NAME + const ADMIN + const CREATE_SNAPSHOT_NAME + const CURRENT_VALUE + const GET_GLOBAL_PARAM_NAME + const INIT_NAME + const OPERATOR + const PARAM + const PREPARE_VALUE + const SET_GLOBAL_PARAM_NAME + const SET_OPERATOR + const TRANSFER + const TRANSFER_ADMIN_NAME + const VERSION_CONTRACT_GLOBAL_PARAMS + func AcceptAdmin(native *native.NativeService) ([]byte, error) + func CreateSnapshot(native *native.NativeService) ([]byte, error) + func GenerateOperatorKey(contract common.Address) []byte + func GetGlobalParam(native *native.NativeService) ([]byte, error) + func GetStorageRole(native *native.NativeService, key []byte) (common.Address, error) + func InitGlobalParams() + func NotifyParamChange(native *native.NativeService, contract common.Address, functionName string, ...) + func NotifyRoleChange(native *native.NativeService, contract common.Address, functionName string, ...) + func NotifyTransferAdmin(native *native.NativeService, contract common.Address, functionName string, ...) + func ParamInit(native *native.NativeService) ([]byte, error) + func RegisterParamContract(native *native.NativeService) + func SetGlobalParam(native *native.NativeService) ([]byte, error) + func SetOperator(native *native.NativeService) ([]byte, error) + func TransferAdmin(native *native.NativeService) ([]byte, error) + type Param struct + Key string + Value string + type ParamNameList []string + func (nameList *ParamNameList) Deserialization(source *common.ZeroCopySource) error + func (nameList *ParamNameList) Serialization(sink *common.ZeroCopySink) + type Params []Param + func (params *Params) Deserialization(source *common.ZeroCopySource) error + func (params *Params) GetParam(key string) (int, Param) + func (params *Params) Serialization(sink *common.ZeroCopySink) + func (params *Params) SetParam(value Param)