karma

package
v0.0.0-...-0b06f50 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2020 License: BSD-3-Clause Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KarmaSourceTarget_name = map[int32]string{
	0: "CALL",
	1: "DEPLOY",
}
View Source
var KarmaSourceTarget_value = map[string]int32{
	"CALL":   0,
	"DEPLOY": 1,
}

Functions

This section is empty.

Types

type AddKarmaRequest

type AddKarmaRequest struct {
	User                 *types.Address `protobuf:"bytes,1,opt,name=user" json:"user,omitempty"`
	KarmaSources         []*KarmaSource `protobuf:"bytes,2,rep,name=karma_sources,json=karmaSources" json:"karma_sources,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*AddKarmaRequest) Descriptor

func (*AddKarmaRequest) Descriptor() ([]byte, []int)

func (*AddKarmaRequest) GetKarmaSources

func (m *AddKarmaRequest) GetKarmaSources() []*KarmaSource

func (*AddKarmaRequest) GetUser

func (m *AddKarmaRequest) GetUser() *types.Address

func (*AddKarmaRequest) ProtoMessage

func (*AddKarmaRequest) ProtoMessage()

func (*AddKarmaRequest) Reset

func (m *AddKarmaRequest) Reset()

func (*AddKarmaRequest) String

func (m *AddKarmaRequest) String() string

func (*AddKarmaRequest) XXX_DiscardUnknown

func (m *AddKarmaRequest) XXX_DiscardUnknown()

func (*AddKarmaRequest) XXX_Marshal

func (m *AddKarmaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddKarmaRequest) XXX_Merge

func (dst *AddKarmaRequest) XXX_Merge(src proto.Message)

func (*AddKarmaRequest) XXX_Size

func (m *AddKarmaRequest) XXX_Size() int

func (*AddKarmaRequest) XXX_Unmarshal

func (m *AddKarmaRequest) XXX_Unmarshal(b []byte) error

type GetConfigRequest

type GetConfigRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetConfigRequest) Descriptor

func (*GetConfigRequest) Descriptor() ([]byte, []int)

func (*GetConfigRequest) ProtoMessage

func (*GetConfigRequest) ProtoMessage()

func (*GetConfigRequest) Reset

func (m *GetConfigRequest) Reset()

func (*GetConfigRequest) String

func (m *GetConfigRequest) String() string

func (*GetConfigRequest) XXX_DiscardUnknown

func (m *GetConfigRequest) XXX_DiscardUnknown()

func (*GetConfigRequest) XXX_Marshal

func (m *GetConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetConfigRequest) XXX_Merge

func (dst *GetConfigRequest) XXX_Merge(src proto.Message)

func (*GetConfigRequest) XXX_Size

func (m *GetConfigRequest) XXX_Size() int

func (*GetConfigRequest) XXX_Unmarshal

func (m *GetConfigRequest) XXX_Unmarshal(b []byte) error

type GetSourceRequest

type GetSourceRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetSourceRequest) Descriptor

func (*GetSourceRequest) Descriptor() ([]byte, []int)

func (*GetSourceRequest) ProtoMessage

func (*GetSourceRequest) ProtoMessage()

func (*GetSourceRequest) Reset

func (m *GetSourceRequest) Reset()

func (*GetSourceRequest) String

func (m *GetSourceRequest) String() string

func (*GetSourceRequest) XXX_DiscardUnknown

func (m *GetSourceRequest) XXX_DiscardUnknown()

func (*GetSourceRequest) XXX_Marshal

func (m *GetSourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetSourceRequest) XXX_Merge

func (dst *GetSourceRequest) XXX_Merge(src proto.Message)

func (*GetSourceRequest) XXX_Size

func (m *GetSourceRequest) XXX_Size() int

func (*GetSourceRequest) XXX_Unmarshal

func (m *GetSourceRequest) XXX_Unmarshal(b []byte) error

type KarmaAddressSource

type KarmaAddressSource struct {
	User                 *types.Address `protobuf:"bytes,1,opt,name=user" json:"user,omitempty"`
	Sources              []*KarmaSource `protobuf:"bytes,2,rep,name=sources" json:"sources,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*KarmaAddressSource) Descriptor

func (*KarmaAddressSource) Descriptor() ([]byte, []int)

func (*KarmaAddressSource) GetSources

func (m *KarmaAddressSource) GetSources() []*KarmaSource

func (*KarmaAddressSource) GetUser

func (m *KarmaAddressSource) GetUser() *types.Address

func (*KarmaAddressSource) ProtoMessage

func (*KarmaAddressSource) ProtoMessage()

func (*KarmaAddressSource) Reset

func (m *KarmaAddressSource) Reset()

func (*KarmaAddressSource) String

func (m *KarmaAddressSource) String() string

func (*KarmaAddressSource) XXX_DiscardUnknown

func (m *KarmaAddressSource) XXX_DiscardUnknown()

func (*KarmaAddressSource) XXX_Marshal

func (m *KarmaAddressSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KarmaAddressSource) XXX_Merge

func (dst *KarmaAddressSource) XXX_Merge(src proto.Message)

func (*KarmaAddressSource) XXX_Size

func (m *KarmaAddressSource) XXX_Size() int

func (*KarmaAddressSource) XXX_Unmarshal

func (m *KarmaAddressSource) XXX_Unmarshal(b []byte) error

type KarmaConfig

type KarmaConfig struct {
	MinKarmaToDeploy     int64    `protobuf:"varint,1,opt,name=min_karma_to_deploy,json=minKarmaToDeploy,proto3" json:"min_karma_to_deploy,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KarmaConfig) Descriptor

func (*KarmaConfig) Descriptor() ([]byte, []int)

func (*KarmaConfig) GetMinKarmaToDeploy

func (m *KarmaConfig) GetMinKarmaToDeploy() int64

func (*KarmaConfig) ProtoMessage

func (*KarmaConfig) ProtoMessage()

func (*KarmaConfig) Reset

func (m *KarmaConfig) Reset()

func (*KarmaConfig) String

func (m *KarmaConfig) String() string

func (*KarmaConfig) XXX_DiscardUnknown

func (m *KarmaConfig) XXX_DiscardUnknown()

func (*KarmaConfig) XXX_Marshal

func (m *KarmaConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KarmaConfig) XXX_Merge

func (dst *KarmaConfig) XXX_Merge(src proto.Message)

func (*KarmaConfig) XXX_Size

func (m *KarmaConfig) XXX_Size() int

func (*KarmaConfig) XXX_Unmarshal

func (m *KarmaConfig) XXX_Unmarshal(b []byte) error

type KarmaContractId

type KarmaContractId struct {
	ContractId           uint64   `protobuf:"varint,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KarmaContractId) Descriptor

func (*KarmaContractId) Descriptor() ([]byte, []int)

func (*KarmaContractId) GetContractId

func (m *KarmaContractId) GetContractId() uint64

func (*KarmaContractId) ProtoMessage

func (*KarmaContractId) ProtoMessage()

func (*KarmaContractId) Reset

func (m *KarmaContractId) Reset()

func (*KarmaContractId) String

func (m *KarmaContractId) String() string

func (*KarmaContractId) XXX_DiscardUnknown

func (m *KarmaContractId) XXX_DiscardUnknown()

func (*KarmaContractId) XXX_Marshal

func (m *KarmaContractId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KarmaContractId) XXX_Merge

func (dst *KarmaContractId) XXX_Merge(src proto.Message)

func (*KarmaContractId) XXX_Size

func (m *KarmaContractId) XXX_Size() int

func (*KarmaContractId) XXX_Unmarshal

func (m *KarmaContractId) XXX_Unmarshal(b []byte) error

type KarmaContractRecord

type KarmaContractRecord struct {
	Owner                *types.Address `protobuf:"bytes,1,opt,name=owner" json:"owner,omitempty"`
	Address              *types.Address `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"`
	ContractId           uint64         `protobuf:"varint,3,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*KarmaContractRecord) Descriptor

func (*KarmaContractRecord) Descriptor() ([]byte, []int)

func (*KarmaContractRecord) GetAddress

func (m *KarmaContractRecord) GetAddress() *types.Address

func (*KarmaContractRecord) GetContractId

func (m *KarmaContractRecord) GetContractId() uint64

func (*KarmaContractRecord) GetOwner

func (m *KarmaContractRecord) GetOwner() *types.Address

func (*KarmaContractRecord) ProtoMessage

func (*KarmaContractRecord) ProtoMessage()

func (*KarmaContractRecord) Reset

func (m *KarmaContractRecord) Reset()

func (*KarmaContractRecord) String

func (m *KarmaContractRecord) String() string

func (*KarmaContractRecord) XXX_DiscardUnknown

func (m *KarmaContractRecord) XXX_DiscardUnknown()

func (*KarmaContractRecord) XXX_Marshal

func (m *KarmaContractRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KarmaContractRecord) XXX_Merge

func (dst *KarmaContractRecord) XXX_Merge(src proto.Message)

func (*KarmaContractRecord) XXX_Size

func (m *KarmaContractRecord) XXX_Size() int

func (*KarmaContractRecord) XXX_Unmarshal

func (m *KarmaContractRecord) XXX_Unmarshal(b []byte) error

type KarmaInitRequest

type KarmaInitRequest struct {
	Oracle               *types.Address        `protobuf:"bytes,1,opt,name=Oracle" json:"Oracle,omitempty"`
	Sources              []*KarmaSourceReward  `protobuf:"bytes,2,rep,name=sources" json:"sources,omitempty"`
	Users                []*KarmaAddressSource `protobuf:"bytes,3,rep,name=users" json:"users,omitempty"`
	Upkeep               *KarmaUpkeepParams    `protobuf:"bytes,4,opt,name=upkeep" json:"upkeep,omitempty"`
	Config               *KarmaConfig          `protobuf:"bytes,5,opt,name=config" json:"config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*KarmaInitRequest) Descriptor

func (*KarmaInitRequest) Descriptor() ([]byte, []int)

func (*KarmaInitRequest) GetConfig

func (m *KarmaInitRequest) GetConfig() *KarmaConfig

func (*KarmaInitRequest) GetOracle

func (m *KarmaInitRequest) GetOracle() *types.Address

func (*KarmaInitRequest) GetSources

func (m *KarmaInitRequest) GetSources() []*KarmaSourceReward

func (*KarmaInitRequest) GetUpkeep

func (m *KarmaInitRequest) GetUpkeep() *KarmaUpkeepParams

func (*KarmaInitRequest) GetUsers

func (m *KarmaInitRequest) GetUsers() []*KarmaAddressSource

func (*KarmaInitRequest) ProtoMessage

func (*KarmaInitRequest) ProtoMessage()

func (*KarmaInitRequest) Reset

func (m *KarmaInitRequest) Reset()

func (*KarmaInitRequest) String

func (m *KarmaInitRequest) String() string

func (*KarmaInitRequest) XXX_DiscardUnknown

func (m *KarmaInitRequest) XXX_DiscardUnknown()

func (*KarmaInitRequest) XXX_Marshal

func (m *KarmaInitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KarmaInitRequest) XXX_Merge

func (dst *KarmaInitRequest) XXX_Merge(src proto.Message)

func (*KarmaInitRequest) XXX_Size

func (m *KarmaInitRequest) XXX_Size() int

func (*KarmaInitRequest) XXX_Unmarshal

func (m *KarmaInitRequest) XXX_Unmarshal(b []byte) error

type KarmaNewOracle

type KarmaNewOracle struct {
	NewOracle            *types.Address `protobuf:"bytes,1,opt,name=new_oracle,json=newOracle" json:"new_oracle,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*KarmaNewOracle) Descriptor

func (*KarmaNewOracle) Descriptor() ([]byte, []int)

func (*KarmaNewOracle) GetNewOracle

func (m *KarmaNewOracle) GetNewOracle() *types.Address

func (*KarmaNewOracle) ProtoMessage

func (*KarmaNewOracle) ProtoMessage()

func (*KarmaNewOracle) Reset

func (m *KarmaNewOracle) Reset()

func (*KarmaNewOracle) String

func (m *KarmaNewOracle) String() string

func (*KarmaNewOracle) XXX_DiscardUnknown

func (m *KarmaNewOracle) XXX_DiscardUnknown()

func (*KarmaNewOracle) XXX_Marshal

func (m *KarmaNewOracle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KarmaNewOracle) XXX_Merge

func (dst *KarmaNewOracle) XXX_Merge(src proto.Message)

func (*KarmaNewOracle) XXX_Size

func (m *KarmaNewOracle) XXX_Size() int

func (*KarmaNewOracle) XXX_Unmarshal

func (m *KarmaNewOracle) XXX_Unmarshal(b []byte) error

type KarmaSource

type KarmaSource struct {
	Name                 string         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Count                *types.BigUInt `protobuf:"bytes,2,opt,name=count" json:"count,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*KarmaSource) Descriptor

func (*KarmaSource) Descriptor() ([]byte, []int)

func (*KarmaSource) GetCount

func (m *KarmaSource) GetCount() *types.BigUInt

func (*KarmaSource) GetName

func (m *KarmaSource) GetName() string

func (*KarmaSource) ProtoMessage

func (*KarmaSource) ProtoMessage()

func (*KarmaSource) Reset

func (m *KarmaSource) Reset()

func (*KarmaSource) String

func (m *KarmaSource) String() string

func (*KarmaSource) XXX_DiscardUnknown

func (m *KarmaSource) XXX_DiscardUnknown()

func (*KarmaSource) XXX_Marshal

func (m *KarmaSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KarmaSource) XXX_Merge

func (dst *KarmaSource) XXX_Merge(src proto.Message)

func (*KarmaSource) XXX_Size

func (m *KarmaSource) XXX_Size() int

func (*KarmaSource) XXX_Unmarshal

func (m *KarmaSource) XXX_Unmarshal(b []byte) error

type KarmaSourceReward

type KarmaSourceReward struct {
	Name                 string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Reward               int64             `protobuf:"varint,2,opt,name=reward,proto3" json:"reward,omitempty"`
	Target               KarmaSourceTarget `protobuf:"varint,3,opt,name=target,proto3,enum=karma.KarmaSourceTarget" json:"target,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*KarmaSourceReward) Descriptor

func (*KarmaSourceReward) Descriptor() ([]byte, []int)

func (*KarmaSourceReward) GetName

func (m *KarmaSourceReward) GetName() string

func (*KarmaSourceReward) GetReward

func (m *KarmaSourceReward) GetReward() int64

func (*KarmaSourceReward) GetTarget

func (m *KarmaSourceReward) GetTarget() KarmaSourceTarget

func (*KarmaSourceReward) ProtoMessage

func (*KarmaSourceReward) ProtoMessage()

func (*KarmaSourceReward) Reset

func (m *KarmaSourceReward) Reset()

func (*KarmaSourceReward) String

func (m *KarmaSourceReward) String() string

func (*KarmaSourceReward) XXX_DiscardUnknown

func (m *KarmaSourceReward) XXX_DiscardUnknown()

func (*KarmaSourceReward) XXX_Marshal

func (m *KarmaSourceReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KarmaSourceReward) XXX_Merge

func (dst *KarmaSourceReward) XXX_Merge(src proto.Message)

func (*KarmaSourceReward) XXX_Size

func (m *KarmaSourceReward) XXX_Size() int

func (*KarmaSourceReward) XXX_Unmarshal

func (m *KarmaSourceReward) XXX_Unmarshal(b []byte) error

type KarmaSourceTarget

type KarmaSourceTarget int32
const (
	KarmaSourceTarget_CALL   KarmaSourceTarget = 0
	KarmaSourceTarget_DEPLOY KarmaSourceTarget = 1
)

func (KarmaSourceTarget) EnumDescriptor

func (KarmaSourceTarget) EnumDescriptor() ([]byte, []int)

func (KarmaSourceTarget) String

func (x KarmaSourceTarget) String() string

type KarmaSources

type KarmaSources struct {
	Sources              []*KarmaSourceReward `protobuf:"bytes,1,rep,name=sources" json:"sources,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*KarmaSources) Descriptor

func (*KarmaSources) Descriptor() ([]byte, []int)

func (*KarmaSources) GetSources

func (m *KarmaSources) GetSources() []*KarmaSourceReward

func (*KarmaSources) ProtoMessage

func (*KarmaSources) ProtoMessage()

func (*KarmaSources) Reset

func (m *KarmaSources) Reset()

func (*KarmaSources) String

func (m *KarmaSources) String() string

func (*KarmaSources) XXX_DiscardUnknown

func (m *KarmaSources) XXX_DiscardUnknown()

func (*KarmaSources) XXX_Marshal

func (m *KarmaSources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KarmaSources) XXX_Merge

func (dst *KarmaSources) XXX_Merge(src proto.Message)

func (*KarmaSources) XXX_Size

func (m *KarmaSources) XXX_Size() int

func (*KarmaSources) XXX_Unmarshal

func (m *KarmaSources) XXX_Unmarshal(b []byte) error

type KarmaState

type KarmaState struct {
	SourceStates         []*KarmaSource `protobuf:"bytes,1,rep,name=source_states,json=sourceStates" json:"source_states,omitempty"`
	DeployKarmaTotal     *types.BigUInt `protobuf:"bytes,2,opt,name=deploy_karma_total,json=deployKarmaTotal" json:"deploy_karma_total,omitempty"`
	CallKarmaTotal       *types.BigUInt `protobuf:"bytes,3,opt,name=call_karma_total,json=callKarmaTotal" json:"call_karma_total,omitempty"`
	NumOwnedContracts    int64          `protobuf:"varint,4,opt,name=num_owned_contracts,json=numOwnedContracts,proto3" json:"num_owned_contracts,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*KarmaState) Descriptor

func (*KarmaState) Descriptor() ([]byte, []int)

func (*KarmaState) GetCallKarmaTotal

func (m *KarmaState) GetCallKarmaTotal() *types.BigUInt

func (*KarmaState) GetDeployKarmaTotal

func (m *KarmaState) GetDeployKarmaTotal() *types.BigUInt

func (*KarmaState) GetNumOwnedContracts

func (m *KarmaState) GetNumOwnedContracts() int64

func (*KarmaState) GetSourceStates

func (m *KarmaState) GetSourceStates() []*KarmaSource

func (*KarmaState) ProtoMessage

func (*KarmaState) ProtoMessage()

func (*KarmaState) Reset

func (m *KarmaState) Reset()

func (*KarmaState) String

func (m *KarmaState) String() string

func (*KarmaState) XXX_DiscardUnknown

func (m *KarmaState) XXX_DiscardUnknown()

func (*KarmaState) XXX_Marshal

func (m *KarmaState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KarmaState) XXX_Merge

func (dst *KarmaState) XXX_Merge(src proto.Message)

func (*KarmaState) XXX_Size

func (m *KarmaState) XXX_Size() int

func (*KarmaState) XXX_Unmarshal

func (m *KarmaState) XXX_Unmarshal(b []byte) error

type KarmaStateKeyUser

type KarmaStateKeyUser struct {
	StateKeys            []string       `protobuf:"bytes,1,rep,name=state_keys,json=stateKeys" json:"state_keys,omitempty"`
	User                 *types.Address `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*KarmaStateKeyUser) Descriptor

func (*KarmaStateKeyUser) Descriptor() ([]byte, []int)

func (*KarmaStateKeyUser) GetStateKeys

func (m *KarmaStateKeyUser) GetStateKeys() []string

func (*KarmaStateKeyUser) GetUser

func (m *KarmaStateKeyUser) GetUser() *types.Address

func (*KarmaStateKeyUser) ProtoMessage

func (*KarmaStateKeyUser) ProtoMessage()

func (*KarmaStateKeyUser) Reset

func (m *KarmaStateKeyUser) Reset()

func (*KarmaStateKeyUser) String

func (m *KarmaStateKeyUser) String() string

func (*KarmaStateKeyUser) XXX_DiscardUnknown

func (m *KarmaStateKeyUser) XXX_DiscardUnknown()

func (*KarmaStateKeyUser) XXX_Marshal

func (m *KarmaStateKeyUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KarmaStateKeyUser) XXX_Merge

func (dst *KarmaStateKeyUser) XXX_Merge(src proto.Message)

func (*KarmaStateKeyUser) XXX_Size

func (m *KarmaStateKeyUser) XXX_Size() int

func (*KarmaStateKeyUser) XXX_Unmarshal

func (m *KarmaStateKeyUser) XXX_Unmarshal(b []byte) error

type KarmaTotal

type KarmaTotal struct {
	Count                *types.BigUInt `protobuf:"bytes,1,opt,name=count" json:"count,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*KarmaTotal) Descriptor

func (*KarmaTotal) Descriptor() ([]byte, []int)

func (*KarmaTotal) GetCount

func (m *KarmaTotal) GetCount() *types.BigUInt

func (*KarmaTotal) ProtoMessage

func (*KarmaTotal) ProtoMessage()

func (*KarmaTotal) Reset

func (m *KarmaTotal) Reset()

func (*KarmaTotal) String

func (m *KarmaTotal) String() string

func (*KarmaTotal) XXX_DiscardUnknown

func (m *KarmaTotal) XXX_DiscardUnknown()

func (*KarmaTotal) XXX_Marshal

func (m *KarmaTotal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KarmaTotal) XXX_Merge

func (dst *KarmaTotal) XXX_Merge(src proto.Message)

func (*KarmaTotal) XXX_Size

func (m *KarmaTotal) XXX_Size() int

func (*KarmaTotal) XXX_Unmarshal

func (m *KarmaTotal) XXX_Unmarshal(b []byte) error

type KarmaUpkeepParams

type KarmaUpkeepParams struct {
	Cost                 int64    `protobuf:"varint,1,opt,name=cost,proto3" json:"cost,omitempty"`
	Period               int64    `protobuf:"varint,3,opt,name=period,proto3" json:"period,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KarmaUpkeepParams) Descriptor

func (*KarmaUpkeepParams) Descriptor() ([]byte, []int)

func (*KarmaUpkeepParams) GetCost

func (m *KarmaUpkeepParams) GetCost() int64

func (*KarmaUpkeepParams) GetPeriod

func (m *KarmaUpkeepParams) GetPeriod() int64

func (*KarmaUpkeepParams) ProtoMessage

func (*KarmaUpkeepParams) ProtoMessage()

func (*KarmaUpkeepParams) Reset

func (m *KarmaUpkeepParams) Reset()

func (*KarmaUpkeepParams) String

func (m *KarmaUpkeepParams) String() string

func (*KarmaUpkeepParams) XXX_DiscardUnknown

func (m *KarmaUpkeepParams) XXX_DiscardUnknown()

func (*KarmaUpkeepParams) XXX_Marshal

func (m *KarmaUpkeepParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KarmaUpkeepParams) XXX_Merge

func (dst *KarmaUpkeepParams) XXX_Merge(src proto.Message)

func (*KarmaUpkeepParams) XXX_Size

func (m *KarmaUpkeepParams) XXX_Size() int

func (*KarmaUpkeepParams) XXX_Unmarshal

func (m *KarmaUpkeepParams) XXX_Unmarshal(b []byte) error

type KarmaUserAmount

type KarmaUserAmount struct {
	User                 *types.Address `protobuf:"bytes,1,opt,name=user" json:"user,omitempty"`
	Amount               *types.BigUInt `protobuf:"bytes,2,opt,name=amount" json:"amount,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*KarmaUserAmount) Descriptor

func (*KarmaUserAmount) Descriptor() ([]byte, []int)

func (*KarmaUserAmount) GetAmount

func (m *KarmaUserAmount) GetAmount() *types.BigUInt

func (*KarmaUserAmount) GetUser

func (m *KarmaUserAmount) GetUser() *types.Address

func (*KarmaUserAmount) ProtoMessage

func (*KarmaUserAmount) ProtoMessage()

func (*KarmaUserAmount) Reset

func (m *KarmaUserAmount) Reset()

func (*KarmaUserAmount) String

func (m *KarmaUserAmount) String() string

func (*KarmaUserAmount) XXX_DiscardUnknown

func (m *KarmaUserAmount) XXX_DiscardUnknown()

func (*KarmaUserAmount) XXX_Marshal

func (m *KarmaUserAmount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KarmaUserAmount) XXX_Merge

func (dst *KarmaUserAmount) XXX_Merge(src proto.Message)

func (*KarmaUserAmount) XXX_Size

func (m *KarmaUserAmount) XXX_Size() int

func (*KarmaUserAmount) XXX_Unmarshal

func (m *KarmaUserAmount) XXX_Unmarshal(b []byte) error

type KarmaUserTarget

type KarmaUserTarget struct {
	User                 *types.Address    `protobuf:"bytes,1,opt,name=user" json:"user,omitempty"`
	Target               KarmaSourceTarget `protobuf:"varint,2,opt,name=target,proto3,enum=karma.KarmaSourceTarget" json:"target,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*KarmaUserTarget) Descriptor

func (*KarmaUserTarget) Descriptor() ([]byte, []int)

func (*KarmaUserTarget) GetTarget

func (m *KarmaUserTarget) GetTarget() KarmaSourceTarget

func (*KarmaUserTarget) GetUser

func (m *KarmaUserTarget) GetUser() *types.Address

func (*KarmaUserTarget) ProtoMessage

func (*KarmaUserTarget) ProtoMessage()

func (*KarmaUserTarget) Reset

func (m *KarmaUserTarget) Reset()

func (*KarmaUserTarget) String

func (m *KarmaUserTarget) String() string

func (*KarmaUserTarget) XXX_DiscardUnknown

func (m *KarmaUserTarget) XXX_DiscardUnknown()

func (*KarmaUserTarget) XXX_Marshal

func (m *KarmaUserTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KarmaUserTarget) XXX_Merge

func (dst *KarmaUserTarget) XXX_Merge(src proto.Message)

func (*KarmaUserTarget) XXX_Size

func (m *KarmaUserTarget) XXX_Size() int

func (*KarmaUserTarget) XXX_Unmarshal

func (m *KarmaUserTarget) XXX_Unmarshal(b []byte) error

type UpkeepState

type UpkeepState struct {
	UpkeepEnabled        bool     `protobuf:"varint,1,opt,name=upkeep_enabled,json=upkeepEnabled,proto3" json:"upkeep_enabled,omitempty"`
	LastUpkeepHeight     uint64   `protobuf:"varint,2,opt,name=last_upkeep_height,json=lastUpkeepHeight,proto3" json:"last_upkeep_height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpkeepState) Descriptor

func (*UpkeepState) Descriptor() ([]byte, []int)

func (*UpkeepState) GetLastUpkeepHeight

func (m *UpkeepState) GetLastUpkeepHeight() uint64

func (*UpkeepState) GetUpkeepEnabled

func (m *UpkeepState) GetUpkeepEnabled() bool

func (*UpkeepState) ProtoMessage

func (*UpkeepState) ProtoMessage()

func (*UpkeepState) Reset

func (m *UpkeepState) Reset()

func (*UpkeepState) String

func (m *UpkeepState) String() string

func (*UpkeepState) XXX_DiscardUnknown

func (m *UpkeepState) XXX_DiscardUnknown()

func (*UpkeepState) XXX_Marshal

func (m *UpkeepState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpkeepState) XXX_Merge

func (dst *UpkeepState) XXX_Merge(src proto.Message)

func (*UpkeepState) XXX_Size

func (m *UpkeepState) XXX_Size() int

func (*UpkeepState) XXX_Unmarshal

func (m *UpkeepState) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL