UNPKG

@vaimee/my3sec-contracts

Version:

A set of contracts that implements the My3Sec protocol

465 lines (464 loc) 11.9 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Events__factory = void 0; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ const ethers_1 = require("ethers"); const _abi = [ { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "from", type: "address", }, { indexed: true, internalType: "uint256", name: "profileId", type: "uint256", }, { indexed: true, internalType: "uint256", name: "certificateId", type: "uint256", }, ], name: "CertificateIssued", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "fromProfileId", type: "uint256", }, { indexed: true, internalType: "uint256", name: "toProfileId", type: "uint256", }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, ], name: "EnergyGiven", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "fromProfileId", type: "uint256", }, { indexed: true, internalType: "uint256", name: "toProfileId", type: "uint256", }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, ], name: "EnergyRemoved", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "organization", type: "address", }, { indexed: true, internalType: "uint256", name: "taskId", type: "uint256", }, { indexed: true, internalType: "uint256", name: "profileId", type: "uint256", }, ], name: "ExperienceWithdrawn", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "organization", type: "address", }, { indexed: true, internalType: "uint256", name: "profileId", type: "uint256", }, ], name: "OrganizationJoined", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "organization", type: "address", }, { indexed: true, internalType: "uint256", name: "profileId", type: "uint256", }, ], name: "OrganizationLeft", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "organization", type: "address", }, ], name: "OrganizationRegistered", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "organization", type: "address", }, { indexed: true, internalType: "uint256", name: "profileId", type: "uint256", }, ], name: "PendingMemberApproved", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "organization", type: "address", }, { indexed: true, internalType: "uint256", name: "profileId", type: "uint256", }, ], name: "PendingMemberRejected", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "profileId", type: "uint256", }, { indexed: true, internalType: "address", name: "owner", type: "address", }, ], name: "ProfileCreated", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "organization", type: "address", }, { indexed: true, internalType: "uint256", name: "projectId", type: "uint256", }, ], name: "ProjectCreated", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "organization", type: "address", }, { indexed: true, internalType: "uint256", name: "projectId", type: "uint256", }, { indexed: true, internalType: "uint256", name: "profileId", type: "uint256", }, ], name: "ProjectMemberAdded", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "organization", type: "address", }, { indexed: true, internalType: "uint256", name: "projectId", type: "uint256", }, { indexed: true, internalType: "uint256", name: "profileId", type: "uint256", }, ], name: "ProjectMemberRemoved", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "organization", type: "address", }, { indexed: true, internalType: "uint256", name: "projectId", type: "uint256", }, ], name: "ProjectUpdated", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "skillId", type: "uint256", }, ], name: "SkillCreated", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "organization", type: "address", }, { indexed: true, internalType: "uint256", name: "projectId", type: "uint256", }, { indexed: true, internalType: "uint256", name: "taskId", type: "uint256", }, ], name: "TaskCreated", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "organization", type: "address", }, { indexed: true, internalType: "uint256", name: "taskId", type: "uint256", }, { indexed: true, internalType: "uint256", name: "profileId", type: "uint256", }, ], name: "TaskMemberAdded", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "organization", type: "address", }, { indexed: true, internalType: "uint256", name: "taskId", type: "uint256", }, { indexed: true, internalType: "uint256", name: "profileId", type: "uint256", }, ], name: "TaskMemberRemoved", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "organization", type: "address", }, { indexed: true, internalType: "uint256", name: "taskId", type: "uint256", }, ], name: "TaskUpdated", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "profileId", type: "uint256", }, { indexed: false, internalType: "uint256", name: "time", type: "uint256", }, ], name: "TimeLogged", type: "event", }, ]; const _bytecode = "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122022d7b9bf7e6cb75f4be17c594d32364e4539f9442fc25ecb08649ba7dccf36ee64736f6c63430008110033"; const isSuperArgs = (xs) => xs.length > 1; class Events__factory extends ethers_1.ContractFactory { constructor(...args) { if (isSuperArgs(args)) { super(...args); } else { super(_abi, _bytecode, args[0]); } } deploy(overrides) { return super.deploy(overrides || {}); } getDeployTransaction(overrides) { return super.getDeployTransaction(overrides || {}); } attach(address) { return super.attach(address); } connect(signer) { return super.connect(signer); } static createInterface() { return new ethers_1.utils.Interface(_abi); } static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.Events__factory = Events__factory; Events__factory.bytecode = _bytecode; Events__factory.abi = _abi;