Search Apps Documentation Source Content File Folder Download Copy Actions Download

consts.gno

1.98 Kb ยท 38 lines
 1package rbac
 2
 3import "chain"
 4
 5// Initial addresses for protocol roles.
 6const (
 7	// ADMIN is the initial admin address for RBAC management.
 8	ADMIN address = "g17290cwvmrapvp869xfnhhawa8sm9edpufzat7d"
 9	// DEV_OPS is the initial DevOps address for operational tasks.
10	DEV_OPS address = "g1mjvd83nnjee3z2g7683er55me9f09688pd4mj9"
11)
12
13// Derived addresses for GnoSwap protocol packages.
14var (
15	// EMISSION_ADDR is the derived address for the emission package.
16	EMISSION_ADDR address = chain.PackageAddress("gno.land/r/gnoswap/emission")
17
18	// POOL_ADDR is the derived address for the pool package.
19	POOL_ADDR address = chain.PackageAddress("gno.land/r/gnoswap/pool")
20	// POSITION_ADDR is the derived address for the position package.
21	POSITION_ADDR address = chain.PackageAddress("gno.land/r/gnoswap/position")
22	// ROUTER_ADDR is the derived address for the router package.
23	ROUTER_ADDR address = chain.PackageAddress("gno.land/r/gnoswap/router")
24	// STAKER_ADDR is the derived address for the staker package.
25	STAKER_ADDR address = chain.PackageAddress("gno.land/r/gnoswap/staker")
26	// PROTOCOL_FEE_ADDR is the derived address for the protocol fee package.
27	PROTOCOL_FEE_ADDR address = chain.PackageAddress("gno.land/r/gnoswap/protocol_fee")
28	// COMMUNITY_POOL_ADDR is the derived address for the community pool package.
29	COMMUNITY_POOL_ADDR address = chain.PackageAddress("gno.land/r/gnoswap/community_pool")
30	// GOV_GOVERNANCE_ADDR is the derived address for the governance package.
31	GOV_GOVERNANCE_ADDR address = chain.PackageAddress("gno.land/r/gnoswap/gov/governance")
32	// GOV_STAKER_ADDR is the derived address for the governance staker package.
33	GOV_STAKER_ADDR address = chain.PackageAddress("gno.land/r/gnoswap/gov/staker")
34	// GOV_XGNS_ADDR is the derived address for the xGNS governance package.
35	GOV_XGNS_ADDR address = chain.PackageAddress("gno.land/r/gnoswap/gov/xgns")
36	// LAUNCHPAD_ADDR is the derived address for the launchpad package.
37	LAUNCHPAD_ADDR address = chain.PackageAddress("gno.land/r/gnoswap/launchpad")
38)