Realm

gno.land/r/samcrew/agent_registry_v2

Rendered output

Memba Agent Registry

On-chain AI Agent Marketplace for the Gno ecosystem.

No agents registered yet.

Query (read-only)

non-crossing functions · no tx, no wallet needed
GetCredits(agentId string, userAddr string) → int64
GetEarnings(agentId string) → int64
GetUsage(agentId string, userAddr string) → int64
IsPaused() → bool

Call functions (state-changing)

signs a tx via Adena
DepositCredits(agentId string)
Pause()
RefundCredits(agentId string)
RegisterAgent(id string, name string, description string, category string, capabilities string, endpoint string, transport string, pricing string, version string, pricePerCall int64)
RemoveAgent(id string)
ReviewAgent(agentId string, rating int, comment string)
Unpause()
UpdateAgent(id string, description string, capabilities string, endpoint string, version string, pricing string, pricePerCall int64)
UseCredit(agentId string, userAddr string)
WithdrawEarnings(agentId string)

All exported functions (15)

show raw signatures
NameParamsReturns
Pause [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}]
Unpause [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}]
IsPaused [{"Name": ".res.0", "Type": "bool", "Value": ""}]
RegisterAgent [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "id", "Type": "string", "Value": ""}, {"Name": "name", "Type": "string", "Value": ""}, {"Name": "description", "Type": "string", "Value": ""}, {"Name": "category", "Type": "string", "Value": ""}, {"Name": "capabilities", "Type": "string", "Value": ""}, {"Name": "endpoint", "Type": "string", "Value": ""}, {"Name": "transport", "Type": "string", "Value": ""}, {"Name": "pricing", "Type": "string", "Value": ""}, {"Name": "version", "Type": "string", "Value": ""}, {"Name": "pricePerCall", "Type": "int64", "Value": ""}]
UpdateAgent [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "id", "Type": "string", "Value": ""}, {"Name": "description", "Type": "string", "Value": ""}, {"Name": "capabilities", "Type": "string", "Value": ""}, {"Name": "endpoint", "Type": "string", "Value": ""}, {"Name": "version", "Type": "string", "Value": ""}, {"Name": "pricing", "Type": "string", "Value": ""}, {"Name": "pricePerCall", "Type": "int64", "Value": ""}]
ReviewAgent [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "agentId", "Type": "string", "Value": ""}, {"Name": "rating", "Type": "int", "Value": ""}, {"Name": "comment", "Type": "string", "Value": ""}]
RemoveAgent [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "id", "Type": "string", "Value": ""}]
DepositCredits [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "agentId", "Type": "string", "Value": ""}]
UseCredit [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "agentId", "Type": "string", "Value": ""}, {"Name": "userAddr", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}]
GetCredits [{"Name": "agentId", "Type": "string", "Value": ""}, {"Name": "userAddr", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}]
GetUsage [{"Name": "agentId", "Type": "string", "Value": ""}, {"Name": "userAddr", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}]
GetEarnings [{"Name": "agentId", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "int64", "Value": ""}]
WithdrawEarnings [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "agentId", "Type": "string", "Value": ""}]
RefundCredits [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "agentId", "Type": "string", "Value": ""}]
Render [{"Name": "path", "Type": "string", "Value": ""}] [{"Name": ".res.0", "Type": "string", "Value": ""}]

Files

Storage

{
  "raw": "storage: 33366, deposit: 3336600"
}