Variable identityRegistryAbiConst
identityRegistryAbi: readonly [
{
type: "function";
name: "register";
inputs: readonly [
{ name: "agentURI"; type: "string" },
{
name: "metadata";
type: "tuple[]";
components: readonly [
{ name: "metadataKey"; type: "string" },
{ name: "metadataValue"; type: "bytes" },
];
},
];
outputs: readonly [{ type: "uint256" }];
stateMutability: "nonpayable";
},
{
type: "function";
name: "getAgentWallet";
inputs: readonly [{ name: "agentId"; type: "uint256" }];
outputs: readonly [{ type: "address" }];
stateMutability: "view";
},
{
type: "function";
name: "tokenURI";
inputs: readonly [{ name: "tokenId"; type: "uint256" }];
outputs: readonly [{ type: "string" }];
stateMutability: "view";
},
{
type: "function";
name: "ownerOf";
inputs: readonly [{ name: "tokenId"; type: "uint256" }];
outputs: readonly [{ type: "address" }];
stateMutability: "view";
},
{
type: "function";
name: "getMetadata";
inputs: readonly [
{ name: "agentId"; type: "uint256" },
{ name: "metadataKey"; type: "string" },
];
outputs: readonly [{ type: "bytes" }];
stateMutability: "view";
},
{
type: "function";
name: "setAgentWallet";
inputs: readonly [
{ name: "agentId"; type: "uint256" },
{ name: "newWallet"; type: "address" },
{ name: "deadline"; type: "uint256" },
{ name: "signature"; type: "bytes" },
];
outputs: readonly [];
stateMutability: "nonpayable";
},
{
type: "event";
name: "Registered";
inputs: readonly [
{ name: "agentId"; type: "uint256"; indexed: true },
{ name: "agentURI"; type: "string"; indexed: false },
{ name: "owner"; type: "address"; indexed: true },
];
},
] = ...