Variable reputationRegistryAbiConst
reputationRegistryAbi: readonly [
{
type: "function";
name: "giveFeedback";
inputs: readonly [
{ name: "agentId"; type: "uint256" },
{ name: "value"; type: "int128" },
{ name: "valueDecimals"; type: "uint8" },
{ name: "tag1"; type: "string" },
{ name: "tag2"; type: "string" },
{ name: "endpoint"; type: "string" },
{ name: "feedbackURI"; type: "string" },
{ name: "feedbackHash"; type: "bytes32" },
];
outputs: readonly [];
stateMutability: "nonpayable";
},
{
type: "function";
name: "getSummary";
inputs: readonly [
{ name: "agentId"; type: "uint256" },
{ name: "clientAddresses"; type: "address[]" },
{ name: "tag1"; type: "string" },
{ name: "tag2"; type: "string" },
];
outputs: readonly [
{ name: "count"; type: "uint64" },
{ name: "summaryValue"; type: "int128" },
{ name: "summaryValueDecimals"; type: "uint8" },
];
stateMutability: "view";
},
{
type: "function";
name: "revokeFeedback";
inputs: readonly [
{ name: "agentId"; type: "uint256" },
{ name: "feedbackIndex"; type: "uint64" },
];
outputs: readonly [];
stateMutability: "nonpayable";
},
{
type: "function";
name: "getClients";
inputs: readonly [{ name: "agentId"; type: "uint256" }];
outputs: readonly [{ type: "address[]" }];
stateMutability: "view";
},
{
type: "event";
name: "NewFeedback";
inputs: readonly [
{ name: "agentId"; type: "uint256"; indexed: true },
{ name: "clientAddress"; type: "address"; indexed: true },
{ name: "feedbackIndex"; type: "uint64"; indexed: false },
{ name: "value"; type: "int128"; indexed: false },
{ name: "valueDecimals"; type: "uint8"; indexed: false },
{ name: "indexedTag1"; type: "string"; indexed: true },
{ name: "tag1"; type: "string"; indexed: false },
{ name: "tag2"; type: "string"; indexed: false },
{ name: "endpoint"; type: "string"; indexed: false },
{ name: "feedbackURI"; type: "string"; indexed: false },
{ name: "feedbackHash"; type: "bytes32"; indexed: false },
];
},
] = ...