web3-plugin-eas
Version:
Web3.js plugin for Ethereum Attestation Service(EAS)
113 lines (112 loc) • 2.81 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const abi = [
{
inputs: [],
name: "AlreadyExists",
type: "error"
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "bytes32",
name: "uid",
type: "bytes32"
},
{
indexed: false,
internalType: "address",
name: "registerer",
type: "address"
}
],
name: "Registered",
type: "event"
},
{
inputs: [],
name: "VERSION",
outputs: [
{
internalType: "string",
name: "",
type: "string"
}
],
stateMutability: "view",
type: "function"
},
{
inputs: [
{
internalType: "bytes32",
name: "uid",
type: "bytes32"
}
],
name: "getSchema",
outputs: [
{
components: [
{
internalType: "bytes32",
name: "uid",
type: "bytes32"
},
{
internalType: "contract ISchemaResolver",
name: "resolver",
type: "address"
},
{
internalType: "bool",
name: "revocable",
type: "bool"
},
{
internalType: "string",
name: "schema",
type: "string"
}
],
internalType: "struct SchemaRecord",
name: "",
type: "tuple"
}
],
stateMutability: "view",
type: "function"
},
{
inputs: [
{
internalType: "string",
name: "schema",
type: "string"
},
{
internalType: "contract ISchemaResolver",
name: "resolver",
type: "address"
},
{
internalType: "bool",
name: "revocable",
type: "bool"
}
],
name: "register",
outputs: [
{
internalType: "bytes32",
name: "",
type: "bytes32"
}
],
stateMutability: "nonpayable",
type: "function"
}
];
exports.default = abi;