UNPKG

@verax-attestation-registry/verax-sdk

Version:

Verax Attestation Registry SDK to interact with the subgraph and the contracts

320 lines 7.56 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.abiSchemaRegistry = void 0; exports.abiSchemaRegistry = [ { inputs: [], stateMutability: "nonpayable", type: "constructor", }, { inputs: [], name: "OnlyIssuer", type: "error", }, { inputs: [], name: "RouterInvalid", type: "error", }, { inputs: [], name: "SchemaAlreadyExists", type: "error", }, { inputs: [], name: "SchemaNameMissing", type: "error", }, { inputs: [], name: "SchemaNotRegistered", type: "error", }, { inputs: [], name: "SchemaStringMissing", type: "error", }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8", }, ], name: "Initialized", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address", }, { indexed: true, internalType: "address", name: "newOwner", type: "address", }, ], name: "OwnershipTransferred", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "id", type: "bytes32", }, { indexed: false, internalType: "string", name: "name", type: "string", }, { indexed: false, internalType: "string", name: "description", type: "string", }, { indexed: false, internalType: "string", name: "context", type: "string", }, { indexed: false, internalType: "string", name: "schemaString", type: "string", }, ], name: "SchemaCreated", type: "event", }, { inputs: [ { internalType: "string", name: "name", type: "string", }, { internalType: "string", name: "description", type: "string", }, { internalType: "string", name: "context", type: "string", }, { internalType: "string", name: "schemaString", type: "string", }, ], name: "createSchema", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "string", name: "schema", type: "string", }, ], name: "getIdFromSchemaString", outputs: [ { internalType: "bytes32", name: "", type: "bytes32", }, ], stateMutability: "pure", type: "function", }, { inputs: [ { internalType: "bytes32", name: "schemaId", type: "bytes32", }, ], name: "getSchema", outputs: [ { components: [ { internalType: "string", name: "name", type: "string", }, { internalType: "string", name: "description", type: "string", }, { internalType: "string", name: "context", type: "string", }, { internalType: "string", name: "schema", type: "string", }, ], internalType: "struct Schema", name: "", type: "tuple", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bytes32", name: "schemaId", type: "bytes32", }, ], name: "isRegistered", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "router", outputs: [ { internalType: "contract IRouter", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], name: "schemaIds", outputs: [ { internalType: "bytes32", name: "", type: "bytes32", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "newOwner", type: "address", }, ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bytes32", name: "schemaId", type: "bytes32", }, { internalType: "string", name: "context", type: "string", }, ], name: "updateContext", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_router", type: "address", }, ], name: "updateRouter", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; //# sourceMappingURL=SchemaRegistry.js.map