Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

kourtv3 source realm

Functions 300

func ApproveCC

crossing Action
1func ApproveCC(cur realm, courtSlug string, spender address, amount int64)
source

func Buy

crossing Action
1func Buy(cur realm, slug string, minUnits int64) int64
source

func DrawSlices

Action
1func DrawSlices(courtSlug string, claimID uint64) (winners, author, answerer, carrotLeft int64)
source

func FreezeBoard

crossing Action
1func FreezeBoard(cur realm, courtSlug string, who address, blocks int64, code string)
source

func GlobalHide

crossing Action
1func GlobalHide(cur realm, courtSlug string, claimID uint64, categoryCode string)
source

func GlobalHideRow

crossing Action
1func GlobalHideRow(cur realm, courtSlug string, claimID, rowID uint64, categoryCode string)
source

func HideItem

crossing Action
1func HideItem(cur realm, courtSlug string, claimID uint64, reason string)
source

func New

crossing Action
1func New(cur realm, courtSlug string, claimID uint64) uint64
source

func OpenClaimIn

crossing Action
1func OpenClaimIn(cur realm, courtSlug string, folderID uint64, title, body string) uint64
source

func PostComment

crossing Action
1func PostComment(cur realm, courtSlug string, claimID uint64, parentRow uint64, text string) uint64
source

func PullState

Action
1func PullState(courtSlug string, claimID uint64, who address) (winnerPaid, authorPaid, answererPaid bool)
source

func PurgeBoardRange

crossing Action
1func PurgeBoardRange(cur realm, courtSlug string, claimID, fromRowID uint64, categoryCode string) uint64
source

func PurgeBoardRow

crossing Action
1func PurgeBoardRow(cur realm, courtSlug string, claimID, rowID uint64, categoryCode string)
source

func PurgeClaim

crossing Action
1func PurgeClaim(cur realm, courtSlug string, claimID uint64, categoryCode string)
source

func PurgeClaimMedia

crossing Action
1func PurgeClaimMedia(cur realm, courtSlug string, claimID uint64, idx uint64, categoryCode string)
source

func PurgeFolder

crossing Action
1func PurgeFolder(cur realm, courtSlug string, folderID uint64, categoryCode string)
source

func SetCourtLadder

crossing Action
1func SetCourtLadder(cur realm, courtSlug string, t1Bps, t2Bps, t3Bps, postsEntry, postsT2 int64)
source

func Stake

crossing Action
1func Stake(cur realm, courtSlug string, claimID uint64, side int, amount int64)
source

func StakeOf

Action
1func StakeOf(courtSlug string, claimID uint64, side int, who address) int64
source

func TrailingOI

Action
1func TrailingOI(courtSlug string, claimID uint64, window int64) (avg int64, mature bool)
source

func Unstake

crossing Action
1func Unstake(cur realm, courtSlug string, claimID uint64, side int, amount int64)
source

Types 2

type Court

struct
 1type Court struct {
 2	xBarAcc         int64
 3	id              string
 4	name            string
 5	desc            string
 6	image           *mediaItem
 7	tier            uint8
 8	admin           address
 9	coin            *grc20votes.Ledger
10	gov             *governor.Governor
11	crv             curve.Curve
12	escrow          address
13	minted          int64
14	claims          *bptree.BPTree
15	nextID          uint64
16	params          Params
17	deposit         int64
18	cumAccrual      int64
19	accrualRem      int64
20	curPeriodBudget int64
21	curBudgetBpsFP  int64
22	dEffBpsFP       int64
23	rateAccFP       int64
24	emaMinted       int64
25	emittedAtRoll   int64
26	lastAccrual     int64
27	periodIndex     int64
28	createdAt       int64
29	reservedTail    int64
30	juniorReserved  int64
31	seniorOwed      int64
32	seniorPaid      int64
33	emittedTotal    int64
34	queue           *bptree.BPTree
35	queueSeq        uint64
36	records         *bptree.BPTree
37	assocOut        *bptree.BPTree
38	assocIn         *bptree.BPTree
39	supOf           *bptree.BPTree
40	supBy           *bptree.BPTree
41	locked          *bptree.BPTree
42	voteLocks       *bptree.BPTree
43	stakeIdx        *bptree.BPTree
44	qualifiedCount  int
45	mod             *courtMod
46	csArch          *checkpoint.Archive
47	stripIdx        *bptree.BPTree
48	pendingIdx      *bptree.BPTree
49	oneWay          bool
50	reserve         int64
51	redeemedGNOT    int64
52	paidIn          int64
53	burnedGNOT      int64
54	burnKey         string
55	createdSeq      uint64
56	burnH           checkpoint.Series
57	priceH          checkpoint.Series
58	absBudget       int64
59	assocBond       int64
60	ladder          *ladder
61	creditRates     *creditRates
62	standings       *bptree.BPTree
63}
source

type Params

struct
 1type Params struct {
 2	disputeThresholdBps  int64
 3	votingBlocks         int64
 4	graceBlocks          int64
 5	minAnswerX           int64
 6	answerBondCapCC      int64
 7	minClaimDepositCC    int64
 8	escrowMinBlocks      int64
 9	escrowMaxBlocks      int64
10	stakeOpenDelayBlocks int64
11}
source

Imports 16

Source Files 48