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

escrow_v4 state

Back to all declarations

laneService

untyped string

laneService is this engine's lane key into the DAO fee spine (memba\_market\_config), seeded there at 200 bps.

Value

"service"

PlatformFeePct

untyped bigint

Value

(2 <untyped> bigint)

CancelFeePct

untyped bigint

Value

(5 <untyped> bigint)

AutoRefundBlks

int64

Value

864000

AutoResolveBlks

int64

Value

806400

UnfundedExpiryBlks

int64

Value

864000

MaxTitleLen

untyped bigint

// bytes, after sanitising (also bounds the input)

Value

(200 <untyped> bigint)

MaxDescLen

untyped bigint

// bytes, after sanitising (also bounds the input)

Value

(5000 <untyped> bigint)

MaxMilestones

untyped bigint

Value

(20 <untyped> bigint)

MinMilestoneAmount

int64

// 0.001 GNOT: below ~50 ugnot a 2% fee truncates to 0

Value

1000

maxMilestonesArgLen

untyped bigint

Value

(5280 <untyped> bigint)

MaxActivePerClient

untyped bigint

Value

(5 <untyped> bigint)

ContractStatus

type

Value

escrow_v4.ContractStatus

StatusActive

escrow_v4.ContractStatus

Value

<gnolang.StringValue>

StatusCompleted

escrow_v4.ContractStatus

Value

<gnolang.StringValue>

StatusDisputed

escrow_v4.ContractStatus

Value

<gnolang.StringValue>

StatusCancelled

escrow_v4.ContractStatus

Value

<gnolang.StringValue>

MilestoneStatus

type

Value

escrow_v4.MilestoneStatus

MsPending

escrow_v4.MilestoneStatus

Value

<gnolang.StringValue>

MsFunded

escrow_v4.MilestoneStatus

Value

<gnolang.StringValue>

MsCompleted

escrow_v4.MilestoneStatus

Value

<gnolang.StringValue>

MsReleased

escrow_v4.MilestoneStatus

Value

<gnolang.StringValue>

MsDisputed

escrow_v4.MilestoneStatus

Value

<gnolang.StringValue>

MsRefunded

escrow_v4.MilestoneStatus

Value

<gnolang.StringValue>

Contract

type

Value

escrow_v4.Contract

Milestone

type

Value

escrow_v4.Milestone

contracts

*avl.Tree

// id -> \*Contract; live (not archived) contracts only

Open
OID
0e5fce…d11a:101
contracts details

Inspect pointer

clientSlots

*avl.Tree

// client address -> int open contracts (removed on archive once 0); "c/\<client>/\<id>" -> nil client index

Open
OID
0e5fce…d11a:103
clientSlots details

Inspect pointer

nextID

int

// monotonic, never reused

Value

0

activeCount

int

// open contracts

Value

0

archivedCount

int

Value

0

totalLiable

int64

// NF-2: ugnot owed to funded, completed and disputed milestones

Value

0

resolveFee

func() (int64, .uverse.address)
Open
OID
0e5fce…d11a:11
resolveFee details

Inspect func

CreateContract

func(freelancer .uverse.address, title string, description string, milestones string) string

CreateContract creates a new escrow contract with milestones, as the caller's client. Milestones format: "title1:amount1,title2:amount2". The caller must be a user (a direct call or the user's own run script), so a realm cannot mint client identities with cur.Sub to hold slots.

Open
OID
0e5fce…d11a:13
CreateContract details

Inspect func

FundMilestone

func(contractId string, milestoneIdx int)

FundMilestone deposits exactly the milestone amount. Client only, and only as a direct user call: the tx-level send lands on the message's target realm, so from an intermediary realm the coins would never reach escrow while the milestone was marked funded.

Open
OID
0e5fce…d11a:14
FundMilestone details

Inspect func

CompleteMilestone

func(contractId string, milestoneIdx int)

CompleteMilestone marks a funded milestone delivered. Freelancer only.

Open
OID
0e5fce…d11a:15
CompleteMilestone details

Inspect func

ReleaseFunds

func(contractId string, milestoneIdx int)

ReleaseFunds pays a completed milestone to the freelancer, minus the fee. Client, or admin as the trusted arbiter (v3 behaviour).

Open
OID
0e5fce…d11a:16
ReleaseFunds details

Inspect func

RaiseDispute

func(contractId string, milestoneIdx int)

RaiseDispute escalates a funded or completed milestone to the admin. Client or freelancer.

Open
OID
0e5fce…d11a:17
RaiseDispute details

Inspect func

ResolveDispute

func(contractId string, milestoneIdx int, refundClient bool)

ResolveDispute settles a disputed milestone. Admin only. refundClient=true refunds the client in full; false pays the freelancer minus the fee. The contract then returns to active, stays disputed if another milestone still is, or settles: completed if every milestone is released, cancelled if every milestone is released or refunded.

Open
OID
0e5fce…d11a:18
ResolveDispute details

Inspect func

CancelContract

func(contractId string)

CancelContract cancels an active contract. Client only. Funded milestones are refunded minus CancelFeePct, which goes to the freelancer; completed milestones are paid to the freelancer minus the service fee.

Open
OID
0e5fce…d11a:19
CancelContract details

Inspect func

ExpireUnfunded

func(contractId string)

ExpireUnfunded cancels a contract none of whose milestones was ever funded, once UnfundedExpiryBlks have passed since creation (blocking-window blocks excluded). Anyone may call. It frees the client's slot and moves no coins; it does not delete, so the storage deposit stays for the client's ArchiveContract.

Open
OID
0e5fce…d11a:20
ExpireUnfunded details

Inspect func

ClaimRefund

func(contractId string, milestoneIdx int)

ClaimRefund refunds a funded milestone nobody completed within AutoRefundBlks (blocking-window blocks excluded). Anyone may call; the client receives the funds. If no milestone then holds funds the contract is cancelled, pending milestones included (v3 behaviour).

Open
OID
0e5fce…d11a:21
ClaimRefund details

Inspect func

ClaimDisputeTimeout

func(contractId string, milestoneIdx int)

ClaimDisputeTimeout resolves a dispute the admin has not acted on within AutoResolveBlks (blocking-window blocks excluded), following the pre-dispute status: a delivered milestone (MsCompleted) pays the freelancer minus the fee, an undelivered one (MsFunded) refunds the client. Anyone may call.

Open
OID
0e5fce…d11a:22
ClaimDisputeTimeout details

Inspect func

ArchiveContract

func(contractId string)

ArchiveContract deletes a settled contract (completed or cancelled, with nothing escrowed). Client only. The freed bytes shrink the realm's storage, and the chain refunds their storage deposit to the signer of this message (see DESIGN.md), so the client, who paid for the contract when creating it, gets that deposit back. The id is never reused. The ContractArchived event is the permanent record; nothing of the contract stays in realm state.

Open
OID
0e5fce…d11a:23
ArchiveContract details

Inspect func

isOpen

func(c *escrow_v4.Contract) bool

isOpen reports whether c still holds an active slot.

Open
OID
0e5fce…d11a:24
isOpen details

Inspect func

clientActive

func(client .uverse.address) int
Open
OID
0e5fce…d11a:25
clientActive details

Inspect func

takeSlot

func(client .uverse.address)
Open
OID
0e5fce…d11a:26
takeSlot details

Inspect func

settle

func(c *escrow_v4.Contract, status escrow_v4.ContractStatus)

settle moves an open contract to a terminal status and releases its slot. Terminal statuses are absorbing, so this runs at most once per contract.

Open
OID
0e5fce…d11a:27
settle details

Inspect func

settleIfFinished

func(c *escrow_v4.Contract)

settleIfFinished settles an open contract whose milestones are all released (completed) or all released or refunded (cancelled). A pending, funded, completed or disputed milestone keeps it open.

Open
OID
0e5fce…d11a:28
settleIfFinished details

Inspect func

payout

type

Value

escrow_v4.payout

send

func(to .uverse.address, amount int64)
Open
OID
0e5fce…d11a:29
send details

Inspect func

payFreelancer

func(c *escrow_v4.Contract, amount int64) escrow_v4.payout

payFreelancer pays amount to the freelancer minus the service fee read live from the fee spine, which goes to the treasury.

Open
OID
0e5fce…d11a:30
payFreelancer details

Inspect func

getContract

func(id string) *escrow_v4.Contract
Open
OID
0e5fce…d11a:31
getContract details

Inspect func

milestoneAt

func(c *escrow_v4.Contract, idx int) *escrow_v4.Milestone
Open
OID
0e5fce…d11a:32
milestoneAt details

Inspect func

allMilestonesReleased

func(c *escrow_v4.Contract) bool
Open
OID
0e5fce…d11a:33
allMilestonesReleased details

Inspect func

anyMilestoneDisputed

func(c *escrow_v4.Contract) bool
Open
OID
0e5fce…d11a:34
anyMilestoneDisputed details

Inspect func

allMilestonesTerminal

func(c *escrow_v4.Contract) bool

allMilestonesTerminal reports whether no milestone holds funds (pending with no funds counts as terminal).

Open
OID
0e5fce…d11a:35
allMilestonesTerminal details

Inspect func

parseMilestones

func(input string) []escrow_v4.Milestone

parseMilestones parses "title1:amount1,title2:amount2". Blank entries are skipped; any other malformed entry panics.

Open
OID
0e5fce…d11a:36
parseMilestones details

Inspect func

MaxPauseBlks

int64

Value

183273

PauseCooldownBlks

int64

Value

183273

paused

bool

Value

false

pausedAt

int64

// height of the current pause; 0 when not paused

Value

0

pauseCooldownUntil

int64

// first height at which Pause is accepted again

Value

0

pausedBlocksDone

int64

// blocking-window blocks of finished pauses

Value

0

PauseInfo

type

PauseInfo is the read-back of the pause state.

Value

escrow_v4.PauseInfo

PauseState

func() escrow_v4.PauseInfo

PauseState returns the pause state at the current height.

Open
OID
0e5fce…d11a:41
PauseState details

Inspect func

IsPaused

func() bool

IsPaused reports whether the pause flag is set. Exits may already have reopened: see PauseState().ExitsOpen.

Open
OID
0e5fce…d11a:42
IsPaused details

Inspect func

Pause

func()

Pause stops new money and, for MaxPauseBlks, every other state change. Admin only. Refused while paused and during the cooldown after an Unpause.

Open
OID
0e5fce…d11a:43
Pause details

Inspect func

Unpause

func()

Unpause resumes normal operation and starts the cooldown. Admin only.

Open
OID
0e5fce…d11a:44
Unpause details

Inspect func

inBlockingWindow

func(now int64) bool

inBlockingWindow reports whether now falls in the first MaxPauseBlks blocks of the current pause.

Open
OID
0e5fce…d11a:45
inBlockingWindow details

Inspect func

pausedBlocksAt

func(now int64) int64

pausedBlocksAt returns the blocking-window blocks up to now, finished pauses included. Timeout clocks subtract the growth of this value.

Open
OID
0e5fce…d11a:46
pausedBlocksAt details

Inspect func

assertAcceptsNewMoney

func()

assertAcceptsNewMoney guards CreateContract and FundMilestone.

Open
OID
0e5fce…d11a:47
assertAcceptsNewMoney details

Inspect func

assertOpen

func()

assertOpen guards every other state-changing user and admin entrypoint.

Open
OID
0e5fce…d11a:48
assertOpen details

Inspect func

elapsedOpen

func(since int64, mark int64) int64

elapsedOpen returns the blocks since \`since\` that fell outside any blocking window, given pausedBlocksAt(since) recorded as mark.

Open
OID
0e5fce…d11a:49
elapsedOpen details

Inspect func

admin

.uverse.address

Value

<gnolang.StringValue>

pendingAdmin

.uverse.address

Value

<zero>

feeRecipient

.uverse.address

Value

<gnolang.StringValue>

pendingFeeRecipient

.uverse.address

Value

<zero>

assertAdmin

func()

assertAdmin rejects a stale or sibling \`cur\`, then checks the caller.

Open
OID
0e5fce…d11a:54
assertAdmin details

Inspect func

TransferOwnership

func(newAdmin .uverse.address)

TransferOwnership stages a handoff to newAdmin. Admin only. Calling it again replaces the staged address.

Open
OID
0e5fce…d11a:55
TransferOwnership details

Inspect func

AcceptOwnership

func()

AcceptOwnership completes the handoff. Only the staged address may call it, so the outgoing admin cannot collapse the two steps into one.

Open
OID
0e5fce…d11a:56
AcceptOwnership details

Inspect func

CancelOwnershipTransfer

func()

CancelOwnershipTransfer clears a staged handoff. Admin only.

Open
OID
0e5fce…d11a:57
CancelOwnershipTransfer details

Inspect func

GetAdmin

func() string

GetAdmin returns the address that holds admin.

Open
OID
0e5fce…d11a:58
GetAdmin details

Inspect func

GetPendingAdmin

func() string

GetPendingAdmin returns the staged successor ("" when none).

Open
OID
0e5fce…d11a:59
GetPendingAdmin details

Inspect func

ProposeFeeRecipient

func(recipient .uverse.address)

ProposeFeeRecipient stages a new fallback fee recipient. Admin only.

Open
OID
0e5fce…d11a:60
ProposeFeeRecipient details

Inspect func

AcceptFeeRecipient

func()

AcceptFeeRecipient completes the rotation. Only the staged address may call it, which proves it can transact.

Open
OID
0e5fce…d11a:61
AcceptFeeRecipient details

Inspect func

CancelFeeRecipientProposal

func()

CancelFeeRecipientProposal clears a staged fee recipient. Admin only.

Open
OID
0e5fce…d11a:62
CancelFeeRecipientProposal details

Inspect func

GetFeeRecipient

func() string

GetFeeRecipient returns the fallback fee recipient.

Open
OID
0e5fce…d11a:63
GetFeeRecipient details

Inspect func

GetPendingFeeRecipient

func() string

GetPendingFeeRecipient returns the staged fee recipient ("" when none).

Open
OID
0e5fce…d11a:64
GetPendingFeeRecipient details

Inspect func

basisPointsFee

func(amount int64, bps int64) int64

basisPointsFee computes floor(amount\*bps/10000) without overflowing the intermediate product. For nonnegative amount and bps \<= 10000, the quotient product and final sum are \<= amount; the remainder product is \< 100000000. Callers retain their existing configured rates, recipients and rounding.

Open
OID
0e5fce…d11a:65
basisPointsFee details

Inspect func

cleanText

func(s string, what string, max int) string

cleanText validates and sanitises user text before it is stored and rendered. It refuses input longer than max bytes, input that is not valid UTF-8 (the sanitiser would otherwise turn each bad byte into a 3-byte U+FFFD, storing up to three times the limit), and control or format characters (\\p{Cc}, \\p{Cf}: bidi overrides, zero-width characters), which could hide or reorder text. It then strips markdown-sensitive characters and line breaks and tabs, as v3 did. Stripping only removes bytes, so the result is within max; that is checked again because storage is bounded by it.

Open
OID
0e5fce…d11a:66
cleanText details

Inspect func

isStripped

func(c int32) bool

isStripped reports the markdown-sensitive characters and line breaks and tabs removed from stored text, as in v3.

Open
OID
0e5fce…d11a:67
isStripped details

Inspect func

mayBeFormat

func(c int32) bool

mayBeFormat is a cheap superset test for \\p{Cf} (every format character is U+00AD, in U+0600..U+206F, or at or above U+FEFF), so common text skips the table lookup.

Open
OID
0e5fce…d11a:68
mayBeFormat details

Inspect func

publisherAtLoad

func() .uverse.address
Open
OID
0e5fce…d11a:69
publisherAtLoad details

Inspect func

requireExactSend

func(amount int64, caller .uverse.realm)

requireExactSend panics unless caller (the entrypoint's cur.Previous()) is a direct user call and the transaction's send envelope holds exactly amount ugnot and no other denom. Only for a direct user call is the envelope credited to this realm, the message target; any other denom would be stranded here. The guard sits in this function, before the read, so the deployer's per-function fund-safety scan (lib/deploy.sh) sees it.

Open
OID
0e5fce…d11a:71
requireExactSend details

Inspect func

realmAddress

func() .uverse.address
Open
OID
0e5fce…d11a:72
realmAddress details

Inspect func

TotalLiabilities

func() int64

TotalLiabilities returns the ugnot the realm owes across funded, completed and disputed milestones.

Open
OID
0e5fce…d11a:73
TotalLiabilities details

Inspect func

RealmAddress

func() string

RealmAddress is the NF-2 canonical name for the realm's own address.

Open
OID
0e5fce…d11a:75
RealmAddress details

Inspect func

GetActiveCount

func() int

GetActiveCount returns the number of open contracts (not completed or cancelled).

Open
OID
0e5fce…d11a:76
GetActiveCount details

Inspect func

GetClientActiveCount

func(client .uverse.address) int

GetClientActiveCount returns the open contracts created by client, bounded by MaxActivePerClient.

Open
OID
0e5fce…d11a:77
GetClientActiveCount details

Inspect func

GetLiveCount

func() int

GetLiveCount returns the contracts still stored: open ones plus settled ones their client has not archived.

Open
OID
0e5fce…d11a:78
GetLiveCount details

Inspect func

GetArchivedCount

func() int

GetArchivedCount returns the contracts deleted by ArchiveContract.

Open
OID
0e5fce…d11a:79
GetArchivedCount details

Inspect func

GetCreatedCount

func() int

GetCreatedCount returns every contract ever created; ids run from 0 to GetCreatedCount()-1 and are never reused.

Open
OID
0e5fce…d11a:80
GetCreatedCount details

Inspect func

GovernanceMilestone

type

Value

escrow_v4.GovernanceMilestone

GovernanceContract

type

Value

escrow_v4.GovernanceContract

GetGovernanceContract

func(id string) escrow_v4.GovernanceContract
Open
OID
0e5fce…d11a:81
GetGovernanceContract details

Inspect func

contentHash

func(c *escrow_v4.Contract) string

contentHash digests the immutable metadata of a contract (parties, texts, creation height, milestone titles and amounts), not its state.

Open
OID
0e5fce…d11a:82
contentHash details

Inspect func

GovernanceFeeTerms

type

Value

escrow_v4.GovernanceFeeTerms

GetGovernanceFeeTerms

func() escrow_v4.GovernanceFeeTerms
Open
OID
0e5fce…d11a:83
GetGovernanceFeeTerms details

Inspect func

escrowMetadataField

func(value string) string
Open
OID
0e5fce…d11a:84
escrowMetadataField details

Inspect func

maxPageSize

untyped bigint

Value

(50 <untyped> bigint)

indexPrefix

untyped string

indexPrefix keys the client index inside clientSlots (the per-client slot counters are keyed by the bare address, which never starts with "c/"): one tree instead of two keeps the package smaller.

Value

"c/"

GetContractJSON

func(id string) string

GetContractJSON returns one contract as JSON.

Open
OID
0e5fce…d11a:85
GetContractJSON details

Inspect func

GetClientContractsJSON

func(client .uverse.address, before string, limit int) string

GetClientContractsJSON pages the live contracts a client created, newest first: {"items":\[{"id","status","createdAtHeight"}...],"next":cursor|null}. before is "" for the first page or the previous page's next cursor; limit is clamped to 1..50.

Open
OID
0e5fce…d11a:86
GetClientContractsJSON details

Inspect func

GetPauseStateJSON

func() string

GetPauseStateJSON returns PauseState() as JSON.

Open
OID
0e5fce…d11a:87
GetPauseStateJSON details

Inspect func

contractsPage

func(who .uverse.address, before string, limit int) string
Open
OID
0e5fce…d11a:88
contractsPage details

Inspect func

indexKey

func(who .uverse.address, id int) string

indexKey orders a party's contracts by id: 10-digit zero padding.

Open
OID
0e5fce…d11a:89
indexKey details

Inspect func

deadline

func(since int64, mark int64, span int64) int64

deadline is the height at which a clock started at since (pause mark taken then) reaches span unpaused blocks, assuming no pause after the current one.

Open
OID
0e5fce…d11a:90
deadline details

Inspect func

minHeight

func(a int64, b int64) int64
Open
OID
0e5fce…d11a:91
minHeight details

Inspect func

jheight

func(n int64) string

jheight encodes 0 (not set) as null.

Open
OID
0e5fce…d11a:93
jheight details

Inspect func

jstr

func(s string) string

jstr quotes s as a JSON string. Stored text is valid UTF-8 without control characters; ids passed by callers are escaped the same way.

Open
OID
0e5fce…d11a:94
jstr details

Inspect func

RenderPageSize

untyped bigint

RenderPageSize is the number of contracts listed per home page.

Value

(20 <untyped> bigint)

renderHome

func(page int) string
Open
OID
0e5fce…d11a:96
renderHome details

Inspect func

renderContract

func(id string) string
Open
OID
0e5fce…d11a:97
renderContract details

Inspect func

contractTotal

func(c *escrow_v4.Contract) int64

contractTotal cannot overflow: CreateContract refuses totals above int64.

Open
OID
0e5fce…d11a:99
contractTotal details

Inspect func

truncAddr

func(addr .uverse.address) string
Open
OID
0e5fce…d11a:100
truncAddr details

Inspect func
laneService : untyped string ="service"
PlatformFeePct : untyped bigint =(2 <untyped> bigint)
CancelFeePct : untyped bigint =(5 <untyped> bigint)
AutoRefundBlks : int64 =864000
AutoResolveBlks : int64 =806400
UnfundedExpiryBlks : int64 =864000
MaxTitleLen : untyped bigint =(200 <untyped> bigint)
MaxDescLen : untyped bigint =(5000 <untyped> bigint)
MaxMilestones : untyped bigint =(20 <untyped> bigint)
MinMilestoneAmount : int64 =1000
maxMilestonesArgLen : untyped bigint =(5280 <untyped> bigint)
MaxActivePerClient : untyped bigint =(5 <untyped> bigint)
ContractStatus : type =escrow_v4.ContractStatus
StatusActive : escrow_v4.ContractStatus =<gnolang.StringValue>
StatusCompleted : escrow_v4.ContractStatus =<gnolang.StringValue>
StatusDisputed : escrow_v4.ContractStatus =<gnolang.StringValue>
StatusCancelled : escrow_v4.ContractStatus =<gnolang.StringValue>
MilestoneStatus : type =escrow_v4.MilestoneStatus
MsPending : escrow_v4.MilestoneStatus =<gnolang.StringValue>
MsFunded : escrow_v4.MilestoneStatus =<gnolang.StringValue>
MsCompleted : escrow_v4.MilestoneStatus =<gnolang.StringValue>
MsReleased : escrow_v4.MilestoneStatus =<gnolang.StringValue>
MsDisputed : escrow_v4.MilestoneStatus =<gnolang.StringValue>
MsRefunded : escrow_v4.MilestoneStatus =<gnolang.StringValue>
Contract : type =escrow_v4.Contract
Milestone : type =escrow_v4.Milestone
contracts : *avl.Tree Inspect
clientSlots : *avl.Tree Inspect
nextID : int =0
activeCount : int =0
archivedCount : int =0
totalLiable : int64 =0
init.32 : func() Inspect
resolveFee : func() (int64, .uverse.address) Inspect
callerOf : func() .uverse.address Inspect
CreateContract : func(freelancer .uverse.address, title string, description string, milestones string) string Inspect
FundMilestone : func(contractId string, milestoneIdx int) Inspect
CompleteMilestone : func(contractId string, milestoneIdx int) Inspect
ReleaseFunds : func(contractId string, milestoneIdx int) Inspect
RaiseDispute : func(contractId string, milestoneIdx int) Inspect
ResolveDispute : func(contractId string, milestoneIdx int, refundClient bool) Inspect
CancelContract : func(contractId string) Inspect
ExpireUnfunded : func(contractId string) Inspect
ClaimRefund : func(contractId string, milestoneIdx int) Inspect
ClaimDisputeTimeout : func(contractId string, milestoneIdx int) Inspect
ArchiveContract : func(contractId string) Inspect
isOpen : func(c *escrow_v4.Contract) bool Inspect
clientActive : func(client .uverse.address) int Inspect
takeSlot : func(client .uverse.address) Inspect
settle : func(c *escrow_v4.Contract, status escrow_v4.ContractStatus) Inspect
settleIfFinished : func(c *escrow_v4.Contract) Inspect
payout : type =escrow_v4.payout
send : func(to .uverse.address, amount int64) Inspect
payFreelancer : func(c *escrow_v4.Contract, amount int64) escrow_v4.payout Inspect
getContract : func(id string) *escrow_v4.Contract Inspect
milestoneAt : func(c *escrow_v4.Contract, idx int) *escrow_v4.Milestone Inspect
allMilestonesReleased : func(c *escrow_v4.Contract) bool Inspect
anyMilestoneDisputed : func(c *escrow_v4.Contract) bool Inspect
allMilestonesTerminal : func(c *escrow_v4.Contract) bool Inspect
parseMilestones : func(input string) []escrow_v4.Milestone Inspect
MaxPauseBlks : int64 =183273
PauseCooldownBlks : int64 =183273
paused : bool =false
pausedAt : int64 =0
pauseCooldownUntil : int64 =0
pausedBlocksDone : int64 =0
PauseInfo : type =escrow_v4.PauseInfo
PauseState : func() escrow_v4.PauseInfo Inspect
IsPaused : func() bool Inspect
Pause : func() Inspect
Unpause : func() Inspect
inBlockingWindow : func(now int64) bool Inspect
pausedBlocksAt : func(now int64) int64 Inspect
assertAcceptsNewMoney : func() Inspect
assertOpen : func() Inspect
elapsedOpen : func(since int64, mark int64) int64 Inspect
admin : .uverse.address =<gnolang.StringValue>
pendingAdmin : .uverse.address =<zero>
feeRecipient : .uverse.address =<gnolang.StringValue>
pendingFeeRecipient : .uverse.address =<zero>
assertAdmin : func() Inspect
TransferOwnership : func(newAdmin .uverse.address) Inspect
AcceptOwnership : func() Inspect
CancelOwnershipTransfer : func() Inspect
GetAdmin : func() string Inspect
GetPendingAdmin : func() string Inspect
ProposeFeeRecipient : func(recipient .uverse.address) Inspect
AcceptFeeRecipient : func() Inspect
CancelFeeRecipientProposal : func() Inspect
GetFeeRecipient : func() string Inspect
GetPendingFeeRecipient : func() string Inspect
basisPointsFee : func(amount int64, bps int64) int64 Inspect
cleanText : func(s string, what string, max int) string Inspect
isStripped : func(c int32) bool Inspect
mayBeFormat : func(c int32) bool Inspect
publisherAtLoad : func() .uverse.address Inspect
requireExactSend : func(amount int64, caller .uverse.realm) Inspect
realmAddress : func() .uverse.address Inspect
TotalLiabilities : func() int64 Inspect
RealmAddress : func() string Inspect
GetActiveCount : func() int Inspect
GetClientActiveCount : func(client .uverse.address) int Inspect
GetLiveCount : func() int Inspect
GetArchivedCount : func() int Inspect
GetCreatedCount : func() int Inspect
GovernanceMilestone : type =escrow_v4.GovernanceMilestone
GovernanceContract : type =escrow_v4.GovernanceContract
GetGovernanceContract : func(id string) escrow_v4.GovernanceContract Inspect
contentHash : func(c *escrow_v4.Contract) string Inspect
GovernanceFeeTerms : type =escrow_v4.GovernanceFeeTerms
GetGovernanceFeeTerms : func() escrow_v4.GovernanceFeeTerms Inspect
escrowMetadataField : func(value string) string Inspect
maxPageSize : untyped bigint =(50 <untyped> bigint)
indexPrefix : untyped string ="c/"
GetContractJSON : func(id string) string Inspect
GetClientContractsJSON : func(client .uverse.address, before string, limit int) string Inspect
GetPauseStateJSON : func() string Inspect
contractsPage : func(who .uverse.address, before string, limit int) string Inspect
indexKey : func(who .uverse.address, id int) string Inspect
deadline : func(since int64, mark int64, span int64) int64 Inspect
minHeight : func(a int64, b int64) int64 Inspect
jint : func(n int64) string Inspect
jheight : func(n int64) string Inspect
jstr : func(s string) string Inspect
RenderPageSize : untyped bigint =(20 <untyped> bigint)
Render : func(path string) string Inspect
renderHome : func(page int) string Inspect
renderContract : func(id string) string Inspect
renderStats : func() string Inspect
contractTotal : func(c *escrow_v4.Contract) int64 Inspect
truncAddr : func(addr .uverse.address) string Inspect