PortEntry
typePortEntry records a Solidity contract transpiled and deployed to Gno.land.
Value
portbook.PortEntry
PortRequest
typePortRequest records a community request to port a Solidity contract to Gno.land.
Value
portbook.PortRequest
admin
.uverse.addressValue
<gnolang.StringValue>
nextPortID
uint64Value
2
nextReqID
uint64Value
3
totalVotes
uint64Value
3
openReqCount
uint64Value
3
portsByID
*v0.Tree// key: idKey(id) -> \*PortEntry
- OID
- 0ca572…afea:36
portsByID details
requestsByID
*v0.Tree// key: idKey(id) -> \*PortRequest
- OID
- 0ca572…afea:38
requestsByID details
portUpvoters
*v0.Tree// key: idKey(id) + ":" + string(addr) -> true
- OID
- 0ca572…afea:40
portUpvoters details
reqVoters
*v0.Tree// key: idKey(id) + ":" + string(addr) -> true
- OID
- 0ca572…afea:42
reqVoters details
contributors
*v0.Tree// key: string(addr) -> true
- OID
- 0ca572…afea:44
contributors details
init.12
func()- OID
- 0ca572…afea:13
init.12 details
RegisterPort
func(name string, category string, sourceURL string, solHash string, realmPath string, mode string, cleanFuncs int, totalFuncs int, warns int, holes int, summary string) uint64RegisterPort publishes a Solidity -> Gno migration record on-chain.
- OID
- 0ca572…afea:15
RegisterPort details
UpvotePort
func(portID uint64)UpvotePort casts a single upvote per address on a registered port.
- OID
- 0ca572…afea:16
UpvotePort details
RequestPort
func(contractName string, category string, sourceURL string, notes string) uint64RequestPort submits a Solidity contract that the community wants ported to Gno.land. Automatically casts the requester's initial vote.
- OID
- 0ca572…afea:17
RequestPort details
VoteRequest
func(requestID uint64)VoteRequest casts a single vote per address on an open port request.
- OID
- 0ca572…afea:18
VoteRequest details
FulfillRequest
func(requestID uint64, portID uint64)FulfillRequest links an open community request to a registered PortEntry. Callable by the port author, the requester, or the realm admin.
- OID
- 0ca572…afea:19
FulfillRequest details
Stats
func() (ports uint64, requests uint64, openRequests uint64, votes uint64, uniqueContributors int)Stats returns aggregate registry counters for indexers, tests, and cross-realm reads.
- OID
- 0ca572…afea:20
Stats details
GetPort
func(id uint64) *portbook.PortEntryGetPort returns a registered port by ID, or nil if it does not exist.
- OID
- 0ca572…afea:21
GetPort details
GetRequest
func(id uint64) *portbook.PortRequestGetRequest returns a community port request by ID, or nil if it does not exist.
- OID
- 0ca572…afea:22
GetRequest details
idKey
func(id uint64) string- OID
- 0ca572…afea:23
idKey details
normalizeMode
func(mode string) string- OID
- 0ca572…afea:24
normalizeMode details
normalizeCategory
func(cat string) string- OID
- 0ca572…afea:25
normalizeCategory details
Render
func(path string) stringRender exposes the interactive Markdown UI in gnoweb with clickable Adena txlinks.
- OID
- 0ca572…afea:26
Render details
renderHome
func() string- OID
- 0ca572…afea:28
renderHome details
renderAllPorts
func() string- OID
- 0ca572…afea:29
renderAllPorts details
renderAllRequests
func() string- OID
- 0ca572…afea:30
renderAllRequests details
renderPortsTable
func(limit int) string- OID
- 0ca572…afea:31
renderPortsTable details
renderRequestsTable
func(limit int) string- OID
- 0ca572…afea:32
renderRequestsTable details
renderPortDetail
func(id uint64) string- OID
- 0ca572…afea:33
renderPortDetail details
renderRequestDetail
func(id uint64) string- OID
- 0ca572…afea:34
renderRequestDetail details
escapeCell
func(s string) string- OID
- 0ca572…afea:35