const FeeCapBps, CreatorFeeMinBps, CreatorFeeMaxBps, CreatorFeeDefaultBps, CreatorReferralBps, TraderReferralBps, TicketUnit, MaxSupply, MaxTrade, MaxBodyRunes, ProtocolVersion, maxHandle, minHandle, maxNameRunes, maxNameBytes, maxBioRunes, maxBioBytes, maxBodyBytes
1const (
2 // FeeCapBps is the total taken from the curve on every buy and every sell.
3 FeeCapBps int64 = 1_000
4 // CreatorFeeMinBps is the smallest share a creator may keep.
5 CreatorFeeMinBps int64 = 100
6 // CreatorFeeMaxBps is the largest share a creator may keep.
7 CreatorFeeMaxBps int64 = 700
8 // CreatorFeeDefaultBps is stored on a profile at Register.
9 CreatorFeeDefaultBps int64 = 500
10 // CreatorReferralBps is paid to the creator's referrer when they have one.
11 CreatorReferralBps int64 = 50
12 // TraderReferralBps is paid to the buyer or seller's referrer when they have one.
13 TraderReferralBps int64 = 50
14 // TicketUnit is the ugnot price of ticket number 1. Ticket i costs i² units.
15 TicketUnit int64 = 10_000
16 // MaxSupply is the most tickets one creator can have outstanding.
17 MaxSupply = 2000
18 // MaxTrade is the most tickets one buy or sell can move.
19 MaxTrade = 20
20 // MaxBodyRunes is the longest post, counted in runes.
21 MaxBodyRunes = 280
22 // ProtocolVersion is the immutable revision of this package.
23 // A later package is announced with SetSuccessor. It does not hold this reserve.
24 ProtocolVersion = "2"
25
26 maxHandle = 16
27 minHandle = 3
28 maxNameRunes = 32
29 maxNameBytes = 128
30 maxBioRunes = 160
31 maxBioBytes = 640
32 maxBodyBytes = 1120
33)