const CreatorFeeBps, ProtocolFeeBps, ReferralFeeBps, TicketUnit, MaxSupply, MaxTrade, MaxBodyRunes, ProtocolVersion, maxHandle, minHandle, maxNameRunes, maxNameBytes, maxBioRunes, maxBioBytes, maxBodyBytes
1const (
2 // CreatorFeeBps is the creator's cut of each ticket trade.
3 CreatorFeeBps int64 = 500
4 // ProtocolFeeBps is forwarded to the treasury on each ticket trade.
5 ProtocolFeeBps int64 = 500
6 // ReferralFeeBps is paid to the creator's referrer when they have one.
7 ReferralFeeBps int64 = 100
8 // TicketUnit is the ugnot price of ticket number 1. Ticket i costs i² units.
9 TicketUnit int64 = 10_000
10 // MaxSupply is the most tickets one creator can have outstanding.
11 MaxSupply = 2000
12 // MaxTrade is the most tickets one buy or sell can move.
13 MaxTrade = 20
14 // MaxBodyRunes is the longest post, counted in runes.
15 MaxBodyRunes = 280
16 // ProtocolVersion is the immutable revision of this package.
17 // A later package is announced with SetSuccessor. It does not hold this reserve.
18 ProtocolVersion = "1"
19
20 maxHandle = 16
21 minHandle = 3
22 maxNameRunes = 32
23 maxNameBytes = 128
24 maxBioRunes = 160
25 maxBioBytes = 640
26 maxBodyBytes = 1120
27)