UNPKG

@verax-attestation-registry/verax-sdk

Version:

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

403 lines 9.61 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.abiPortalRegistry = void 0; exports.abiPortalRegistry = [ { inputs: [], stateMutability: "nonpayable", type: "constructor", }, { inputs: [], name: "OnlyIssuer", type: "error", }, { inputs: [], name: "PortalAddressInvalid", type: "error", }, { inputs: [], name: "PortalAlreadyExists", type: "error", }, { inputs: [], name: "PortalDescriptionMissing", type: "error", }, { inputs: [], name: "PortalInvalid", type: "error", }, { inputs: [], name: "PortalNameMissing", type: "error", }, { inputs: [], name: "PortalNotRegistered", type: "error", }, { inputs: [], name: "PortalOwnerNameMissing", type: "error", }, { inputs: [], name: "RouterInvalid", 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: false, internalType: "string", name: "name", type: "string", }, { indexed: false, internalType: "string", name: "description", type: "string", }, { indexed: false, internalType: "address", name: "portalAddress", type: "address", }, ], name: "PortalRegistered", type: "event", }, { inputs: [ { internalType: "address[]", name: "modules", type: "address[]", }, { internalType: "string", name: "name", type: "string", }, { internalType: "string", name: "description", type: "string", }, { internalType: "bool", name: "isRevocable", type: "bool", }, { internalType: "string", name: "ownerName", type: "string", }, ], name: "deployDefaultPortal", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "id", type: "address", }, ], name: "getPortalByAddress", outputs: [ { components: [ { internalType: "address", name: "id", type: "address", }, { internalType: "address", name: "ownerAddress", type: "address", }, { internalType: "address[]", name: "modules", type: "address[]", }, { internalType: "bool", name: "isRevocable", type: "bool", }, { internalType: "string", name: "name", type: "string", }, { internalType: "string", name: "description", type: "string", }, { internalType: "string", name: "ownerName", type: "string", }, ], internalType: "struct Portal", name: "", type: "tuple", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "portalAddress", type: "address", }, ], name: "getPortalOwner", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "portalAddress", type: "address", }, ], name: "getPortalRevocability", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "issuer", type: "address", }, ], name: "isIssuer", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "id", type: "address", }, ], 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: [ { internalType: "address", name: "id", type: "address", }, { internalType: "string", name: "name", type: "string", }, { internalType: "string", name: "description", type: "string", }, { internalType: "bool", name: "isRevocable", type: "bool", }, { internalType: "string", name: "ownerName", type: "string", }, ], name: "register", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "issuer", type: "address", }, ], name: "removeIssuer", outputs: [], stateMutability: "nonpayable", 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: "address", name: "issuer", type: "address", }, ], name: "setIssuer", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "newOwner", type: "address", }, ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_router", type: "address", }, ], name: "updateRouter", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; //# sourceMappingURL=PortalRegistry.js.map