import { JsonFragment } from "../abis.model"; export const AutIDABI: JsonFragment[] = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address", }, { indexed: true, internalType: "address", name: "approved", type: "address", }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256", }, ], name: "Approval", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address", }, { indexed: true, internalType: "address", name: "operator", type: "address", }, { indexed: false, internalType: "bool", name: "approved", type: "bool", }, ], name: "ApprovalForAll", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "owner", type: "address", }, { indexed: false, internalType: "uint256", name: "tokenID", type: "uint256", }, ], name: "AutIDCreated", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "daoExpanderAddress", type: "address", }, { indexed: false, internalType: "address", name: "member", type: "address", }, { indexed: false, internalType: "uint256", name: "newCommitment", type: "uint256", }, ], name: "CommitmentUpdated", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "daoExpanderAddress", type: "address", }, { indexed: false, internalType: "address", name: "member", type: "address", }, ], name: "DAOJoined", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "daoExpanderAddress", type: "address", }, { indexed: false, internalType: "address", name: "member", type: "address", }, ], name: "DAOWithdrown", type: "event", }, { anonymous: false, inputs: [], name: "DiscordIDConnectedToAutID", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8", }, ], name: "Initialized", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "tokenId", type: "uint256", }, { indexed: false, internalType: "string", name: "metadataUri", type: "string", }, ], name: "MetadataUriSet", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address", }, { indexed: true, internalType: "address", name: "to", type: "address", }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256", }, ], name: "Transfer", type: "event", }, { inputs: [ { internalType: "string", name: "discordID", type: "string", }, ], name: "addDiscordIDToAutID", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "to", type: "address", }, { internalType: "uint256", name: "tokenId", type: "uint256", }, ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], name: "autIDToDiscordID", outputs: [ { internalType: "string", name: "", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "string", name: "", type: "string", }, ], name: "autIDUsername", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "owner", type: "address", }, ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "string", name: "", type: "string", }, ], name: "discordIDToAddress", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "daoExpander", type: "address", }, { internalType: "uint256", name: "newCommitment", type: "uint256", }, ], name: "editCommitment", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256", }, ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "autIDOwner", type: "address", }, ], name: "getAutIDByOwner", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "string", name: "username", type: "string", }, ], name: "getAutIDHolderByUsername", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "autIDHolder", type: "address", }, ], name: "getHolderDAOs", outputs: [ { internalType: "address[]", name: "daos", type: "address[]", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "autIDHolder", type: "address", }, { internalType: "address", name: "daoExpander", type: "address", }, ], name: "getMembershipData", outputs: [ { components: [ { internalType: "address", name: "daoExpanderAddress", type: "address", }, { internalType: "uint256", name: "role", type: "uint256", }, { internalType: "uint256", name: "commitment", type: "uint256", }, { internalType: "bool", name: "isActive", type: "bool", }, ], internalType: "struct IAutID.DAOMember", name: "", type: "tuple", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getNextTokenID", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "autIDHolder", type: "address", }, ], name: "getTotalCommitment", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getTrustedForwarder", outputs: [ { internalType: "address", name: "forwarder", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "trustedForwarder", type: "address", }, ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "owner", type: "address", }, { internalType: "address", name: "operator", type: "address", }, ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "forwarder", type: "address", }, ], name: "isTrustedForwarder", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "role", type: "uint256", }, { internalType: "uint256", name: "commitment", type: "uint256", }, { internalType: "address", name: "daoExpander", type: "address", }, ], name: "joinDAO", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "string", name: "username", type: "string", }, { internalType: "string", name: "url", type: "string", }, { internalType: "uint256", name: "role", type: "uint256", }, { internalType: "uint256", name: "commitment", type: "uint256", }, { internalType: "address", name: "daoExpander", type: "address", }, ], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256", }, ], name: "ownerOf", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "from", type: "address", }, { internalType: "address", name: "to", type: "address", }, { internalType: "uint256", name: "tokenId", type: "uint256", }, ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "from", type: "address", }, { internalType: "address", name: "to", type: "address", }, { internalType: "uint256", name: "tokenId", type: "uint256", }, { internalType: "bytes", name: "data", type: "bytes", }, ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "operator", type: "address", }, { internalType: "bool", name: "approved", type: "bool", }, ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "string", name: "metadataUri", type: "string", }, ], name: "setMetadataUri", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4", }, ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256", }, ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "from", type: "address", }, { internalType: "address", name: "to", type: "address", }, { internalType: "uint256", name: "tokenId", type: "uint256", }, ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "daoExpander", type: "address", }, ], name: "withdraw", outputs: [], stateMutability: "nonpayable", type: "function", }, ];