-
Notifications
You must be signed in to change notification settings - Fork 1
/
alias.go
70 lines (51 loc) · 1.89 KB
/
alias.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
package longy
import (
"github.com/eco/longy/x/longy/internal/keeper"
"github.com/eco/longy/x/longy/internal/querier"
"github.com/eco/longy/x/longy/internal/types"
)
const (
// ModuleName is the name of the module
ModuleName = types.ModuleName
// StoreKey is the key used to access the store
StoreKey = types.StoreKey
// RouterKey is the key for routing messages to our handler
RouterKey = types.RouterKey
/** ErrCodes **/
// CodeAttendeeKeyed is the alias for AttendeeKeyed
CodeAttendeeKeyed = types.AttendeeKeyed
)
var (
// ModuleCdc is the alias for the amino with the module's types registered
ModuleCdc = types.ModuleCdc
// RegisterCodec is the function alias to register types
RegisterCodec = types.RegisterCodec
// NewKeeper is the new keeper function alias for longy
NewKeeper = keeper.NewKeeper
// NewAttendee is the function alias for creating a new attendee
NewAttendee = types.NewAttendee
// NewMsgKey is the function alias for the MsgKey type
NewMsgKey = types.NewMsgKey
// NewMsgBonus is the function alias for the MsgBonus type
NewMsgBonus = types.NewMsgBonus
// NewMsgClearBonus is the function alias for the MsgBonus type
NewMsgClearBonus = types.NewMsgClearBonus
// NewQuerier is the function alias for creating a new querier
NewQuerier = querier.NewQuerier
)
type (
// Keeper is the keeper alias for longy
Keeper = keeper.Keeper
// Attendee is the type alias for Attendee
Attendee = types.Attendee
// MsgKey is the type alias for MsgKey
MsgKey = types.MsgKey
// GenesisAttendees is the array of attendees for the genesis file
GenesisAttendees = types.GenesisAttendees
// GenesisScans is the array of scans for the genesis file
GenesisScans = types.GenesisScans
// GenesisPrizes is the array of prizes for the event
GenesisPrizes = types.GenesisPrizes
// GenesisService is the genesis type for the service account
GenesisService = types.GenesisService
)