diff --git a/.env.template b/.env.template index e916e1f..69abec8 100644 --- a/.env.template +++ b/.env.template @@ -7,6 +7,7 @@ ETHEREUM_SEPOLIA_PROVIDER_URL= ETHEREUM_OPTIMISM_GOERLI_PROVIDER_URL= ETHEREUM_BASE_GOERLI_PROVIDER_URL= ETHEREUM_ARBITRUM_GOERLI_PROVIDER_URL= +ETHEREUM_POLYGON_MUMBAI_PROVIDER_URL= ETHEREUM_LINEA_GOERLI_PROVIDER_URL= ETHERSCAN_API_KEY= MAX_FEE= diff --git a/.gitignore b/.gitignore index 2c1e17d..d415a13 100755 --- a/.gitignore +++ b/.gitignore @@ -19,6 +19,7 @@ deployments/sepolia/solcInputs/* deployments/optimism-goerli/solcInputs/* deployments/base-goerli/solcInputs/* deployments/arbitrum-goerli/solcInputs/* +deployments/polygon-mumbai/solcInputs/* deployments/linea-goerli/solcInputs/* deployments/hardhat/* diff --git a/README.md b/README.md index 0f2cd27..870d3fb 100755 --- a/README.md +++ b/README.md @@ -141,6 +141,17 @@ Version v1.1.0: * Contract: [0x55D26f9ae0203EF95494AE4C170eD35f4Cf77797](https:/goerli.arbiscan.io/address/0x55D26f9ae0203EF95494AE4C170eD35f4Cf77797) * Deployment and ABI: [SchemaRegistry.json](./deployments/arbitrum-goerli/SchemaRegistry.json) +#### Polygon Mumbai + +Version v1.2.0: + +* **EAS**: + * Contract: [0xaEF4103A04090071165F78D45D83A0C0782c2B2a](https://mumbai.polygonscan.com/address/0xaEF4103A04090071165F78D45D83A0C0782c2B2a) + * Deployment and ABI: [EAS.json](./deployments/polygon-mumbai/EAS.json) +* **SchemaRegistry**: + * Contract: [0x55D26f9ae0203EF95494AE4C170eD35f4Cf77797](https://mumbai.polygonscan.com/address/0x55D26f9ae0203EF95494AE4C170eD35f4Cf77797) + * Deployment and ABI: [SchemaRegistry.json](./deployments/polygon-mumbai/SchemaRegistry.json) + #### Linea Goerli Version v1.2.0: diff --git a/data/NamedAccounts.ts b/data/NamedAccounts.ts index a9ec5b2..3bc2851 100644 --- a/data/NamedAccounts.ts +++ b/data/NamedAccounts.ts @@ -44,6 +44,10 @@ const arbitrumGoerli = (address: string) => ({ [DeploymentNetwork.ArbitrumGoerli]: address }); +const polygonMumbai = (address: string) => ({ + [DeploymentNetwork.PolygonMumbai]: address +}); + const lineaGoerli = (address: string) => ({ [DeploymentNetwork.LineaGoerli]: address }); @@ -59,6 +63,7 @@ export const NamedAccounts = { ...optimismGoerli(deployer), ...baseGoerli(deployer), ...arbitrumGoerli(deployer), + ...polygonMumbai(deployer), ...lineaGoerli(deployer) } }; diff --git a/deploy/scripts/000003-register-initial-schemas.ts b/deploy/scripts/000003-register-initial-schemas.ts index 40e1de0..7cac720 100644 --- a/deploy/scripts/000003-register-initial-schemas.ts +++ b/deploy/scripts/000003-register-initial-schemas.ts @@ -2,8 +2,8 @@ import { DeployFunction } from 'hardhat-deploy/types'; import { HardhatRuntimeEnvironment } from 'hardhat/types'; import { ZERO_ADDRESS } from '../../utils/Constants'; import { execute, InstanceName, setDeploymentMetadata } from '../../utils/Deploy'; -import Logger from '../../utils/Logger'; import { getSchemaUID } from '../../utils/EAS'; +import Logger from '../../utils/Logger'; export const SCHEMAS = [ { schema: 'bytes32 schemaId,string name', name: 'Name a Schema' }, diff --git a/deployments/polygon-mumbai/.chainId b/deployments/polygon-mumbai/.chainId new file mode 100644 index 0000000..abb5c65 --- /dev/null +++ b/deployments/polygon-mumbai/.chainId @@ -0,0 +1 @@ +80001 diff --git a/deployments/polygon-mumbai/.migrations.json b/deployments/polygon-mumbai/.migrations.json new file mode 100644 index 0000000..bbb5031 --- /dev/null +++ b/deployments/polygon-mumbai/.migrations.json @@ -0,0 +1,8 @@ +{ + "000001-registry": 1697837753, + "000002-eas": 1697837767, + "000003-register-initial-schemas": 1697838116, + "000004-name-initial-schemas": 1697839724, + "000005-eip712-proxy": 1697839733, + "000100-test-seed": 1697839830 +} \ No newline at end of file diff --git a/deployments/polygon-mumbai/EAS.json b/deployments/polygon-mumbai/EAS.json new file mode 100644 index 0000000..2047465 --- /dev/null +++ b/deployments/polygon-mumbai/EAS.json @@ -0,0 +1,1726 @@ +{ + "address": "0xaEF4103A04090071165F78D45D83A0C0782c2B2a", + "abi": [ + { + "inputs": [ + { + "internalType": "contract ISchemaRegistry", + "name": "registry", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [], + "name": "AccessDenied", + "type": "error" + }, + { + "inputs": [], + "name": "AlreadyRevoked", + "type": "error" + }, + { + "inputs": [], + "name": "AlreadyRevokedOffchain", + "type": "error" + }, + { + "inputs": [], + "name": "AlreadyTimestamped", + "type": "error" + }, + { + "inputs": [], + "name": "DeadlineExpired", + "type": "error" + }, + { + "inputs": [], + "name": "InsufficientValue", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidAttestation", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidAttestations", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidExpirationTime", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidLength", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidNonce", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidOffset", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidRegistry", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidRevocation", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidRevocations", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidSchema", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidShortString", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidSignature", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidVerifier", + "type": "error" + }, + { + "inputs": [], + "name": "Irrevocable", + "type": "error" + }, + { + "inputs": [], + "name": "NotFound", + "type": "error" + }, + { + "inputs": [], + "name": "NotPayable", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "str", + "type": "string" + } + ], + "name": "StringTooLong", + "type": "error" + }, + { + "inputs": [], + "name": "WrongSchema", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "attester", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "uid", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "schemaUID", + "type": "bytes32" + } + ], + "name": "Attested", + "type": "event" + }, + { + "anonymous": false, + "inputs": [], + "name": "EIP712DomainChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "oldNonce", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "newNonce", + "type": "uint256" + } + ], + "name": "NonceIncreased", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "attester", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "uid", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "schemaUID", + "type": "bytes32" + } + ], + "name": "Revoked", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "revoker", + "type": "address" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "data", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "uint64", + "name": "timestamp", + "type": "uint64" + } + ], + "name": "RevokedOffchain", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "data", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "uint64", + "name": "timestamp", + "type": "uint64" + } + ], + "name": "Timestamped", + "type": "event" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "bytes32", + "name": "schema", + "type": "bytes32" + }, + { + "components": [ + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint64", + "name": "expirationTime", + "type": "uint64" + }, + { + "internalType": "bool", + "name": "revocable", + "type": "bool" + }, + { + "internalType": "bytes32", + "name": "refUID", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "internalType": "struct AttestationRequestData", + "name": "data", + "type": "tuple" + } + ], + "internalType": "struct AttestationRequest", + "name": "request", + "type": "tuple" + } + ], + "name": "attest", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "bytes32", + "name": "schema", + "type": "bytes32" + }, + { + "components": [ + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint64", + "name": "expirationTime", + "type": "uint64" + }, + { + "internalType": "bool", + "name": "revocable", + "type": "bool" + }, + { + "internalType": "bytes32", + "name": "refUID", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "internalType": "struct AttestationRequestData", + "name": "data", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + } + ], + "internalType": "struct Signature", + "name": "signature", + "type": "tuple" + }, + { + "internalType": "address", + "name": "attester", + "type": "address" + }, + { + "internalType": "uint64", + "name": "deadline", + "type": "uint64" + } + ], + "internalType": "struct DelegatedAttestationRequest", + "name": "delegatedRequest", + "type": "tuple" + } + ], + "name": "attestByDelegation", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "eip712Domain", + "outputs": [ + { + "internalType": "bytes1", + "name": "fields", + "type": "bytes1" + }, + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + }, + { + "internalType": "uint256", + "name": "chainId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "verifyingContract", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "uint256[]", + "name": "extensions", + "type": "uint256[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getAttestTypeHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "uid", + "type": "bytes32" + } + ], + "name": "getAttestation", + "outputs": [ + { + "components": [ + { + "internalType": "bytes32", + "name": "uid", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "schema", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "time", + "type": "uint64" + }, + { + "internalType": "uint64", + "name": "expirationTime", + "type": "uint64" + }, + { + "internalType": "uint64", + "name": "revocationTime", + "type": "uint64" + }, + { + "internalType": "bytes32", + "name": "refUID", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "address", + "name": "attester", + "type": "address" + }, + { + "internalType": "bool", + "name": "revocable", + "type": "bool" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "internalType": "struct Attestation", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getDomainSeparator", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getName", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "getNonce", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "revoker", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "data", + "type": "bytes32" + } + ], + "name": "getRevokeOffchain", + "outputs": [ + { + "internalType": "uint64", + "name": "", + "type": "uint64" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRevokeTypeHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "getSchemaRegistry", + "outputs": [ + { + "internalType": "contract ISchemaRegistry", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "data", + "type": "bytes32" + } + ], + "name": "getTimestamp", + "outputs": [ + { + "internalType": "uint64", + "name": "", + "type": "uint64" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "newNonce", + "type": "uint256" + } + ], + "name": "increaseNonce", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "uid", + "type": "bytes32" + } + ], + "name": "isAttestationValid", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "bytes32", + "name": "schema", + "type": "bytes32" + }, + { + "components": [ + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint64", + "name": "expirationTime", + "type": "uint64" + }, + { + "internalType": "bool", + "name": "revocable", + "type": "bool" + }, + { + "internalType": "bytes32", + "name": "refUID", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "internalType": "struct AttestationRequestData[]", + "name": "data", + "type": "tuple[]" + } + ], + "internalType": "struct MultiAttestationRequest[]", + "name": "multiRequests", + "type": "tuple[]" + } + ], + "name": "multiAttest", + "outputs": [ + { + "internalType": "bytes32[]", + "name": "", + "type": "bytes32[]" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "bytes32", + "name": "schema", + "type": "bytes32" + }, + { + "components": [ + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint64", + "name": "expirationTime", + "type": "uint64" + }, + { + "internalType": "bool", + "name": "revocable", + "type": "bool" + }, + { + "internalType": "bytes32", + "name": "refUID", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "internalType": "struct AttestationRequestData[]", + "name": "data", + "type": "tuple[]" + }, + { + "components": [ + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + } + ], + "internalType": "struct Signature[]", + "name": "signatures", + "type": "tuple[]" + }, + { + "internalType": "address", + "name": "attester", + "type": "address" + }, + { + "internalType": "uint64", + "name": "deadline", + "type": "uint64" + } + ], + "internalType": "struct MultiDelegatedAttestationRequest[]", + "name": "multiDelegatedRequests", + "type": "tuple[]" + } + ], + "name": "multiAttestByDelegation", + "outputs": [ + { + "internalType": "bytes32[]", + "name": "", + "type": "bytes32[]" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "bytes32", + "name": "schema", + "type": "bytes32" + }, + { + "components": [ + { + "internalType": "bytes32", + "name": "uid", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "internalType": "struct RevocationRequestData[]", + "name": "data", + "type": "tuple[]" + } + ], + "internalType": "struct MultiRevocationRequest[]", + "name": "multiRequests", + "type": "tuple[]" + } + ], + "name": "multiRevoke", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "bytes32", + "name": "schema", + "type": "bytes32" + }, + { + "components": [ + { + "internalType": "bytes32", + "name": "uid", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "internalType": "struct RevocationRequestData[]", + "name": "data", + "type": "tuple[]" + }, + { + "components": [ + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + } + ], + "internalType": "struct Signature[]", + "name": "signatures", + "type": "tuple[]" + }, + { + "internalType": "address", + "name": "revoker", + "type": "address" + }, + { + "internalType": "uint64", + "name": "deadline", + "type": "uint64" + } + ], + "internalType": "struct MultiDelegatedRevocationRequest[]", + "name": "multiDelegatedRequests", + "type": "tuple[]" + } + ], + "name": "multiRevokeByDelegation", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32[]", + "name": "data", + "type": "bytes32[]" + } + ], + "name": "multiRevokeOffchain", + "outputs": [ + { + "internalType": "uint64", + "name": "", + "type": "uint64" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32[]", + "name": "data", + "type": "bytes32[]" + } + ], + "name": "multiTimestamp", + "outputs": [ + { + "internalType": "uint64", + "name": "", + "type": "uint64" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "bytes32", + "name": "schema", + "type": "bytes32" + }, + { + "components": [ + { + "internalType": "bytes32", + "name": "uid", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "internalType": "struct RevocationRequestData", + "name": "data", + "type": "tuple" + } + ], + "internalType": "struct RevocationRequest", + "name": "request", + "type": "tuple" + } + ], + "name": "revoke", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "bytes32", + "name": "schema", + "type": "bytes32" + }, + { + "components": [ + { + "internalType": "bytes32", + "name": "uid", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "internalType": "struct RevocationRequestData", + "name": "data", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + } + ], + "internalType": "struct Signature", + "name": "signature", + "type": "tuple" + }, + { + "internalType": "address", + "name": "revoker", + "type": "address" + }, + { + "internalType": "uint64", + "name": "deadline", + "type": "uint64" + } + ], + "internalType": "struct DelegatedRevocationRequest", + "name": "delegatedRequest", + "type": "tuple" + } + ], + "name": "revokeByDelegation", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "data", + "type": "bytes32" + } + ], + "name": "revokeOffchain", + "outputs": [ + { + "internalType": "uint64", + "name": "", + "type": "uint64" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "data", + "type": "bytes32" + } + ], + "name": "timestamp", + "outputs": [ + { + "internalType": "uint64", + "name": "", + "type": "uint64" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "version", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "transactionHash": "0xbaab0e128fe328924e8a51f692dd2b8c403d3fb917e79ade93a6b37c30daa8e7", + "receipt": { + "to": null, + "from": "0x6457B4DB9575DBc1bac391DaE4B239722c4000d0", + "contractAddress": "0xaEF4103A04090071165F78D45D83A0C0782c2B2a", + "transactionIndex": 2, + "gasUsed": "4137157", + "logsBloom": "0x00000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000800000000000000000020100000000000000000000000000000000000800000000000000000000000080000000000000000000000000000000000001000000000001000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000004000000000000000000001000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000040000100000", + "blockHash": "0x35eb7e200c4505b7418499a247f59bb9120e7ea1d0f5b0a08303053b8baf1442", + "transactionHash": "0xbaab0e128fe328924e8a51f692dd2b8c403d3fb917e79ade93a6b37c30daa8e7", + "logs": [ + { + "transactionIndex": 2, + "blockNumber": 41442368, + "transactionHash": "0xbaab0e128fe328924e8a51f692dd2b8c403d3fb917e79ade93a6b37c30daa8e7", + "address": "0x0000000000000000000000000000000000001010", + "topics": [ + "0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63", + "0x0000000000000000000000000000000000000000000000000000000000001010", + "0x0000000000000000000000006457b4db9575dbc1bac391dae4b239722c4000d0", + "0x000000000000000000000000cfef2a3dc244ef7d0fb93c45e762d671445c4569" + ], + "data": "0x00000000000000000000000000000000000000000000000000160c15640c2b000000000000000000000000000000000000000000000000000ddd591f7527eb78000000000000000000000000000000000000000000000071e336b61aa7c16b090000000000000000000000000000000000000000000000000dc74d0a111bc078000000000000000000000000000000000000000000000071e34cc2300bcd9609", + "logIndex": 6, + "blockHash": "0x35eb7e200c4505b7418499a247f59bb9120e7ea1d0f5b0a08303053b8baf1442" + } + ], + "blockNumber": 41442368, + "cumulativeGasUsed": "6183825", + "status": 1, + "byzantium": true + }, + "args": [ + "0x55D26f9ae0203EF95494AE4C170eD35f4Cf77797" + ], + "numDeployments": 1, + "solcInputHash": "4815fa92859e337c29529f019e92192d", + "metadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract ISchemaRegistry\",\"name\":\"registry\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AccessDenied\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyRevoked\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyRevokedOffchain\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyTimestamped\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DeadlineExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientValue\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAttestation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAttestations\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidExpirationTime\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidNonce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOffset\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidRegistry\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidRevocation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidRevocations\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSchema\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidShortString\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidVerifier\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Irrevocable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotFound\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotPayable\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"str\",\"type\":\"string\"}],\"name\":\"StringTooLong\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WrongSchema\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"attester\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"uid\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"schemaUID\",\"type\":\"bytes32\"}],\"name\":\"Attested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EIP712DomainChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newNonce\",\"type\":\"uint256\"}],\"name\":\"NonceIncreased\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"attester\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"uid\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"schemaUID\",\"type\":\"bytes32\"}],\"name\":\"Revoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"revoker\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"data\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"}],\"name\":\"RevokedOffchain\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"data\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"}],\"name\":\"Timestamped\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"schema\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"expirationTime\",\"type\":\"uint64\"},{\"internalType\":\"bool\",\"name\":\"revocable\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"refUID\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"internalType\":\"struct AttestationRequestData\",\"name\":\"data\",\"type\":\"tuple\"}],\"internalType\":\"struct AttestationRequest\",\"name\":\"request\",\"type\":\"tuple\"}],\"name\":\"attest\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"schema\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"expirationTime\",\"type\":\"uint64\"},{\"internalType\":\"bool\",\"name\":\"revocable\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"refUID\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"internalType\":\"struct AttestationRequestData\",\"name\":\"data\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"struct Signature\",\"name\":\"signature\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"attester\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"deadline\",\"type\":\"uint64\"}],\"internalType\":\"struct DelegatedAttestationRequest\",\"name\":\"delegatedRequest\",\"type\":\"tuple\"}],\"name\":\"attestByDelegation\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eip712Domain\",\"outputs\":[{\"internalType\":\"bytes1\",\"name\":\"fields\",\"type\":\"bytes1\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"extensions\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAttestTypeHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"uid\",\"type\":\"bytes32\"}],\"name\":\"getAttestation\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"uid\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"schema\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"time\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"expirationTime\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"revocationTime\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"refUID\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"attester\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"revocable\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"struct Attestation\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDomainSeparator\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getName\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"revoker\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"data\",\"type\":\"bytes32\"}],\"name\":\"getRevokeOffchain\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRevokeTypeHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getSchemaRegistry\",\"outputs\":[{\"internalType\":\"contract ISchemaRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"data\",\"type\":\"bytes32\"}],\"name\":\"getTimestamp\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newNonce\",\"type\":\"uint256\"}],\"name\":\"increaseNonce\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"uid\",\"type\":\"bytes32\"}],\"name\":\"isAttestationValid\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"schema\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"expirationTime\",\"type\":\"uint64\"},{\"internalType\":\"bool\",\"name\":\"revocable\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"refUID\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"internalType\":\"struct AttestationRequestData[]\",\"name\":\"data\",\"type\":\"tuple[]\"}],\"internalType\":\"struct MultiAttestationRequest[]\",\"name\":\"multiRequests\",\"type\":\"tuple[]\"}],\"name\":\"multiAttest\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"schema\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"expirationTime\",\"type\":\"uint64\"},{\"internalType\":\"bool\",\"name\":\"revocable\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"refUID\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"internalType\":\"struct AttestationRequestData[]\",\"name\":\"data\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"struct Signature[]\",\"name\":\"signatures\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"attester\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"deadline\",\"type\":\"uint64\"}],\"internalType\":\"struct MultiDelegatedAttestationRequest[]\",\"name\":\"multiDelegatedRequests\",\"type\":\"tuple[]\"}],\"name\":\"multiAttestByDelegation\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"schema\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"uid\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"internalType\":\"struct RevocationRequestData[]\",\"name\":\"data\",\"type\":\"tuple[]\"}],\"internalType\":\"struct MultiRevocationRequest[]\",\"name\":\"multiRequests\",\"type\":\"tuple[]\"}],\"name\":\"multiRevoke\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"schema\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"uid\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"internalType\":\"struct RevocationRequestData[]\",\"name\":\"data\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"struct Signature[]\",\"name\":\"signatures\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"revoker\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"deadline\",\"type\":\"uint64\"}],\"internalType\":\"struct MultiDelegatedRevocationRequest[]\",\"name\":\"multiDelegatedRequests\",\"type\":\"tuple[]\"}],\"name\":\"multiRevokeByDelegation\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"data\",\"type\":\"bytes32[]\"}],\"name\":\"multiRevokeOffchain\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"data\",\"type\":\"bytes32[]\"}],\"name\":\"multiTimestamp\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"schema\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"uid\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"internalType\":\"struct RevocationRequestData\",\"name\":\"data\",\"type\":\"tuple\"}],\"internalType\":\"struct RevocationRequest\",\"name\":\"request\",\"type\":\"tuple\"}],\"name\":\"revoke\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"schema\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"uid\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"internalType\":\"struct RevocationRequestData\",\"name\":\"data\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"struct Signature\",\"name\":\"signature\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"revoker\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"deadline\",\"type\":\"uint64\"}],\"internalType\":\"struct DelegatedRevocationRequest\",\"name\":\"delegatedRequest\",\"type\":\"tuple\"}],\"name\":\"revokeByDelegation\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"data\",\"type\":\"bytes32\"}],\"name\":\"revokeOffchain\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"data\",\"type\":\"bytes32\"}],\"name\":\"timestamp\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"events\":{\"Attested(address,address,bytes32,bytes32)\":{\"params\":{\"attester\":\"The attesting account.\",\"recipient\":\"The recipient of the attestation.\",\"schemaUID\":\"The UID of the schema.\",\"uid\":\"The UID the revoked attestation.\"}},\"EIP712DomainChanged()\":{\"details\":\"MAY be emitted to signal that the domain could have changed.\"},\"NonceIncreased(uint256,uint256)\":{\"params\":{\"newNonce\":\"The new value.\",\"oldNonce\":\"The previous nonce.\"}},\"Revoked(address,address,bytes32,bytes32)\":{\"params\":{\"attester\":\"The attesting account.\",\"recipient\":\"The recipient of the attestation.\",\"schemaUID\":\"The UID of the schema.\",\"uid\":\"The UID the revoked attestation.\"}},\"RevokedOffchain(address,bytes32,uint64)\":{\"params\":{\"data\":\"The data.\",\"revoker\":\"The address of the revoker.\",\"timestamp\":\"The timestamp.\"}},\"Timestamped(bytes32,uint64)\":{\"params\":{\"data\":\"The data.\",\"timestamp\":\"The timestamp.\"}}},\"kind\":\"dev\",\"methods\":{\"attest((bytes32,(address,uint64,bool,bytes32,bytes,uint256)))\":{\"params\":{\"request\":\"The arguments of the attestation request.\"},\"returns\":{\"_0\":\"The UID of the new attestation. Example: attest({ schema: \\\"0facc36681cbe2456019c1b0d1e7bedd6d1d40f6f324bf3dd3a4cef2999200a0\\\", data: { recipient: \\\"0xdEADBeAFdeAdbEafdeadbeafDeAdbEAFdeadbeaf\\\", expirationTime: 0, revocable: true, refUID: \\\"0x0000000000000000000000000000000000000000000000000000000000000000\\\", data: \\\"0xF00D\\\", value: 0 } })\"}},\"attestByDelegation((bytes32,(address,uint64,bool,bytes32,bytes,uint256),(uint8,bytes32,bytes32),address,uint64))\":{\"params\":{\"delegatedRequest\":\"The arguments of the delegated attestation request.\"},\"returns\":{\"_0\":\"The UID of the new attestation. Example: attestByDelegation({ schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc', data: { recipient: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266', expirationTime: 1673891048, revocable: true, refUID: '0x0000000000000000000000000000000000000000000000000000000000000000', data: '0x1234', value: 0 }, signature: { v: 28, r: '0x148c...b25b', s: '0x5a72...be22' }, attester: '0xc5E8740aD971409492b1A63Db8d83025e0Fc427e', deadline: 1673891048 })\"}},\"constructor\":{\"details\":\"Creates a new EAS instance.\",\"params\":{\"registry\":\"The address of the global schema registry.\"}},\"eip712Domain()\":{\"details\":\"See {EIP-5267}. _Available since v4.9._\"},\"getAttestTypeHash()\":{\"returns\":{\"_0\":\"The EIP712 type hash for the attest function.\"}},\"getAttestation(bytes32)\":{\"params\":{\"uid\":\"The UID of the attestation to retrieve.\"},\"returns\":{\"_0\":\"The attestation data members.\"}},\"getDomainSeparator()\":{\"returns\":{\"_0\":\"The domain separator used in the encoding of the signatures for attest, and revoke.\"}},\"getName()\":{\"returns\":{\"_0\":\"The EIP712 name.\"}},\"getNonce(address)\":{\"params\":{\"account\":\"The requested account.\"},\"returns\":{\"_0\":\"The current nonce.\"}},\"getRevokeOffchain(address,bytes32)\":{\"params\":{\"data\":\"The data to query.\"},\"returns\":{\"_0\":\"The timestamp the data was timestamped with.\"}},\"getRevokeTypeHash()\":{\"returns\":{\"_0\":\"The EIP712 type hash for the revoke function.\"}},\"getSchemaRegistry()\":{\"returns\":{\"_0\":\"The address of the global schema registry.\"}},\"getTimestamp(bytes32)\":{\"params\":{\"data\":\"The data to query.\"},\"returns\":{\"_0\":\"The timestamp the data was timestamped with.\"}},\"increaseNonce(uint256)\":{\"params\":{\"newNonce\":\"The (higher) new value.\"}},\"isAttestationValid(bytes32)\":{\"params\":{\"uid\":\"The UID of the attestation to retrieve.\"},\"returns\":{\"_0\":\"Whether an attestation exists.\"}},\"multiAttest((bytes32,(address,uint64,bool,bytes32,bytes,uint256)[])[])\":{\"params\":{\"multiRequests\":\"The arguments of the multi attestation requests. The requests should be grouped by distinct schema ids to benefit from the best batching optimization.\"},\"returns\":{\"_0\":\"The UIDs of the new attestations. Example: multiAttest([{ schema: '0x33e9094830a5cba5554d1954310e4fbed2ef5f859ec1404619adea4207f391fd', data: [{ recipient: '0xdEADBeAFdeAdbEafdeadbeafDeAdbEAFdeadbeaf', expirationTime: 1673891048, revocable: true, refUID: '0x0000000000000000000000000000000000000000000000000000000000000000', data: '0x1234', value: 1000 }, { recipient: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266', expirationTime: 0, revocable: false, refUID: '0x480df4a039efc31b11bfdf491b383ca138b6bde160988222a2a3509c02cee174', data: '0x00', value: 0 }], }, { schema: '0x5ac273ce41e3c8bfa383efe7c03e54c5f0bff29c9f11ef6ffa930fc84ca32425', data: [{ recipient: '0xdEADBeAFdeAdbEafdeadbeafDeAdbEAFdeadbeaf', expirationTime: 0, revocable: true, refUID: '0x75bf2ed8dca25a8190c50c52db136664de25b2449535839008ccfdab469b214f', data: '0x12345678', value: 0 }, }])\"}},\"multiAttestByDelegation((bytes32,(address,uint64,bool,bytes32,bytes,uint256)[],(uint8,bytes32,bytes32)[],address,uint64)[])\":{\"params\":{\"multiDelegatedRequests\":\"The arguments of the delegated multi attestation requests. The requests should be grouped by distinct schema ids to benefit from the best batching optimization.\"},\"returns\":{\"_0\":\"The UIDs of the new attestations. Example: multiAttestByDelegation([{ schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc', data: [{ recipient: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266', expirationTime: 1673891048, revocable: true, refUID: '0x0000000000000000000000000000000000000000000000000000000000000000', data: '0x1234', value: 0 }, { recipient: '0xdEADBeAFdeAdbEafdeadbeafDeAdbEAFdeadbeaf', expirationTime: 0, revocable: false, refUID: '0x0000000000000000000000000000000000000000000000000000000000000000', data: '0x00', value: 0 }], signatures: [{ v: 28, r: '0x148c...b25b', s: '0x5a72...be22' }, { v: 28, r: '0x487s...67bb', s: '0x12ad...2366' }], attester: '0x1D86495b2A7B524D747d2839b3C645Bed32e8CF4', deadline: 1673891048 }])\"}},\"multiRevoke((bytes32,(bytes32,uint256)[])[])\":{\"params\":{\"multiRequests\":\"The arguments of the multi revocation requests. The requests should be grouped by distinct schema ids to benefit from the best batching optimization. Example: multiRevoke([{ schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc', data: [{ uid: '0x211296a1ca0d7f9f2cfebf0daaa575bea9b20e968d81aef4e743d699c6ac4b25', value: 1000 }, { uid: '0xe160ac1bd3606a287b4d53d5d1d6da5895f65b4b4bab6d93aaf5046e48167ade', value: 0 }], }, { schema: '0x5ac273ce41e3c8bfa383efe7c03e54c5f0bff29c9f11ef6ffa930fc84ca32425', data: [{ uid: '0x053d42abce1fd7c8fcddfae21845ad34dae287b2c326220b03ba241bc5a8f019', value: 0 }, }])\"}},\"multiRevokeByDelegation((bytes32,(bytes32,uint256)[],(uint8,bytes32,bytes32)[],address,uint64)[])\":{\"params\":{\"multiDelegatedRequests\":\"The arguments of the delegated multi revocation attestation requests. The requests should be grouped by distinct schema ids to benefit from the best batching optimization. Example: multiRevokeByDelegation([{ schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc', data: [{ uid: '0x211296a1ca0d7f9f2cfebf0daaa575bea9b20e968d81aef4e743d699c6ac4b25', value: 1000 }, { uid: '0xe160ac1bd3606a287b4d53d5d1d6da5895f65b4b4bab6d93aaf5046e48167ade', value: 0 }], signatures: [{ v: 28, r: '0x148c...b25b', s: '0x5a72...be22' }, { v: 28, r: '0x487s...67bb', s: '0x12ad...2366' }], revoker: '0x244934dd3e31bE2c81f84ECf0b3E6329F5381992', deadline: 1673891048 }])\"}},\"multiRevokeOffchain(bytes32[])\":{\"params\":{\"data\":\"The data to timestamp.\"},\"returns\":{\"_0\":\"The timestamp the data was revoked with.\"}},\"multiTimestamp(bytes32[])\":{\"params\":{\"data\":\"The data to timestamp.\"},\"returns\":{\"_0\":\"The timestamp the data was timestamped with.\"}},\"revoke((bytes32,(bytes32,uint256)))\":{\"params\":{\"request\":\"The arguments of the revocation request. Example: revoke({ schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc', data: { uid: '0x101032e487642ee04ee17049f99a70590c735b8614079fc9275f9dd57c00966d', value: 0 } })\"}},\"revokeByDelegation((bytes32,(bytes32,uint256),(uint8,bytes32,bytes32),address,uint64))\":{\"params\":{\"delegatedRequest\":\"The arguments of the delegated revocation request. Example: revokeByDelegation({ schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc', data: { uid: '0xcbbc12102578c642a0f7b34fe7111e41afa25683b6cd7b5a14caf90fa14d24ba', value: 0 }, signature: { v: 27, r: '0xb593...7142', s: '0x0f5b...2cce' }, revoker: '0x244934dd3e31bE2c81f84ECf0b3E6329F5381992', deadline: 1673891048 })\"}},\"revokeOffchain(bytes32)\":{\"params\":{\"data\":\"The data to timestamp.\"},\"returns\":{\"_0\":\"The timestamp the data was revoked with.\"}},\"timestamp(bytes32)\":{\"params\":{\"data\":\"The data to timestamp.\"},\"returns\":{\"_0\":\"The timestamp the data was timestamped with.\"}},\"version()\":{\"returns\":{\"_0\":\"Semver contract version as a string.\"}}},\"title\":\"EAS\",\"version\":1},\"userdoc\":{\"events\":{\"Attested(address,address,bytes32,bytes32)\":{\"notice\":\"Emitted when an attestation has been made.\"},\"NonceIncreased(uint256,uint256)\":{\"notice\":\"Emitted when users invalidate nonces by increasing their nonces to (higher) new values.\"},\"Revoked(address,address,bytes32,bytes32)\":{\"notice\":\"Emitted when an attestation has been revoked.\"},\"RevokedOffchain(address,bytes32,uint64)\":{\"notice\":\"Emitted when a data has been revoked.\"},\"Timestamped(bytes32,uint64)\":{\"notice\":\"Emitted when a data has been timestamped.\"}},\"kind\":\"user\",\"methods\":{\"attest((bytes32,(address,uint64,bool,bytes32,bytes,uint256)))\":{\"notice\":\"Attests to a specific schema.\"},\"attestByDelegation((bytes32,(address,uint64,bool,bytes32,bytes,uint256),(uint8,bytes32,bytes32),address,uint64))\":{\"notice\":\"Attests to a specific schema via the provided ECDSA signature.\"},\"getAttestTypeHash()\":{\"notice\":\"Returns the EIP712 type hash for the attest function.\"},\"getAttestation(bytes32)\":{\"notice\":\"Returns an existing attestation by UID.\"},\"getDomainSeparator()\":{\"notice\":\"Returns the domain separator used in the encoding of the signatures for attest, and revoke.\"},\"getName()\":{\"notice\":\"Returns the EIP712 name.\"},\"getNonce(address)\":{\"notice\":\"Returns the current nonce per-account.\"},\"getRevokeOffchain(address,bytes32)\":{\"notice\":\"Returns the timestamp that the specified data was timestamped with.\"},\"getRevokeTypeHash()\":{\"notice\":\"Returns the EIP712 type hash for the revoke function.\"},\"getSchemaRegistry()\":{\"notice\":\"Returns the address of the global schema registry.\"},\"getTimestamp(bytes32)\":{\"notice\":\"Returns the timestamp that the specified data was timestamped with.\"},\"increaseNonce(uint256)\":{\"notice\":\"Provides users an option to invalidate nonces by increasing their nonces to (higher) new values.\"},\"isAttestationValid(bytes32)\":{\"notice\":\"Checks whether an attestation exists.\"},\"multiAttest((bytes32,(address,uint64,bool,bytes32,bytes,uint256)[])[])\":{\"notice\":\"Attests to multiple schemas.\"},\"multiAttestByDelegation((bytes32,(address,uint64,bool,bytes32,bytes,uint256)[],(uint8,bytes32,bytes32)[],address,uint64)[])\":{\"notice\":\"Attests to multiple schemas using via provided ECDSA signatures.\"},\"multiRevoke((bytes32,(bytes32,uint256)[])[])\":{\"notice\":\"Revokes existing attestations to multiple schemas.\"},\"multiRevokeByDelegation((bytes32,(bytes32,uint256)[],(uint8,bytes32,bytes32)[],address,uint64)[])\":{\"notice\":\"Revokes existing attestations to multiple schemas via provided ECDSA signatures.\"},\"multiRevokeOffchain(bytes32[])\":{\"notice\":\"Revokes the specified multiple bytes32 data.\"},\"multiTimestamp(bytes32[])\":{\"notice\":\"Timestamps the specified multiple bytes32 data.\"},\"revoke((bytes32,(bytes32,uint256)))\":{\"notice\":\"Revokes an existing attestation to a specific schema.\"},\"revokeByDelegation((bytes32,(bytes32,uint256),(uint8,bytes32,bytes32),address,uint64))\":{\"notice\":\"Revokes an existing attestation to a specific schema via the provided ECDSA signature.\"},\"revokeOffchain(bytes32)\":{\"notice\":\"Revokes the specified bytes32 data.\"},\"timestamp(bytes32)\":{\"notice\":\"Timestamps the specified bytes32 data.\"},\"version()\":{\"notice\":\"Returns the full semver contract version.\"}},\"notice\":\"The Ethereum Attestation Service protocol.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/EAS.sol\":\"EAS\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/interfaces/IERC1271.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (interfaces/IERC1271.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC1271 standard signature validation method for\\n * contracts as defined in https://eips.ethereum.org/EIPS/eip-1271[ERC-1271].\\n *\\n * _Available since v4.1._\\n */\\ninterface IERC1271 {\\n /**\\n * @dev Should return whether the signature provided is valid for the provided data\\n * @param hash Hash of the data to be signed\\n * @param signature Signature byte array associated with _data\\n */\\n function isValidSignature(bytes32 hash, bytes memory signature) external view returns (bytes4 magicValue);\\n}\\n\",\"keccak256\":\"0x0705a4b1b86d7b0bd8432118f226ba139c44b9dcaba0a6eafba2dd7d0639c544\",\"license\":\"MIT\"},\"@openzeppelin/contracts/interfaces/IERC5267.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC5267.sol)\\n\\npragma solidity ^0.8.0;\\n\\ninterface IERC5267 {\\n /**\\n * @dev MAY be emitted to signal that the domain could have changed.\\n */\\n event EIP712DomainChanged();\\n\\n /**\\n * @dev returns the fields and values that describe the domain separator used by this contract for EIP-712\\n * signature.\\n */\\n function eip712Domain()\\n external\\n view\\n returns (\\n bytes1 fields,\\n string memory name,\\n string memory version,\\n uint256 chainId,\\n address verifyingContract,\\n bytes32 salt,\\n uint256[] memory extensions\\n );\\n}\\n\",\"keccak256\":\"0xac6c2efc64baccbde4904ae18ed45139c9aa8cff96d6888344d1e4d2eb8b659f\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/Address.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n *\\n * Furthermore, `isContract` will also return true if the target contract within\\n * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,\\n * which only has an effect at the end of a transaction.\\n * ====\\n *\\n * [IMPORTANT]\\n * ====\\n * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n *\\n * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n * constructor.\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize/address.code.length, which returns 0\\n // for contracts in construction, since the code is only stored at the end\\n // of the constructor execution.\\n\\n return account.code.length > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain `call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\n return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\n return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\\n * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\\n *\\n * _Available since v4.8._\\n */\\n function verifyCallResultFromTarget(\\n address target,\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n if (success) {\\n if (returndata.length == 0) {\\n // only check isContract if the call was successful and the return data is empty\\n // otherwise we already know that it was a contract\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n }\\n return returndata;\\n } else {\\n _revert(returndata, errorMessage);\\n }\\n }\\n\\n /**\\n * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\\n * revert reason or using the provided one.\\n *\\n * _Available since v4.3._\\n */\\n function verifyCallResult(\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal pure returns (bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n _revert(returndata, errorMessage);\\n }\\n }\\n\\n function _revert(bytes memory returndata, string memory errorMessage) private pure {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n /// @solidity memory-safe-assembly\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n}\\n\",\"keccak256\":\"0x006dd67219697fe68d7fbfdea512e7c4cb64a43565ed86171d67e844982da6fa\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/ShortStrings.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/ShortStrings.sol)\\n\\npragma solidity ^0.8.8;\\n\\nimport \\\"./StorageSlot.sol\\\";\\n\\n// | string | 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |\\n// | length | 0x BB |\\ntype ShortString is bytes32;\\n\\n/**\\n * @dev This library provides functions to convert short memory strings\\n * into a `ShortString` type that can be used as an immutable variable.\\n *\\n * Strings of arbitrary length can be optimized using this library if\\n * they are short enough (up to 31 bytes) by packing them with their\\n * length (1 byte) in a single EVM word (32 bytes). Additionally, a\\n * fallback mechanism can be used for every other case.\\n *\\n * Usage example:\\n *\\n * ```solidity\\n * contract Named {\\n * using ShortStrings for *;\\n *\\n * ShortString private immutable _name;\\n * string private _nameFallback;\\n *\\n * constructor(string memory contractName) {\\n * _name = contractName.toShortStringWithFallback(_nameFallback);\\n * }\\n *\\n * function name() external view returns (string memory) {\\n * return _name.toStringWithFallback(_nameFallback);\\n * }\\n * }\\n * ```\\n */\\nlibrary ShortStrings {\\n // Used as an identifier for strings longer than 31 bytes.\\n bytes32 private constant _FALLBACK_SENTINEL = 0x00000000000000000000000000000000000000000000000000000000000000FF;\\n\\n error StringTooLong(string str);\\n error InvalidShortString();\\n\\n /**\\n * @dev Encode a string of at most 31 chars into a `ShortString`.\\n *\\n * This will trigger a `StringTooLong` error is the input string is too long.\\n */\\n function toShortString(string memory str) internal pure returns (ShortString) {\\n bytes memory bstr = bytes(str);\\n if (bstr.length > 31) {\\n revert StringTooLong(str);\\n }\\n return ShortString.wrap(bytes32(uint256(bytes32(bstr)) | bstr.length));\\n }\\n\\n /**\\n * @dev Decode a `ShortString` back to a \\\"normal\\\" string.\\n */\\n function toString(ShortString sstr) internal pure returns (string memory) {\\n uint256 len = byteLength(sstr);\\n // using `new string(len)` would work locally but is not memory safe.\\n string memory str = new string(32);\\n /// @solidity memory-safe-assembly\\n assembly {\\n mstore(str, len)\\n mstore(add(str, 0x20), sstr)\\n }\\n return str;\\n }\\n\\n /**\\n * @dev Return the length of a `ShortString`.\\n */\\n function byteLength(ShortString sstr) internal pure returns (uint256) {\\n uint256 result = uint256(ShortString.unwrap(sstr)) & 0xFF;\\n if (result > 31) {\\n revert InvalidShortString();\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Encode a string into a `ShortString`, or write it to storage if it is too long.\\n */\\n function toShortStringWithFallback(string memory value, string storage store) internal returns (ShortString) {\\n if (bytes(value).length < 32) {\\n return toShortString(value);\\n } else {\\n StorageSlot.getStringSlot(store).value = value;\\n return ShortString.wrap(_FALLBACK_SENTINEL);\\n }\\n }\\n\\n /**\\n * @dev Decode a string that was encoded to `ShortString` or written to storage using {setWithFallback}.\\n */\\n function toStringWithFallback(ShortString value, string storage store) internal pure returns (string memory) {\\n if (ShortString.unwrap(value) != _FALLBACK_SENTINEL) {\\n return toString(value);\\n } else {\\n return store;\\n }\\n }\\n\\n /**\\n * @dev Return the length of a string that was encoded to `ShortString` or written to storage using {setWithFallback}.\\n *\\n * WARNING: This will return the \\\"byte length\\\" of the string. This may not reflect the actual length in terms of\\n * actual characters as the UTF-8 encoding of a single character can span over multiple bytes.\\n */\\n function byteLengthWithFallback(ShortString value, string storage store) internal view returns (uint256) {\\n if (ShortString.unwrap(value) != _FALLBACK_SENTINEL) {\\n return byteLength(value);\\n } else {\\n return bytes(store).length;\\n }\\n }\\n}\\n\",\"keccak256\":\"0xc0e310c163edf15db45d4ff938113ab357f94fa86e61ea8e790853c4d2e13256\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/StorageSlot.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/StorageSlot.sol)\\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Library for reading and writing primitive types to specific storage slots.\\n *\\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\\n * This library helps with reading and writing to such slots without the need for inline assembly.\\n *\\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\\n *\\n * Example usage to set ERC1967 implementation slot:\\n * ```solidity\\n * contract ERC1967 {\\n * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\n *\\n * function _getImplementation() internal view returns (address) {\\n * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\\n * }\\n *\\n * function _setImplementation(address newImplementation) internal {\\n * require(Address.isContract(newImplementation), \\\"ERC1967: new implementation is not a contract\\\");\\n * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\n * }\\n * }\\n * ```\\n *\\n * _Available since v4.1 for `address`, `bool`, `bytes32`, `uint256`._\\n * _Available since v4.9 for `string`, `bytes`._\\n */\\nlibrary StorageSlot {\\n struct AddressSlot {\\n address value;\\n }\\n\\n struct BooleanSlot {\\n bool value;\\n }\\n\\n struct Bytes32Slot {\\n bytes32 value;\\n }\\n\\n struct Uint256Slot {\\n uint256 value;\\n }\\n\\n struct StringSlot {\\n string value;\\n }\\n\\n struct BytesSlot {\\n bytes value;\\n }\\n\\n /**\\n * @dev Returns an `AddressSlot` with member `value` located at `slot`.\\n */\\n function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `BooleanSlot` with member `value` located at `slot`.\\n */\\n function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.\\n */\\n function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `Uint256Slot` with member `value` located at `slot`.\\n */\\n function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `StringSlot` with member `value` located at `slot`.\\n */\\n function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\\n */\\n function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := store.slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `BytesSlot` with member `value` located at `slot`.\\n */\\n function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\\n */\\n function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := store.slot\\n }\\n }\\n}\\n\",\"keccak256\":\"0xf09e68aa0dc6722a25bc46490e8d48ed864466d17313b8a0b254c36b54e49899\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/Strings.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./math/Math.sol\\\";\\nimport \\\"./math/SignedMath.sol\\\";\\n\\n/**\\n * @dev String operations.\\n */\\nlibrary Strings {\\n bytes16 private constant _SYMBOLS = \\\"0123456789abcdef\\\";\\n uint8 private constant _ADDRESS_LENGTH = 20;\\n\\n /**\\n * @dev Converts a `uint256` to its ASCII `string` decimal representation.\\n */\\n function toString(uint256 value) internal pure returns (string memory) {\\n unchecked {\\n uint256 length = Math.log10(value) + 1;\\n string memory buffer = new string(length);\\n uint256 ptr;\\n /// @solidity memory-safe-assembly\\n assembly {\\n ptr := add(buffer, add(32, length))\\n }\\n while (true) {\\n ptr--;\\n /// @solidity memory-safe-assembly\\n assembly {\\n mstore8(ptr, byte(mod(value, 10), _SYMBOLS))\\n }\\n value /= 10;\\n if (value == 0) break;\\n }\\n return buffer;\\n }\\n }\\n\\n /**\\n * @dev Converts a `int256` to its ASCII `string` decimal representation.\\n */\\n function toString(int256 value) internal pure returns (string memory) {\\n return string(abi.encodePacked(value < 0 ? \\\"-\\\" : \\\"\\\", toString(SignedMath.abs(value))));\\n }\\n\\n /**\\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\\n */\\n function toHexString(uint256 value) internal pure returns (string memory) {\\n unchecked {\\n return toHexString(value, Math.log256(value) + 1);\\n }\\n }\\n\\n /**\\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\\n */\\n function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {\\n bytes memory buffer = new bytes(2 * length + 2);\\n buffer[0] = \\\"0\\\";\\n buffer[1] = \\\"x\\\";\\n for (uint256 i = 2 * length + 1; i > 1; --i) {\\n buffer[i] = _SYMBOLS[value & 0xf];\\n value >>= 4;\\n }\\n require(value == 0, \\\"Strings: hex length insufficient\\\");\\n return string(buffer);\\n }\\n\\n /**\\n * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.\\n */\\n function toHexString(address addr) internal pure returns (string memory) {\\n return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);\\n }\\n\\n /**\\n * @dev Returns true if the two strings are equal.\\n */\\n function equal(string memory a, string memory b) internal pure returns (bool) {\\n return keccak256(bytes(a)) == keccak256(bytes(b));\\n }\\n}\\n\",\"keccak256\":\"0x3088eb2868e8d13d89d16670b5f8612c4ab9ff8956272837d8e90106c59c14a0\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/cryptography/ECDSA.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/ECDSA.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../Strings.sol\\\";\\n\\n/**\\n * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.\\n *\\n * These functions can be used to verify that a message was signed by the holder\\n * of the private keys of a given address.\\n */\\nlibrary ECDSA {\\n enum RecoverError {\\n NoError,\\n InvalidSignature,\\n InvalidSignatureLength,\\n InvalidSignatureS,\\n InvalidSignatureV // Deprecated in v4.8\\n }\\n\\n function _throwError(RecoverError error) private pure {\\n if (error == RecoverError.NoError) {\\n return; // no error: do nothing\\n } else if (error == RecoverError.InvalidSignature) {\\n revert(\\\"ECDSA: invalid signature\\\");\\n } else if (error == RecoverError.InvalidSignatureLength) {\\n revert(\\\"ECDSA: invalid signature length\\\");\\n } else if (error == RecoverError.InvalidSignatureS) {\\n revert(\\\"ECDSA: invalid signature 's' value\\\");\\n }\\n }\\n\\n /**\\n * @dev Returns the address that signed a hashed message (`hash`) with\\n * `signature` or error string. This address can then be used for verification purposes.\\n *\\n * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:\\n * this function rejects them by requiring the `s` value to be in the lower\\n * half order, and the `v` value to be either 27 or 28.\\n *\\n * IMPORTANT: `hash` _must_ be the result of a hash operation for the\\n * verification to be secure: it is possible to craft signatures that\\n * recover to arbitrary addresses for non-hashed data. A safe way to ensure\\n * this is by receiving a hash of the original message (which may otherwise\\n * be too long), and then calling {toEthSignedMessageHash} on it.\\n *\\n * Documentation for signature generation:\\n * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]\\n * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]\\n *\\n * _Available since v4.3._\\n */\\n function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {\\n if (signature.length == 65) {\\n bytes32 r;\\n bytes32 s;\\n uint8 v;\\n // ecrecover takes the signature parameters, and the only way to get them\\n // currently is to use assembly.\\n /// @solidity memory-safe-assembly\\n assembly {\\n r := mload(add(signature, 0x20))\\n s := mload(add(signature, 0x40))\\n v := byte(0, mload(add(signature, 0x60)))\\n }\\n return tryRecover(hash, v, r, s);\\n } else {\\n return (address(0), RecoverError.InvalidSignatureLength);\\n }\\n }\\n\\n /**\\n * @dev Returns the address that signed a hashed message (`hash`) with\\n * `signature`. This address can then be used for verification purposes.\\n *\\n * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:\\n * this function rejects them by requiring the `s` value to be in the lower\\n * half order, and the `v` value to be either 27 or 28.\\n *\\n * IMPORTANT: `hash` _must_ be the result of a hash operation for the\\n * verification to be secure: it is possible to craft signatures that\\n * recover to arbitrary addresses for non-hashed data. A safe way to ensure\\n * this is by receiving a hash of the original message (which may otherwise\\n * be too long), and then calling {toEthSignedMessageHash} on it.\\n */\\n function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {\\n (address recovered, RecoverError error) = tryRecover(hash, signature);\\n _throwError(error);\\n return recovered;\\n }\\n\\n /**\\n * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.\\n *\\n * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]\\n *\\n * _Available since v4.3._\\n */\\n function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError) {\\n bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);\\n uint8 v = uint8((uint256(vs) >> 255) + 27);\\n return tryRecover(hash, v, r, s);\\n }\\n\\n /**\\n * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.\\n *\\n * _Available since v4.2._\\n */\\n function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) {\\n (address recovered, RecoverError error) = tryRecover(hash, r, vs);\\n _throwError(error);\\n return recovered;\\n }\\n\\n /**\\n * @dev Overload of {ECDSA-tryRecover} that receives the `v`,\\n * `r` and `s` signature fields separately.\\n *\\n * _Available since v4.3._\\n */\\n function tryRecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address, RecoverError) {\\n // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature\\n // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines\\n // the valid range for s in (301): 0 < s < secp256k1n \\u00f7 2 + 1, and for v in (302): v \\u2208 {27, 28}. Most\\n // signatures from current libraries generate a unique signature with an s-value in the lower half order.\\n //\\n // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value\\n // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or\\n // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept\\n // these malleable signatures as well.\\n if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {\\n return (address(0), RecoverError.InvalidSignatureS);\\n }\\n\\n // If the signature is valid (and not malleable), return the signer address\\n address signer = ecrecover(hash, v, r, s);\\n if (signer == address(0)) {\\n return (address(0), RecoverError.InvalidSignature);\\n }\\n\\n return (signer, RecoverError.NoError);\\n }\\n\\n /**\\n * @dev Overload of {ECDSA-recover} that receives the `v`,\\n * `r` and `s` signature fields separately.\\n */\\n function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {\\n (address recovered, RecoverError error) = tryRecover(hash, v, r, s);\\n _throwError(error);\\n return recovered;\\n }\\n\\n /**\\n * @dev Returns an Ethereum Signed Message, created from a `hash`. This\\n * produces hash corresponding to the one signed with the\\n * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]\\n * JSON-RPC method as part of EIP-191.\\n *\\n * See {recover}.\\n */\\n function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 message) {\\n // 32 is the length in bytes of hash,\\n // enforced by the type signature above\\n /// @solidity memory-safe-assembly\\n assembly {\\n mstore(0x00, \\\"\\\\x19Ethereum Signed Message:\\\\n32\\\")\\n mstore(0x1c, hash)\\n message := keccak256(0x00, 0x3c)\\n }\\n }\\n\\n /**\\n * @dev Returns an Ethereum Signed Message, created from `s`. This\\n * produces hash corresponding to the one signed with the\\n * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]\\n * JSON-RPC method as part of EIP-191.\\n *\\n * See {recover}.\\n */\\n function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {\\n return keccak256(abi.encodePacked(\\\"\\\\x19Ethereum Signed Message:\\\\n\\\", Strings.toString(s.length), s));\\n }\\n\\n /**\\n * @dev Returns an Ethereum Signed Typed Data, created from a\\n * `domainSeparator` and a `structHash`. This produces hash corresponding\\n * to the one signed with the\\n * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]\\n * JSON-RPC method as part of EIP-712.\\n *\\n * See {recover}.\\n */\\n function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 data) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n let ptr := mload(0x40)\\n mstore(ptr, \\\"\\\\x19\\\\x01\\\")\\n mstore(add(ptr, 0x02), domainSeparator)\\n mstore(add(ptr, 0x22), structHash)\\n data := keccak256(ptr, 0x42)\\n }\\n }\\n\\n /**\\n * @dev Returns an Ethereum Signed Data with intended validator, created from a\\n * `validator` and `data` according to the version 0 of EIP-191.\\n *\\n * See {recover}.\\n */\\n function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {\\n return keccak256(abi.encodePacked(\\\"\\\\x19\\\\x00\\\", validator, data));\\n }\\n}\\n\",\"keccak256\":\"0x809bc3edb4bcbef8263fa616c1b60ee0004b50a8a1bfa164d8f57fd31f520c58\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/cryptography/EIP712.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/EIP712.sol)\\n\\npragma solidity ^0.8.8;\\n\\nimport \\\"./ECDSA.sol\\\";\\nimport \\\"../ShortStrings.sol\\\";\\nimport \\\"../../interfaces/IERC5267.sol\\\";\\n\\n/**\\n * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.\\n *\\n * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,\\n * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding\\n * they need in their contracts using a combination of `abi.encode` and `keccak256`.\\n *\\n * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding\\n * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA\\n * ({_hashTypedDataV4}).\\n *\\n * The implementation of the domain separator was designed to be as efficient as possible while still properly updating\\n * the chain id to protect against replay attacks on an eventual fork of the chain.\\n *\\n * NOTE: This contract implements the version of the encoding known as \\\"v4\\\", as implemented by the JSON RPC method\\n * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].\\n *\\n * NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain\\n * separator of the implementation contract. This will cause the `_domainSeparatorV4` function to always rebuild the\\n * separator from the immutable values, which is cheaper than accessing a cached version in cold storage.\\n *\\n * _Available since v3.4._\\n *\\n * @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment\\n */\\nabstract contract EIP712 is IERC5267 {\\n using ShortStrings for *;\\n\\n bytes32 private constant _TYPE_HASH =\\n keccak256(\\\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\\\");\\n\\n // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to\\n // invalidate the cached domain separator if the chain id changes.\\n bytes32 private immutable _cachedDomainSeparator;\\n uint256 private immutable _cachedChainId;\\n address private immutable _cachedThis;\\n\\n bytes32 private immutable _hashedName;\\n bytes32 private immutable _hashedVersion;\\n\\n ShortString private immutable _name;\\n ShortString private immutable _version;\\n string private _nameFallback;\\n string private _versionFallback;\\n\\n /**\\n * @dev Initializes the domain separator and parameter caches.\\n *\\n * The meaning of `name` and `version` is specified in\\n * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:\\n *\\n * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.\\n * - `version`: the current major version of the signing domain.\\n *\\n * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart\\n * contract upgrade].\\n */\\n constructor(string memory name, string memory version) {\\n _name = name.toShortStringWithFallback(_nameFallback);\\n _version = version.toShortStringWithFallback(_versionFallback);\\n _hashedName = keccak256(bytes(name));\\n _hashedVersion = keccak256(bytes(version));\\n\\n _cachedChainId = block.chainid;\\n _cachedDomainSeparator = _buildDomainSeparator();\\n _cachedThis = address(this);\\n }\\n\\n /**\\n * @dev Returns the domain separator for the current chain.\\n */\\n function _domainSeparatorV4() internal view returns (bytes32) {\\n if (address(this) == _cachedThis && block.chainid == _cachedChainId) {\\n return _cachedDomainSeparator;\\n } else {\\n return _buildDomainSeparator();\\n }\\n }\\n\\n function _buildDomainSeparator() private view returns (bytes32) {\\n return keccak256(abi.encode(_TYPE_HASH, _hashedName, _hashedVersion, block.chainid, address(this)));\\n }\\n\\n /**\\n * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this\\n * function returns the hash of the fully encoded EIP712 message for this domain.\\n *\\n * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:\\n *\\n * ```solidity\\n * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(\\n * keccak256(\\\"Mail(address to,string contents)\\\"),\\n * mailTo,\\n * keccak256(bytes(mailContents))\\n * )));\\n * address signer = ECDSA.recover(digest, signature);\\n * ```\\n */\\n function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {\\n return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);\\n }\\n\\n /**\\n * @dev See {EIP-5267}.\\n *\\n * _Available since v4.9._\\n */\\n function eip712Domain()\\n public\\n view\\n virtual\\n override\\n returns (\\n bytes1 fields,\\n string memory name,\\n string memory version,\\n uint256 chainId,\\n address verifyingContract,\\n bytes32 salt,\\n uint256[] memory extensions\\n )\\n {\\n return (\\n hex\\\"0f\\\", // 01111\\n _name.toStringWithFallback(_nameFallback),\\n _version.toStringWithFallback(_versionFallback),\\n block.chainid,\\n address(this),\\n bytes32(0),\\n new uint256[](0)\\n );\\n }\\n}\\n\",\"keccak256\":\"0x8432884527a7ad91e6eed1cfc5a0811ae2073e5bca107bd0ca442e9236b03dbd\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/cryptography/SignatureChecker.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/SignatureChecker.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./ECDSA.sol\\\";\\nimport \\\"../../interfaces/IERC1271.sol\\\";\\n\\n/**\\n * @dev Signature verification helper that can be used instead of `ECDSA.recover` to seamlessly support both ECDSA\\n * signatures from externally owned accounts (EOAs) as well as ERC1271 signatures from smart contract wallets like\\n * Argent and Gnosis Safe.\\n *\\n * _Available since v4.1._\\n */\\nlibrary SignatureChecker {\\n /**\\n * @dev Checks if a signature is valid for a given signer and data hash. If the signer is a smart contract, the\\n * signature is validated against that smart contract using ERC1271, otherwise it's validated using `ECDSA.recover`.\\n *\\n * NOTE: Unlike ECDSA signatures, contract signatures are revocable, and the outcome of this function can thus\\n * change through time. It could return true at block N and false at block N+1 (or the opposite).\\n */\\n function isValidSignatureNow(address signer, bytes32 hash, bytes memory signature) internal view returns (bool) {\\n (address recovered, ECDSA.RecoverError error) = ECDSA.tryRecover(hash, signature);\\n return\\n (error == ECDSA.RecoverError.NoError && recovered == signer) ||\\n isValidERC1271SignatureNow(signer, hash, signature);\\n }\\n\\n /**\\n * @dev Checks if a signature is valid for a given signer and data hash. The signature is validated\\n * against the signer smart contract using ERC1271.\\n *\\n * NOTE: Unlike ECDSA signatures, contract signatures are revocable, and the outcome of this function can thus\\n * change through time. It could return true at block N and false at block N+1 (or the opposite).\\n */\\n function isValidERC1271SignatureNow(\\n address signer,\\n bytes32 hash,\\n bytes memory signature\\n ) internal view returns (bool) {\\n (bool success, bytes memory result) = signer.staticcall(\\n abi.encodeWithSelector(IERC1271.isValidSignature.selector, hash, signature)\\n );\\n return (success &&\\n result.length >= 32 &&\\n abi.decode(result, (bytes32)) == bytes32(IERC1271.isValidSignature.selector));\\n }\\n}\\n\",\"keccak256\":\"0x3af3ca86df39aac39a0514c84459d691434a108d2151c8ce9d69f32e315cab80\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Standard math utilities missing in the Solidity language.\\n */\\nlibrary Math {\\n enum Rounding {\\n Down, // Toward negative infinity\\n Up, // Toward infinity\\n Zero // Toward zero\\n }\\n\\n /**\\n * @dev Returns the largest of two numbers.\\n */\\n function max(uint256 a, uint256 b) internal pure returns (uint256) {\\n return a > b ? a : b;\\n }\\n\\n /**\\n * @dev Returns the smallest of two numbers.\\n */\\n function min(uint256 a, uint256 b) internal pure returns (uint256) {\\n return a < b ? a : b;\\n }\\n\\n /**\\n * @dev Returns the average of two numbers. The result is rounded towards\\n * zero.\\n */\\n function average(uint256 a, uint256 b) internal pure returns (uint256) {\\n // (a + b) / 2 can overflow.\\n return (a & b) + (a ^ b) / 2;\\n }\\n\\n /**\\n * @dev Returns the ceiling of the division of two numbers.\\n *\\n * This differs from standard division with `/` in that it rounds up instead\\n * of rounding down.\\n */\\n function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {\\n // (a + b - 1) / b can overflow on addition, so we distribute.\\n return a == 0 ? 0 : (a - 1) / b + 1;\\n }\\n\\n /**\\n * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\\n * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)\\n * with further edits by Uniswap Labs also under MIT license.\\n */\\n function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {\\n unchecked {\\n // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use\\n // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\\n // variables such that product = prod1 * 2^256 + prod0.\\n uint256 prod0; // Least significant 256 bits of the product\\n uint256 prod1; // Most significant 256 bits of the product\\n assembly {\\n let mm := mulmod(x, y, not(0))\\n prod0 := mul(x, y)\\n prod1 := sub(sub(mm, prod0), lt(mm, prod0))\\n }\\n\\n // Handle non-overflow cases, 256 by 256 division.\\n if (prod1 == 0) {\\n // Solidity will revert if denominator == 0, unlike the div opcode on its own.\\n // The surrounding unchecked block does not change this fact.\\n // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.\\n return prod0 / denominator;\\n }\\n\\n // Make sure the result is less than 2^256. Also prevents denominator == 0.\\n require(denominator > prod1, \\\"Math: mulDiv overflow\\\");\\n\\n ///////////////////////////////////////////////\\n // 512 by 256 division.\\n ///////////////////////////////////////////////\\n\\n // Make division exact by subtracting the remainder from [prod1 prod0].\\n uint256 remainder;\\n assembly {\\n // Compute remainder using mulmod.\\n remainder := mulmod(x, y, denominator)\\n\\n // Subtract 256 bit number from 512 bit number.\\n prod1 := sub(prod1, gt(remainder, prod0))\\n prod0 := sub(prod0, remainder)\\n }\\n\\n // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.\\n // See https://cs.stackexchange.com/q/138556/92363.\\n\\n // Does not overflow because the denominator cannot be zero at this stage in the function.\\n uint256 twos = denominator & (~denominator + 1);\\n assembly {\\n // Divide denominator by twos.\\n denominator := div(denominator, twos)\\n\\n // Divide [prod1 prod0] by twos.\\n prod0 := div(prod0, twos)\\n\\n // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.\\n twos := add(div(sub(0, twos), twos), 1)\\n }\\n\\n // Shift in bits from prod1 into prod0.\\n prod0 |= prod1 * twos;\\n\\n // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such\\n // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for\\n // four bits. That is, denominator * inv = 1 mod 2^4.\\n uint256 inverse = (3 * denominator) ^ 2;\\n\\n // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works\\n // in modular arithmetic, doubling the correct bits in each step.\\n inverse *= 2 - denominator * inverse; // inverse mod 2^8\\n inverse *= 2 - denominator * inverse; // inverse mod 2^16\\n inverse *= 2 - denominator * inverse; // inverse mod 2^32\\n inverse *= 2 - denominator * inverse; // inverse mod 2^64\\n inverse *= 2 - denominator * inverse; // inverse mod 2^128\\n inverse *= 2 - denominator * inverse; // inverse mod 2^256\\n\\n // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.\\n // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is\\n // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1\\n // is no longer required.\\n result = prod0 * inverse;\\n return result;\\n }\\n }\\n\\n /**\\n * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.\\n */\\n function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {\\n uint256 result = mulDiv(x, y, denominator);\\n if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {\\n result += 1;\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.\\n *\\n * Inspired by Henry S. Warren, Jr.'s \\\"Hacker's Delight\\\" (Chapter 11).\\n */\\n function sqrt(uint256 a) internal pure returns (uint256) {\\n if (a == 0) {\\n return 0;\\n }\\n\\n // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.\\n //\\n // We know that the \\\"msb\\\" (most significant bit) of our target number `a` is a power of 2 such that we have\\n // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.\\n //\\n // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`\\n // \\u2192 `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`\\n // \\u2192 `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`\\n //\\n // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.\\n uint256 result = 1 << (log2(a) >> 1);\\n\\n // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,\\n // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at\\n // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision\\n // into the expected uint128 result.\\n unchecked {\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n return min(result, a / result);\\n }\\n }\\n\\n /**\\n * @notice Calculates sqrt(a), following the selected rounding direction.\\n */\\n function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {\\n unchecked {\\n uint256 result = sqrt(a);\\n return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);\\n }\\n }\\n\\n /**\\n * @dev Return the log in base 2, rounded down, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log2(uint256 value) internal pure returns (uint256) {\\n uint256 result = 0;\\n unchecked {\\n if (value >> 128 > 0) {\\n value >>= 128;\\n result += 128;\\n }\\n if (value >> 64 > 0) {\\n value >>= 64;\\n result += 64;\\n }\\n if (value >> 32 > 0) {\\n value >>= 32;\\n result += 32;\\n }\\n if (value >> 16 > 0) {\\n value >>= 16;\\n result += 16;\\n }\\n if (value >> 8 > 0) {\\n value >>= 8;\\n result += 8;\\n }\\n if (value >> 4 > 0) {\\n value >>= 4;\\n result += 4;\\n }\\n if (value >> 2 > 0) {\\n value >>= 2;\\n result += 2;\\n }\\n if (value >> 1 > 0) {\\n result += 1;\\n }\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\\n unchecked {\\n uint256 result = log2(value);\\n return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);\\n }\\n }\\n\\n /**\\n * @dev Return the log in base 10, rounded down, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log10(uint256 value) internal pure returns (uint256) {\\n uint256 result = 0;\\n unchecked {\\n if (value >= 10 ** 64) {\\n value /= 10 ** 64;\\n result += 64;\\n }\\n if (value >= 10 ** 32) {\\n value /= 10 ** 32;\\n result += 32;\\n }\\n if (value >= 10 ** 16) {\\n value /= 10 ** 16;\\n result += 16;\\n }\\n if (value >= 10 ** 8) {\\n value /= 10 ** 8;\\n result += 8;\\n }\\n if (value >= 10 ** 4) {\\n value /= 10 ** 4;\\n result += 4;\\n }\\n if (value >= 10 ** 2) {\\n value /= 10 ** 2;\\n result += 2;\\n }\\n if (value >= 10 ** 1) {\\n result += 1;\\n }\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {\\n unchecked {\\n uint256 result = log10(value);\\n return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);\\n }\\n }\\n\\n /**\\n * @dev Return the log in base 256, rounded down, of a positive value.\\n * Returns 0 if given 0.\\n *\\n * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.\\n */\\n function log256(uint256 value) internal pure returns (uint256) {\\n uint256 result = 0;\\n unchecked {\\n if (value >> 128 > 0) {\\n value >>= 128;\\n result += 16;\\n }\\n if (value >> 64 > 0) {\\n value >>= 64;\\n result += 8;\\n }\\n if (value >> 32 > 0) {\\n value >>= 32;\\n result += 4;\\n }\\n if (value >> 16 > 0) {\\n value >>= 16;\\n result += 2;\\n }\\n if (value >> 8 > 0) {\\n result += 1;\\n }\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Return the log in base 256, following the selected rounding direction, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\\n unchecked {\\n uint256 result = log256(value);\\n return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);\\n }\\n }\\n}\\n\",\"keccak256\":\"0xe4455ac1eb7fc497bb7402579e7b4d64d928b846fce7d2b6fde06d366f21c2b3\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/math/SignedMath.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Standard signed math utilities missing in the Solidity language.\\n */\\nlibrary SignedMath {\\n /**\\n * @dev Returns the largest of two signed numbers.\\n */\\n function max(int256 a, int256 b) internal pure returns (int256) {\\n return a > b ? a : b;\\n }\\n\\n /**\\n * @dev Returns the smallest of two signed numbers.\\n */\\n function min(int256 a, int256 b) internal pure returns (int256) {\\n return a < b ? a : b;\\n }\\n\\n /**\\n * @dev Returns the average of two signed numbers without overflow.\\n * The result is rounded towards zero.\\n */\\n function average(int256 a, int256 b) internal pure returns (int256) {\\n // Formula from the book \\\"Hacker's Delight\\\"\\n int256 x = (a & b) + ((a ^ b) >> 1);\\n return x + (int256(uint256(x) >> 255) & (a ^ b));\\n }\\n\\n /**\\n * @dev Returns the absolute unsigned value of a signed value.\\n */\\n function abs(int256 n) internal pure returns (uint256) {\\n unchecked {\\n // must be unchecked in order to support `n = type(int256).min`\\n return uint256(n >= 0 ? n : -n);\\n }\\n }\\n}\\n\",\"keccak256\":\"0xf92515413956f529d95977adc9b0567d583c6203fc31ab1c23824c35187e3ddc\",\"license\":\"MIT\"},\"contracts/Common.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\n// A representation of an empty/uninitialized UID.\\nbytes32 constant EMPTY_UID = 0;\\n\\n// A zero expiration represents an non-expiring attestation.\\nuint64 constant NO_EXPIRATION_TIME = 0;\\n\\nerror AccessDenied();\\nerror DeadlineExpired();\\nerror InvalidEAS();\\nerror InvalidLength();\\nerror InvalidSignature();\\nerror NotFound();\\n\\n/// @notice A struct representing ECDSA signature data.\\nstruct Signature {\\n uint8 v; // The recovery ID.\\n bytes32 r; // The x-coordinate of the nonce R.\\n bytes32 s; // The signature data.\\n}\\n\\n/// @notice A struct representing a single attestation.\\nstruct Attestation {\\n bytes32 uid; // A unique identifier of the attestation.\\n bytes32 schema; // The unique identifier of the schema.\\n uint64 time; // The time when the attestation was created (Unix timestamp).\\n uint64 expirationTime; // The time when the attestation expires (Unix timestamp).\\n uint64 revocationTime; // The time when the attestation was revoked (Unix timestamp).\\n bytes32 refUID; // The UID of the related attestation.\\n address recipient; // The recipient of the attestation.\\n address attester; // The attester/sender of the attestation.\\n bool revocable; // Whether the attestation is revocable.\\n bytes data; // Custom attestation data.\\n}\\n\\n/// @notice A helper function to work with unchecked iterators in loops.\\nfunction uncheckedInc(uint256 i) pure returns (uint256 j) {\\n unchecked {\\n j = i + 1;\\n }\\n}\\n\",\"keccak256\":\"0x957bd2e6d0d6d637f86208b135c29fbaf4412cb08e5e7a61ede16b80561bf685\",\"license\":\"MIT\"},\"contracts/EAS.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity 0.8.19;\\n\\nimport { Address } from \\\"@openzeppelin/contracts/utils/Address.sol\\\";\\n\\nimport { EIP1271Verifier } from \\\"./eip1271/EIP1271Verifier.sol\\\";\\n\\nimport { ISchemaResolver } from \\\"./resolver/ISchemaResolver.sol\\\";\\n\\n// prettier-ignore\\nimport {\\n AccessDenied,\\n EMPTY_UID,\\n Signature,\\n InvalidLength,\\n NotFound,\\n NO_EXPIRATION_TIME,\\n uncheckedInc\\n} from \\\"./Common.sol\\\";\\n\\n// prettier-ignore\\nimport {\\n Attestation,\\n AttestationRequest,\\n AttestationRequestData,\\n DelegatedAttestationRequest,\\n DelegatedRevocationRequest,\\n IEAS,\\n MultiAttestationRequest,\\n MultiDelegatedAttestationRequest,\\n MultiDelegatedRevocationRequest,\\n MultiRevocationRequest,\\n RevocationRequest,\\n RevocationRequestData\\n} from \\\"./IEAS.sol\\\";\\n\\nimport { Semver } from \\\"./Semver.sol\\\";\\nimport { ISchemaRegistry, SchemaRecord } from \\\"./ISchemaRegistry.sol\\\";\\n\\n/// @title EAS\\n/// @notice The Ethereum Attestation Service protocol.\\ncontract EAS is IEAS, Semver, EIP1271Verifier {\\n using Address for address payable;\\n\\n error AlreadyRevoked();\\n error AlreadyRevokedOffchain();\\n error AlreadyTimestamped();\\n error InsufficientValue();\\n error InvalidAttestation();\\n error InvalidAttestations();\\n error InvalidExpirationTime();\\n error InvalidOffset();\\n error InvalidRegistry();\\n error InvalidRevocation();\\n error InvalidRevocations();\\n error InvalidSchema();\\n error InvalidVerifier();\\n error Irrevocable();\\n error NotPayable();\\n error WrongSchema();\\n\\n /// @notice A struct representing an internal attestation result.\\n struct AttestationsResult {\\n uint256 usedValue; // Total ETH amount that was sent to resolvers.\\n bytes32[] uids; // UIDs of the new attestations.\\n }\\n\\n // The global schema registry.\\n ISchemaRegistry private immutable _schemaRegistry;\\n\\n // The global mapping between attestations and their UIDs.\\n mapping(bytes32 uid => Attestation attestation) private _db;\\n\\n // The global mapping between data and their timestamps.\\n mapping(bytes32 data => uint64 timestamp) private _timestamps;\\n\\n // The global mapping between data and their revocation timestamps.\\n mapping(address revoker => mapping(bytes32 data => uint64 timestamp) timestamps) private _revocationsOffchain;\\n\\n /// @dev Creates a new EAS instance.\\n /// @param registry The address of the global schema registry.\\n constructor(ISchemaRegistry registry) Semver(1, 2, 0) EIP1271Verifier(\\\"EAS\\\", \\\"1.2.0\\\") {\\n if (address(registry) == address(0)) {\\n revert InvalidRegistry();\\n }\\n\\n _schemaRegistry = registry;\\n }\\n\\n /// @inheritdoc IEAS\\n function getSchemaRegistry() external view returns (ISchemaRegistry) {\\n return _schemaRegistry;\\n }\\n\\n /// @inheritdoc IEAS\\n function attest(AttestationRequest calldata request) external payable returns (bytes32) {\\n AttestationRequestData[] memory data = new AttestationRequestData[](1);\\n data[0] = request.data;\\n\\n return _attest(request.schema, data, msg.sender, msg.value, true).uids[0];\\n }\\n\\n /// @inheritdoc IEAS\\n function attestByDelegation(\\n DelegatedAttestationRequest calldata delegatedRequest\\n ) external payable returns (bytes32) {\\n _verifyAttest(delegatedRequest);\\n\\n AttestationRequestData[] memory data = new AttestationRequestData[](1);\\n data[0] = delegatedRequest.data;\\n\\n return _attest(delegatedRequest.schema, data, delegatedRequest.attester, msg.value, true).uids[0];\\n }\\n\\n /// @inheritdoc IEAS\\n function multiAttest(MultiAttestationRequest[] calldata multiRequests) external payable returns (bytes32[] memory) {\\n // Since a multi-attest call is going to make multiple attestations for multiple schemas, we'd need to collect\\n // all the returned UIDs into a single list.\\n uint256 length = multiRequests.length;\\n bytes32[][] memory totalUids = new bytes32[][](length);\\n uint256 totalUidsCount = 0;\\n\\n // We are keeping track of the total available ETH amount that can be sent to resolvers and will keep deducting\\n // from it to verify that there isn't any attempt to send too much ETH to resolvers. Please note that unless\\n // some ETH was stuck in the contract by accident (which shouldn't happen in normal conditions), it won't be\\n // possible to send too much ETH anyway.\\n uint256 availableValue = msg.value;\\n\\n for (uint256 i = 0; i < length; i = uncheckedInc(i)) {\\n // The last batch is handled slightly differently: if the total available ETH wasn't spent in full and there\\n // is a remainder - it will be refunded back to the attester (something that we can only verify during the\\n // last and final batch).\\n bool last;\\n unchecked {\\n last = i == length - 1;\\n }\\n\\n // Process the current batch of attestations.\\n MultiAttestationRequest calldata multiRequest = multiRequests[i];\\n\\n // Ensure that data isn't empty.\\n if (multiRequest.data.length == 0) {\\n revert InvalidLength();\\n }\\n\\n AttestationsResult memory res = _attest(\\n multiRequest.schema,\\n multiRequest.data,\\n msg.sender,\\n availableValue,\\n last\\n );\\n\\n // Ensure to deduct the ETH that was forwarded to the resolver during the processing of this batch.\\n availableValue -= res.usedValue;\\n\\n // Collect UIDs (and merge them later).\\n totalUids[i] = res.uids;\\n unchecked {\\n totalUidsCount += res.uids.length;\\n }\\n }\\n\\n // Merge all the collected UIDs and return them as a flatten array.\\n return _mergeUIDs(totalUids, totalUidsCount);\\n }\\n\\n /// @inheritdoc IEAS\\n function multiAttestByDelegation(\\n MultiDelegatedAttestationRequest[] calldata multiDelegatedRequests\\n ) external payable returns (bytes32[] memory) {\\n // Since a multi-attest call is going to make multiple attestations for multiple schemas, we'd need to collect\\n // all the returned UIDs into a single list.\\n uint256 length = multiDelegatedRequests.length;\\n bytes32[][] memory totalUids = new bytes32[][](length);\\n uint256 totalUidsCount = 0;\\n\\n // We are keeping track of the total available ETH amount that can be sent to resolvers and will keep deducting\\n // from it to verify that there isn't any attempt to send too much ETH to resolvers. Please note that unless\\n // some ETH was stuck in the contract by accident (which shouldn't happen in normal conditions), it won't be\\n // possible to send too much ETH anyway.\\n uint256 availableValue = msg.value;\\n\\n for (uint256 i = 0; i < length; i = uncheckedInc(i)) {\\n // The last batch is handled slightly differently: if the total available ETH wasn't spent in full and there\\n // is a remainder - it will be refunded back to the attester (something that we can only verify during the\\n // last and final batch).\\n bool last;\\n unchecked {\\n last = i == length - 1;\\n }\\n\\n MultiDelegatedAttestationRequest calldata multiDelegatedRequest = multiDelegatedRequests[i];\\n AttestationRequestData[] calldata data = multiDelegatedRequest.data;\\n\\n // Ensure that no inputs are missing.\\n uint256 dataLength = data.length;\\n if (dataLength == 0 || dataLength != multiDelegatedRequest.signatures.length) {\\n revert InvalidLength();\\n }\\n\\n // Verify signatures. Please note that the signatures are assumed to be signed with increasing nonces.\\n for (uint256 j = 0; j < dataLength; j = uncheckedInc(j)) {\\n _verifyAttest(\\n DelegatedAttestationRequest({\\n schema: multiDelegatedRequest.schema,\\n data: data[j],\\n signature: multiDelegatedRequest.signatures[j],\\n attester: multiDelegatedRequest.attester,\\n deadline: multiDelegatedRequest.deadline\\n })\\n );\\n }\\n\\n // Process the current batch of attestations.\\n AttestationsResult memory res = _attest(\\n multiDelegatedRequest.schema,\\n data,\\n multiDelegatedRequest.attester,\\n availableValue,\\n last\\n );\\n\\n // Ensure to deduct the ETH that was forwarded to the resolver during the processing of this batch.\\n availableValue -= res.usedValue;\\n\\n // Collect UIDs (and merge them later).\\n totalUids[i] = res.uids;\\n unchecked {\\n totalUidsCount += res.uids.length;\\n }\\n }\\n\\n // Merge all the collected UIDs and return them as a flatten array.\\n return _mergeUIDs(totalUids, totalUidsCount);\\n }\\n\\n /// @inheritdoc IEAS\\n function revoke(RevocationRequest calldata request) external payable {\\n RevocationRequestData[] memory data = new RevocationRequestData[](1);\\n data[0] = request.data;\\n\\n _revoke(request.schema, data, msg.sender, msg.value, true);\\n }\\n\\n /// @inheritdoc IEAS\\n function revokeByDelegation(DelegatedRevocationRequest calldata delegatedRequest) external payable {\\n _verifyRevoke(delegatedRequest);\\n\\n RevocationRequestData[] memory data = new RevocationRequestData[](1);\\n data[0] = delegatedRequest.data;\\n\\n _revoke(delegatedRequest.schema, data, delegatedRequest.revoker, msg.value, true);\\n }\\n\\n /// @inheritdoc IEAS\\n function multiRevoke(MultiRevocationRequest[] calldata multiRequests) external payable {\\n // We are keeping track of the total available ETH amount that can be sent to resolvers and will keep deducting\\n // from it to verify that there isn't any attempt to send too much ETH to resolvers. Please note that unless\\n // some ETH was stuck in the contract by accident (which shouldn't happen in normal conditions), it won't be\\n // possible to send too much ETH anyway.\\n uint256 availableValue = msg.value;\\n\\n uint256 length = multiRequests.length;\\n for (uint256 i = 0; i < length; i = uncheckedInc(i)) {\\n // The last batch is handled slightly differently: if the total available ETH wasn't spent in full and there\\n // is a remainder - it will be refunded back to the attester (something that we can only verify during the\\n // last and final batch).\\n bool last;\\n unchecked {\\n last = i == length - 1;\\n }\\n\\n MultiRevocationRequest calldata multiRequest = multiRequests[i];\\n\\n // Ensure to deduct the ETH that was forwarded to the resolver during the processing of this batch.\\n availableValue -= _revoke(multiRequest.schema, multiRequest.data, msg.sender, availableValue, last);\\n }\\n }\\n\\n /// @inheritdoc IEAS\\n function multiRevokeByDelegation(\\n MultiDelegatedRevocationRequest[] calldata multiDelegatedRequests\\n ) external payable {\\n // We are keeping track of the total available ETH amount that can be sent to resolvers and will keep deducting\\n // from it to verify that there isn't any attempt to send too much ETH to resolvers. Please note that unless\\n // some ETH was stuck in the contract by accident (which shouldn't happen in normal conditions), it won't be\\n // possible to send too much ETH anyway.\\n uint256 availableValue = msg.value;\\n\\n uint256 length = multiDelegatedRequests.length;\\n for (uint256 i = 0; i < length; i = uncheckedInc(i)) {\\n // The last batch is handled slightly differently: if the total available ETH wasn't spent in full and there\\n // is a remainder - it will be refunded back to the attester (something that we can only verify during the\\n // last and final batch).\\n bool last;\\n unchecked {\\n last = i == length - 1;\\n }\\n\\n MultiDelegatedRevocationRequest memory multiDelegatedRequest = multiDelegatedRequests[i];\\n RevocationRequestData[] memory data = multiDelegatedRequest.data;\\n\\n // Ensure that no inputs are missing.\\n uint256 dataLength = data.length;\\n if (dataLength == 0 || dataLength != multiDelegatedRequest.signatures.length) {\\n revert InvalidLength();\\n }\\n\\n // Verify signatures. Please note that the signatures are assumed to be signed with increasing nonces.\\n for (uint256 j = 0; j < dataLength; j = uncheckedInc(j)) {\\n _verifyRevoke(\\n DelegatedRevocationRequest({\\n schema: multiDelegatedRequest.schema,\\n data: data[j],\\n signature: multiDelegatedRequest.signatures[j],\\n revoker: multiDelegatedRequest.revoker,\\n deadline: multiDelegatedRequest.deadline\\n })\\n );\\n }\\n\\n // Ensure to deduct the ETH that was forwarded to the resolver during the processing of this batch.\\n availableValue -= _revoke(\\n multiDelegatedRequest.schema,\\n data,\\n multiDelegatedRequest.revoker,\\n availableValue,\\n last\\n );\\n }\\n }\\n\\n /// @inheritdoc IEAS\\n function timestamp(bytes32 data) external returns (uint64) {\\n uint64 time = _time();\\n\\n _timestamp(data, time);\\n\\n return time;\\n }\\n\\n /// @inheritdoc IEAS\\n function revokeOffchain(bytes32 data) external returns (uint64) {\\n uint64 time = _time();\\n\\n _revokeOffchain(msg.sender, data, time);\\n\\n return time;\\n }\\n\\n /// @inheritdoc IEAS\\n function multiRevokeOffchain(bytes32[] calldata data) external returns (uint64) {\\n uint64 time = _time();\\n\\n uint256 length = data.length;\\n for (uint256 i = 0; i < length; i = uncheckedInc(i)) {\\n _revokeOffchain(msg.sender, data[i], time);\\n }\\n\\n return time;\\n }\\n\\n /// @inheritdoc IEAS\\n function multiTimestamp(bytes32[] calldata data) external returns (uint64) {\\n uint64 time = _time();\\n\\n uint256 length = data.length;\\n for (uint256 i = 0; i < length; i = uncheckedInc(i)) {\\n _timestamp(data[i], time);\\n }\\n\\n return time;\\n }\\n\\n /// @inheritdoc IEAS\\n function getAttestation(bytes32 uid) external view returns (Attestation memory) {\\n return _db[uid];\\n }\\n\\n /// @inheritdoc IEAS\\n function isAttestationValid(bytes32 uid) public view returns (bool) {\\n return _db[uid].uid != EMPTY_UID;\\n }\\n\\n /// @inheritdoc IEAS\\n function getTimestamp(bytes32 data) external view returns (uint64) {\\n return _timestamps[data];\\n }\\n\\n /// @inheritdoc IEAS\\n function getRevokeOffchain(address revoker, bytes32 data) external view returns (uint64) {\\n return _revocationsOffchain[revoker][data];\\n }\\n\\n /// @dev Attests to a specific schema.\\n /// @param schemaUID The unique identifier of the schema to attest to.\\n /// @param data The arguments of the attestation requests.\\n /// @param attester The attesting account.\\n /// @param availableValue The total available ETH amount that can be sent to the resolver.\\n /// @param last Whether this is the last attestations/revocations set.\\n /// @return The UID of the new attestations and the total sent ETH amount.\\n function _attest(\\n bytes32 schemaUID,\\n AttestationRequestData[] memory data,\\n address attester,\\n uint256 availableValue,\\n bool last\\n ) private returns (AttestationsResult memory) {\\n uint256 length = data.length;\\n\\n AttestationsResult memory res;\\n res.uids = new bytes32[](length);\\n\\n // Ensure that we aren't attempting to attest to a non-existing schema.\\n SchemaRecord memory schemaRecord = _schemaRegistry.getSchema(schemaUID);\\n if (schemaRecord.uid == EMPTY_UID) {\\n revert InvalidSchema();\\n }\\n\\n Attestation[] memory attestations = new Attestation[](length);\\n uint256[] memory values = new uint256[](length);\\n\\n for (uint256 i = 0; i < length; i = uncheckedInc(i)) {\\n AttestationRequestData memory request = data[i];\\n\\n // Ensure that either no expiration time was set or that it was set in the future.\\n if (request.expirationTime != NO_EXPIRATION_TIME && request.expirationTime <= _time()) {\\n revert InvalidExpirationTime();\\n }\\n\\n // Ensure that we aren't trying to make a revocable attestation for a non-revocable schema.\\n if (!schemaRecord.revocable && request.revocable) {\\n revert Irrevocable();\\n }\\n\\n Attestation memory attestation = Attestation({\\n uid: EMPTY_UID,\\n schema: schemaUID,\\n refUID: request.refUID,\\n time: _time(),\\n expirationTime: request.expirationTime,\\n revocationTime: 0,\\n recipient: request.recipient,\\n attester: attester,\\n revocable: request.revocable,\\n data: request.data\\n });\\n\\n // Look for the first non-existing UID (and use a bump seed/nonce in the rare case of a conflict).\\n bytes32 uid;\\n uint32 bump = 0;\\n while (true) {\\n uid = _getUID(attestation, bump);\\n if (_db[uid].uid == EMPTY_UID) {\\n break;\\n }\\n\\n unchecked {\\n ++bump;\\n }\\n }\\n attestation.uid = uid;\\n\\n _db[uid] = attestation;\\n\\n if (request.refUID != EMPTY_UID) {\\n // Ensure that we aren't trying to attest to a non-existing referenced UID.\\n if (!isAttestationValid(request.refUID)) {\\n revert NotFound();\\n }\\n }\\n\\n attestations[i] = attestation;\\n values[i] = request.value;\\n\\n res.uids[i] = uid;\\n\\n emit Attested(request.recipient, attester, uid, schemaUID);\\n }\\n\\n res.usedValue = _resolveAttestations(schemaRecord, attestations, values, false, availableValue, last);\\n\\n return res;\\n }\\n\\n /// @dev Revokes an existing attestation to a specific schema.\\n /// @param schemaUID The unique identifier of the schema to attest to.\\n /// @param data The arguments of the revocation requests.\\n /// @param revoker The revoking account.\\n /// @param availableValue The total available ETH amount that can be sent to the resolver.\\n /// @param last Whether this is the last attestations/revocations set.\\n /// @return Returns the total sent ETH amount.\\n function _revoke(\\n bytes32 schemaUID,\\n RevocationRequestData[] memory data,\\n address revoker,\\n uint256 availableValue,\\n bool last\\n ) private returns (uint256) {\\n // Ensure that a non-existing schema ID wasn't passed by accident.\\n SchemaRecord memory schemaRecord = _schemaRegistry.getSchema(schemaUID);\\n if (schemaRecord.uid == EMPTY_UID) {\\n revert InvalidSchema();\\n }\\n\\n uint256 length = data.length;\\n Attestation[] memory attestations = new Attestation[](length);\\n uint256[] memory values = new uint256[](length);\\n\\n for (uint256 i = 0; i < length; i = uncheckedInc(i)) {\\n RevocationRequestData memory request = data[i];\\n\\n Attestation storage attestation = _db[request.uid];\\n\\n // Ensure that we aren't attempting to revoke a non-existing attestation.\\n if (attestation.uid == EMPTY_UID) {\\n revert NotFound();\\n }\\n\\n // Ensure that a wrong schema ID wasn't passed by accident.\\n if (attestation.schema != schemaUID) {\\n revert InvalidSchema();\\n }\\n\\n // Allow only original attesters to revoke their attestations.\\n if (attestation.attester != revoker) {\\n revert AccessDenied();\\n }\\n\\n // Please note that also checking of the schema itself is revocable is unnecessary, since it's not possible to\\n // make revocable attestations to an irrevocable schema.\\n if (!attestation.revocable) {\\n revert Irrevocable();\\n }\\n\\n // Ensure that we aren't trying to revoke the same attestation twice.\\n if (attestation.revocationTime != 0) {\\n revert AlreadyRevoked();\\n }\\n attestation.revocationTime = _time();\\n\\n attestations[i] = attestation;\\n values[i] = request.value;\\n\\n emit Revoked(attestations[i].recipient, revoker, request.uid, schemaUID);\\n }\\n\\n return _resolveAttestations(schemaRecord, attestations, values, true, availableValue, last);\\n }\\n\\n /// @dev Resolves a new attestation or a revocation of an existing attestation.\\n /// @param schemaRecord The schema of the attestation.\\n /// @param attestation The data of the attestation to make/revoke.\\n /// @param value An explicit ETH amount to send to the resolver.\\n /// @param isRevocation Whether to resolve an attestation or its revocation.\\n /// @param availableValue The total available ETH amount that can be sent to the resolver.\\n /// @param last Whether this is the last attestations/revocations set.\\n /// @return Returns the total sent ETH amount.\\n function _resolveAttestation(\\n SchemaRecord memory schemaRecord,\\n Attestation memory attestation,\\n uint256 value,\\n bool isRevocation,\\n uint256 availableValue,\\n bool last\\n ) private returns (uint256) {\\n ISchemaResolver resolver = schemaRecord.resolver;\\n if (address(resolver) == address(0)) {\\n // Ensure that we don't accept payments if there is no resolver.\\n if (value != 0) {\\n revert NotPayable();\\n }\\n\\n if (last) {\\n _refund(availableValue);\\n }\\n\\n return 0;\\n }\\n\\n // Ensure that we don't accept payments which can't be forwarded to the resolver.\\n if (value != 0) {\\n if (!resolver.isPayable()) {\\n revert NotPayable();\\n }\\n\\n // Ensure that the attester/revoker doesn't try to spend more than available.\\n if (value > availableValue) {\\n revert InsufficientValue();\\n }\\n\\n // Ensure to deduct the sent value explicitly.\\n unchecked {\\n availableValue -= value;\\n }\\n }\\n\\n if (isRevocation) {\\n if (!resolver.revoke{ value: value }(attestation)) {\\n revert InvalidRevocation();\\n }\\n } else if (!resolver.attest{ value: value }(attestation)) {\\n revert InvalidAttestation();\\n }\\n\\n if (last) {\\n _refund(availableValue);\\n }\\n\\n return value;\\n }\\n\\n /// @dev Resolves multiple attestations or revocations of existing attestations.\\n /// @param schemaRecord The schema of the attestation.\\n /// @param attestations The data of the attestations to make/revoke.\\n /// @param values Explicit ETH amounts to send to the resolver.\\n /// @param isRevocation Whether to resolve an attestation or its revocation.\\n /// @param availableValue The total available ETH amount that can be sent to the resolver.\\n /// @param last Whether this is the last attestations/revocations set.\\n /// @return Returns the total sent ETH amount.\\n function _resolveAttestations(\\n SchemaRecord memory schemaRecord,\\n Attestation[] memory attestations,\\n uint256[] memory values,\\n bool isRevocation,\\n uint256 availableValue,\\n bool last\\n ) private returns (uint256) {\\n uint256 length = attestations.length;\\n if (length == 1) {\\n return _resolveAttestation(schemaRecord, attestations[0], values[0], isRevocation, availableValue, last);\\n }\\n\\n ISchemaResolver resolver = schemaRecord.resolver;\\n if (address(resolver) == address(0)) {\\n // Ensure that we don't accept payments if there is no resolver.\\n for (uint256 i = 0; i < length; i = uncheckedInc(i)) {\\n if (values[i] != 0) {\\n revert NotPayable();\\n }\\n }\\n\\n if (last) {\\n _refund(availableValue);\\n }\\n\\n return 0;\\n }\\n\\n uint256 totalUsedValue = 0;\\n bool isResolverPayable = resolver.isPayable();\\n\\n for (uint256 i = 0; i < length; i = uncheckedInc(i)) {\\n uint256 value = values[i];\\n\\n // Ensure that we don't accept payments which can't be forwarded to the resolver.\\n if (value == 0) {\\n continue;\\n }\\n\\n if (!isResolverPayable) {\\n revert NotPayable();\\n }\\n\\n // Ensure that the attester/revoker doesn't try to spend more than available.\\n if (value > availableValue) {\\n revert InsufficientValue();\\n }\\n\\n // Ensure to deduct the sent value explicitly and add it to the total used value by the batch.\\n unchecked {\\n availableValue -= value;\\n totalUsedValue += value;\\n }\\n }\\n\\n if (isRevocation) {\\n if (!resolver.multiRevoke{ value: totalUsedValue }(attestations, values)) {\\n revert InvalidRevocations();\\n }\\n } else if (!resolver.multiAttest{ value: totalUsedValue }(attestations, values)) {\\n revert InvalidAttestations();\\n }\\n\\n if (last) {\\n _refund(availableValue);\\n }\\n\\n return totalUsedValue;\\n }\\n\\n /// @dev Calculates a UID for a given attestation.\\n /// @param attestation The input attestation.\\n /// @param bump A bump value to use in case of a UID conflict.\\n /// @return Attestation UID.\\n function _getUID(Attestation memory attestation, uint32 bump) private pure returns (bytes32) {\\n return\\n keccak256(\\n abi.encodePacked(\\n attestation.schema,\\n attestation.recipient,\\n attestation.attester,\\n attestation.time,\\n attestation.expirationTime,\\n attestation.revocable,\\n attestation.refUID,\\n attestation.data,\\n bump\\n )\\n );\\n }\\n\\n /// @dev Refunds remaining ETH amount to the attester.\\n /// @param remainingValue The remaining ETH amount that was not sent to the resolver.\\n function _refund(uint256 remainingValue) private {\\n if (remainingValue > 0) {\\n // Using a regular transfer here might revert, for some non-EOA attesters, due to exceeding of the 2300\\n // gas limit which is why we're using call instead (via sendValue), which the 2300 gas limit does not\\n // apply for.\\n payable(msg.sender).sendValue(remainingValue);\\n }\\n }\\n\\n /// @dev Timestamps the specified bytes32 data.\\n /// @param data The data to timestamp.\\n /// @param time The timestamp.\\n function _timestamp(bytes32 data, uint64 time) private {\\n if (_timestamps[data] != 0) {\\n revert AlreadyTimestamped();\\n }\\n\\n _timestamps[data] = time;\\n\\n emit Timestamped(data, time);\\n }\\n\\n /// @dev Revokes the specified bytes32 data.\\n /// @param revoker The revoking account.\\n /// @param data The data to revoke.\\n /// @param time The timestamp the data was revoked with.\\n function _revokeOffchain(address revoker, bytes32 data, uint64 time) private {\\n mapping(bytes32 data => uint64 timestamp) storage revocations = _revocationsOffchain[revoker];\\n\\n if (revocations[data] != 0) {\\n revert AlreadyRevokedOffchain();\\n }\\n\\n revocations[data] = time;\\n\\n emit RevokedOffchain(revoker, data, time);\\n }\\n\\n /// @dev Merges lists of UIDs.\\n /// @param uidLists The provided lists of UIDs.\\n /// @param uidsCount Total UIDs count.\\n /// @return A merged and flatten list of all the UIDs.\\n function _mergeUIDs(bytes32[][] memory uidLists, uint256 uidsCount) private pure returns (bytes32[] memory) {\\n bytes32[] memory uids = new bytes32[](uidsCount);\\n\\n uint256 currentIndex = 0;\\n uint256 uidListLength = uidLists.length;\\n for (uint256 i = 0; i < uidListLength; i = uncheckedInc(i)) {\\n bytes32[] memory currentUids = uidLists[i];\\n uint256 currentUidsLength = currentUids.length;\\n for (uint256 j = 0; j < currentUidsLength; j = uncheckedInc(j)) {\\n uids[currentIndex] = currentUids[j];\\n\\n unchecked {\\n ++currentIndex;\\n }\\n }\\n }\\n\\n return uids;\\n }\\n}\\n\",\"keccak256\":\"0xfd2c344003511c081573a628dccdf8664f4a222ce0a9aa3adf5a0d8d28148ee4\",\"license\":\"MIT\"},\"contracts/IEAS.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport { ISchemaRegistry } from \\\"./ISchemaRegistry.sol\\\";\\nimport { Attestation, Signature } from \\\"./Common.sol\\\";\\n\\n/// @notice A struct representing the arguments of the attestation request.\\nstruct AttestationRequestData {\\n address recipient; // The recipient of the attestation.\\n uint64 expirationTime; // The time when the attestation expires (Unix timestamp).\\n bool revocable; // Whether the attestation is revocable.\\n bytes32 refUID; // The UID of the related attestation.\\n bytes data; // Custom attestation data.\\n uint256 value; // An explicit ETH amount to send to the resolver. This is important to prevent accidental user errors.\\n}\\n\\n/// @notice A struct representing the full arguments of the attestation request.\\nstruct AttestationRequest {\\n bytes32 schema; // The unique identifier of the schema.\\n AttestationRequestData data; // The arguments of the attestation request.\\n}\\n\\n/// @notice A struct representing the full arguments of the full delegated attestation request.\\nstruct DelegatedAttestationRequest {\\n bytes32 schema; // The unique identifier of the schema.\\n AttestationRequestData data; // The arguments of the attestation request.\\n Signature signature; // The ECDSA signature data.\\n address attester; // The attesting account.\\n uint64 deadline; // The deadline of the signature/request.\\n}\\n\\n/// @notice A struct representing the full arguments of the multi attestation request.\\nstruct MultiAttestationRequest {\\n bytes32 schema; // The unique identifier of the schema.\\n AttestationRequestData[] data; // The arguments of the attestation request.\\n}\\n\\n/// @notice A struct representing the full arguments of the delegated multi attestation request.\\nstruct MultiDelegatedAttestationRequest {\\n bytes32 schema; // The unique identifier of the schema.\\n AttestationRequestData[] data; // The arguments of the attestation requests.\\n Signature[] signatures; // The ECDSA signatures data. Please note that the signatures are assumed to be signed with increasing nonces.\\n address attester; // The attesting account.\\n uint64 deadline; // The deadline of the signature/request.\\n}\\n\\n/// @notice A struct representing the arguments of the revocation request.\\nstruct RevocationRequestData {\\n bytes32 uid; // The UID of the attestation to revoke.\\n uint256 value; // An explicit ETH amount to send to the resolver. This is important to prevent accidental user errors.\\n}\\n\\n/// @notice A struct representing the full arguments of the revocation request.\\nstruct RevocationRequest {\\n bytes32 schema; // The unique identifier of the schema.\\n RevocationRequestData data; // The arguments of the revocation request.\\n}\\n\\n/// @notice A struct representing the arguments of the full delegated revocation request.\\nstruct DelegatedRevocationRequest {\\n bytes32 schema; // The unique identifier of the schema.\\n RevocationRequestData data; // The arguments of the revocation request.\\n Signature signature; // The ECDSA signature data.\\n address revoker; // The revoking account.\\n uint64 deadline; // The deadline of the signature/request.\\n}\\n\\n/// @notice A struct representing the full arguments of the multi revocation request.\\nstruct MultiRevocationRequest {\\n bytes32 schema; // The unique identifier of the schema.\\n RevocationRequestData[] data; // The arguments of the revocation request.\\n}\\n\\n/// @notice A struct representing the full arguments of the delegated multi revocation request.\\nstruct MultiDelegatedRevocationRequest {\\n bytes32 schema; // The unique identifier of the schema.\\n RevocationRequestData[] data; // The arguments of the revocation requests.\\n Signature[] signatures; // The ECDSA signatures data. Please note that the signatures are assumed to be signed with increasing nonces.\\n address revoker; // The revoking account.\\n uint64 deadline; // The deadline of the signature/request.\\n}\\n\\n/// @title IEAS\\n/// @notice EAS - Ethereum Attestation Service interface.\\ninterface IEAS {\\n /// @notice Emitted when an attestation has been made.\\n /// @param recipient The recipient of the attestation.\\n /// @param attester The attesting account.\\n /// @param uid The UID the revoked attestation.\\n /// @param schemaUID The UID of the schema.\\n event Attested(address indexed recipient, address indexed attester, bytes32 uid, bytes32 indexed schemaUID);\\n\\n /// @notice Emitted when an attestation has been revoked.\\n /// @param recipient The recipient of the attestation.\\n /// @param attester The attesting account.\\n /// @param schemaUID The UID of the schema.\\n /// @param uid The UID the revoked attestation.\\n event Revoked(address indexed recipient, address indexed attester, bytes32 uid, bytes32 indexed schemaUID);\\n\\n /// @notice Emitted when a data has been timestamped.\\n /// @param data The data.\\n /// @param timestamp The timestamp.\\n event Timestamped(bytes32 indexed data, uint64 indexed timestamp);\\n\\n /// @notice Emitted when a data has been revoked.\\n /// @param revoker The address of the revoker.\\n /// @param data The data.\\n /// @param timestamp The timestamp.\\n event RevokedOffchain(address indexed revoker, bytes32 indexed data, uint64 indexed timestamp);\\n\\n /// @notice Returns the address of the global schema registry.\\n /// @return The address of the global schema registry.\\n function getSchemaRegistry() external view returns (ISchemaRegistry);\\n\\n /// @notice Attests to a specific schema.\\n /// @param request The arguments of the attestation request.\\n /// @return The UID of the new attestation.\\n ///\\n /// Example:\\n /// attest({\\n /// schema: \\\"0facc36681cbe2456019c1b0d1e7bedd6d1d40f6f324bf3dd3a4cef2999200a0\\\",\\n /// data: {\\n /// recipient: \\\"0xdEADBeAFdeAdbEafdeadbeafDeAdbEAFdeadbeaf\\\",\\n /// expirationTime: 0,\\n /// revocable: true,\\n /// refUID: \\\"0x0000000000000000000000000000000000000000000000000000000000000000\\\",\\n /// data: \\\"0xF00D\\\",\\n /// value: 0\\n /// }\\n /// })\\n function attest(AttestationRequest calldata request) external payable returns (bytes32);\\n\\n /// @notice Attests to a specific schema via the provided ECDSA signature.\\n /// @param delegatedRequest The arguments of the delegated attestation request.\\n /// @return The UID of the new attestation.\\n ///\\n /// Example:\\n /// attestByDelegation({\\n /// schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc',\\n /// data: {\\n /// recipient: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266',\\n /// expirationTime: 1673891048,\\n /// revocable: true,\\n /// refUID: '0x0000000000000000000000000000000000000000000000000000000000000000',\\n /// data: '0x1234',\\n /// value: 0\\n /// },\\n /// signature: {\\n /// v: 28,\\n /// r: '0x148c...b25b',\\n /// s: '0x5a72...be22'\\n /// },\\n /// attester: '0xc5E8740aD971409492b1A63Db8d83025e0Fc427e',\\n /// deadline: 1673891048\\n /// })\\n function attestByDelegation(\\n DelegatedAttestationRequest calldata delegatedRequest\\n ) external payable returns (bytes32);\\n\\n /// @notice Attests to multiple schemas.\\n /// @param multiRequests The arguments of the multi attestation requests. The requests should be grouped by distinct\\n /// schema ids to benefit from the best batching optimization.\\n /// @return The UIDs of the new attestations.\\n ///\\n /// Example:\\n /// multiAttest([{\\n /// schema: '0x33e9094830a5cba5554d1954310e4fbed2ef5f859ec1404619adea4207f391fd',\\n /// data: [{\\n /// recipient: '0xdEADBeAFdeAdbEafdeadbeafDeAdbEAFdeadbeaf',\\n /// expirationTime: 1673891048,\\n /// revocable: true,\\n /// refUID: '0x0000000000000000000000000000000000000000000000000000000000000000',\\n /// data: '0x1234',\\n /// value: 1000\\n /// },\\n /// {\\n /// recipient: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266',\\n /// expirationTime: 0,\\n /// revocable: false,\\n /// refUID: '0x480df4a039efc31b11bfdf491b383ca138b6bde160988222a2a3509c02cee174',\\n /// data: '0x00',\\n /// value: 0\\n /// }],\\n /// },\\n /// {\\n /// schema: '0x5ac273ce41e3c8bfa383efe7c03e54c5f0bff29c9f11ef6ffa930fc84ca32425',\\n /// data: [{\\n /// recipient: '0xdEADBeAFdeAdbEafdeadbeafDeAdbEAFdeadbeaf',\\n /// expirationTime: 0,\\n /// revocable: true,\\n /// refUID: '0x75bf2ed8dca25a8190c50c52db136664de25b2449535839008ccfdab469b214f',\\n /// data: '0x12345678',\\n /// value: 0\\n /// },\\n /// }])\\n function multiAttest(MultiAttestationRequest[] calldata multiRequests) external payable returns (bytes32[] memory);\\n\\n /// @notice Attests to multiple schemas using via provided ECDSA signatures.\\n /// @param multiDelegatedRequests The arguments of the delegated multi attestation requests. The requests should be\\n /// grouped by distinct schema ids to benefit from the best batching optimization.\\n /// @return The UIDs of the new attestations.\\n ///\\n /// Example:\\n /// multiAttestByDelegation([{\\n /// schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc',\\n /// data: [{\\n /// recipient: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266',\\n /// expirationTime: 1673891048,\\n /// revocable: true,\\n /// refUID: '0x0000000000000000000000000000000000000000000000000000000000000000',\\n /// data: '0x1234',\\n /// value: 0\\n /// },\\n /// {\\n /// recipient: '0xdEADBeAFdeAdbEafdeadbeafDeAdbEAFdeadbeaf',\\n /// expirationTime: 0,\\n /// revocable: false,\\n /// refUID: '0x0000000000000000000000000000000000000000000000000000000000000000',\\n /// data: '0x00',\\n /// value: 0\\n /// }],\\n /// signatures: [{\\n /// v: 28,\\n /// r: '0x148c...b25b',\\n /// s: '0x5a72...be22'\\n /// },\\n /// {\\n /// v: 28,\\n /// r: '0x487s...67bb',\\n /// s: '0x12ad...2366'\\n /// }],\\n /// attester: '0x1D86495b2A7B524D747d2839b3C645Bed32e8CF4',\\n /// deadline: 1673891048\\n /// }])\\n function multiAttestByDelegation(\\n MultiDelegatedAttestationRequest[] calldata multiDelegatedRequests\\n ) external payable returns (bytes32[] memory);\\n\\n /// @notice Revokes an existing attestation to a specific schema.\\n /// @param request The arguments of the revocation request.\\n ///\\n /// Example:\\n /// revoke({\\n /// schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc',\\n /// data: {\\n /// uid: '0x101032e487642ee04ee17049f99a70590c735b8614079fc9275f9dd57c00966d',\\n /// value: 0\\n /// }\\n /// })\\n function revoke(RevocationRequest calldata request) external payable;\\n\\n /// @notice Revokes an existing attestation to a specific schema via the provided ECDSA signature.\\n /// @param delegatedRequest The arguments of the delegated revocation request.\\n ///\\n /// Example:\\n /// revokeByDelegation({\\n /// schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc',\\n /// data: {\\n /// uid: '0xcbbc12102578c642a0f7b34fe7111e41afa25683b6cd7b5a14caf90fa14d24ba',\\n /// value: 0\\n /// },\\n /// signature: {\\n /// v: 27,\\n /// r: '0xb593...7142',\\n /// s: '0x0f5b...2cce'\\n /// },\\n /// revoker: '0x244934dd3e31bE2c81f84ECf0b3E6329F5381992',\\n /// deadline: 1673891048\\n /// })\\n function revokeByDelegation(DelegatedRevocationRequest calldata delegatedRequest) external payable;\\n\\n /// @notice Revokes existing attestations to multiple schemas.\\n /// @param multiRequests The arguments of the multi revocation requests. The requests should be grouped by distinct\\n /// schema ids to benefit from the best batching optimization.\\n ///\\n /// Example:\\n /// multiRevoke([{\\n /// schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc',\\n /// data: [{\\n /// uid: '0x211296a1ca0d7f9f2cfebf0daaa575bea9b20e968d81aef4e743d699c6ac4b25',\\n /// value: 1000\\n /// },\\n /// {\\n /// uid: '0xe160ac1bd3606a287b4d53d5d1d6da5895f65b4b4bab6d93aaf5046e48167ade',\\n /// value: 0\\n /// }],\\n /// },\\n /// {\\n /// schema: '0x5ac273ce41e3c8bfa383efe7c03e54c5f0bff29c9f11ef6ffa930fc84ca32425',\\n /// data: [{\\n /// uid: '0x053d42abce1fd7c8fcddfae21845ad34dae287b2c326220b03ba241bc5a8f019',\\n /// value: 0\\n /// },\\n /// }])\\n function multiRevoke(MultiRevocationRequest[] calldata multiRequests) external payable;\\n\\n /// @notice Revokes existing attestations to multiple schemas via provided ECDSA signatures.\\n /// @param multiDelegatedRequests The arguments of the delegated multi revocation attestation requests. The requests\\n /// should be grouped by distinct schema ids to benefit from the best batching optimization.\\n ///\\n /// Example:\\n /// multiRevokeByDelegation([{\\n /// schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc',\\n /// data: [{\\n /// uid: '0x211296a1ca0d7f9f2cfebf0daaa575bea9b20e968d81aef4e743d699c6ac4b25',\\n /// value: 1000\\n /// },\\n /// {\\n /// uid: '0xe160ac1bd3606a287b4d53d5d1d6da5895f65b4b4bab6d93aaf5046e48167ade',\\n /// value: 0\\n /// }],\\n /// signatures: [{\\n /// v: 28,\\n /// r: '0x148c...b25b',\\n /// s: '0x5a72...be22'\\n /// },\\n /// {\\n /// v: 28,\\n /// r: '0x487s...67bb',\\n /// s: '0x12ad...2366'\\n /// }],\\n /// revoker: '0x244934dd3e31bE2c81f84ECf0b3E6329F5381992',\\n /// deadline: 1673891048\\n /// }])\\n function multiRevokeByDelegation(\\n MultiDelegatedRevocationRequest[] calldata multiDelegatedRequests\\n ) external payable;\\n\\n /// @notice Timestamps the specified bytes32 data.\\n /// @param data The data to timestamp.\\n /// @return The timestamp the data was timestamped with.\\n function timestamp(bytes32 data) external returns (uint64);\\n\\n /// @notice Timestamps the specified multiple bytes32 data.\\n /// @param data The data to timestamp.\\n /// @return The timestamp the data was timestamped with.\\n function multiTimestamp(bytes32[] calldata data) external returns (uint64);\\n\\n /// @notice Revokes the specified bytes32 data.\\n /// @param data The data to timestamp.\\n /// @return The timestamp the data was revoked with.\\n function revokeOffchain(bytes32 data) external returns (uint64);\\n\\n /// @notice Revokes the specified multiple bytes32 data.\\n /// @param data The data to timestamp.\\n /// @return The timestamp the data was revoked with.\\n function multiRevokeOffchain(bytes32[] calldata data) external returns (uint64);\\n\\n /// @notice Returns an existing attestation by UID.\\n /// @param uid The UID of the attestation to retrieve.\\n /// @return The attestation data members.\\n function getAttestation(bytes32 uid) external view returns (Attestation memory);\\n\\n /// @notice Checks whether an attestation exists.\\n /// @param uid The UID of the attestation to retrieve.\\n /// @return Whether an attestation exists.\\n function isAttestationValid(bytes32 uid) external view returns (bool);\\n\\n /// @notice Returns the timestamp that the specified data was timestamped with.\\n /// @param data The data to query.\\n /// @return The timestamp the data was timestamped with.\\n function getTimestamp(bytes32 data) external view returns (uint64);\\n\\n /// @notice Returns the timestamp that the specified data was timestamped with.\\n /// @param data The data to query.\\n /// @return The timestamp the data was timestamped with.\\n function getRevokeOffchain(address revoker, bytes32 data) external view returns (uint64);\\n}\\n\",\"keccak256\":\"0xd5a192f0bcee5372b69b0bb746c26317a2691dd10bfa52adbd08a9b723a55036\",\"license\":\"MIT\"},\"contracts/ISchemaRegistry.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport { ISchemaResolver } from \\\"./resolver/ISchemaResolver.sol\\\";\\n\\n/// @notice A struct representing a record for a submitted schema.\\nstruct SchemaRecord {\\n bytes32 uid; // The unique identifier of the schema.\\n ISchemaResolver resolver; // Optional schema resolver.\\n bool revocable; // Whether the schema allows revocations explicitly.\\n string schema; // Custom specification of the schema (e.g., an ABI).\\n}\\n\\n/// @title ISchemaRegistry\\n/// @notice The interface of global attestation schemas for the Ethereum Attestation Service protocol.\\ninterface ISchemaRegistry {\\n /// @notice Emitted when a new schema has been registered\\n /// @param uid The schema UID.\\n /// @param registerer The address of the account used to register the schema.\\n /// @param schema The schema data.\\n event Registered(bytes32 indexed uid, address indexed registerer, SchemaRecord schema);\\n\\n /// @notice Submits and reserves a new schema\\n /// @param schema The schema data schema.\\n /// @param resolver An optional schema resolver.\\n /// @param revocable Whether the schema allows revocations explicitly.\\n /// @return The UID of the new schema.\\n function register(string calldata schema, ISchemaResolver resolver, bool revocable) external returns (bytes32);\\n\\n /// @notice Returns an existing schema by UID\\n /// @param uid The UID of the schema to retrieve.\\n /// @return The schema data members.\\n function getSchema(bytes32 uid) external view returns (SchemaRecord memory);\\n}\\n\",\"keccak256\":\"0x772b1ebcf3e5c93fecb53762e11bbdae75fcb667deea4ac21134fccfe78326e4\",\"license\":\"MIT\"},\"contracts/Semver.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.4;\\n\\nimport { Strings } from \\\"@openzeppelin/contracts/utils/Strings.sol\\\";\\n\\n/// @title Semver\\n/// @notice A simple contract for managing contract versions.\\ncontract Semver {\\n // Contract's major version number.\\n uint256 private immutable _major;\\n\\n // Contract's minor version number.\\n uint256 private immutable _minor;\\n\\n // Contract's patch version number.\\n uint256 private immutable _path;\\n\\n /// @dev Create a new Semver instance.\\n /// @param major Major version number.\\n /// @param minor Minor version number.\\n /// @param patch Patch version number.\\n constructor(uint256 major, uint256 minor, uint256 patch) {\\n _major = major;\\n _minor = minor;\\n _path = patch;\\n }\\n\\n /// @notice Returns the full semver contract version.\\n /// @return Semver contract version as a string.\\n function version() external view returns (string memory) {\\n return\\n string(\\n abi.encodePacked(Strings.toString(_major), \\\".\\\", Strings.toString(_minor), \\\".\\\", Strings.toString(_path))\\n );\\n }\\n}\\n\",\"keccak256\":\"0x5883c852730b00d73b10475f3b382afce8f30b89f337078ec03a66c463e048a8\",\"license\":\"MIT\"},\"contracts/eip1271/EIP1271Verifier.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity 0.8.19;\\n\\nimport { EIP712 } from \\\"@openzeppelin/contracts/utils/cryptography/EIP712.sol\\\";\\nimport { SignatureChecker } from \\\"@openzeppelin/contracts/utils/cryptography/SignatureChecker.sol\\\";\\nimport { Address } from \\\"@openzeppelin/contracts/utils/Address.sol\\\";\\n\\n// prettier-ignore\\nimport {\\n AttestationRequestData,\\n DelegatedAttestationRequest,\\n DelegatedRevocationRequest,\\n RevocationRequestData\\n} from \\\"../IEAS.sol\\\";\\n\\nimport { DeadlineExpired, NO_EXPIRATION_TIME, Signature, InvalidSignature } from \\\"../Common.sol\\\";\\n\\n/// @title EIP1271Verifier\\n/// @notice EIP1271Verifier typed signatures verifier for EAS delegated attestations.\\nabstract contract EIP1271Verifier is EIP712 {\\n using Address for address;\\n\\n error InvalidNonce();\\n\\n // The hash of the data type used to relay calls to the attest function. It's the value of\\n // keccak256(\\\"Attest(bytes32 schema,address recipient,uint64 expirationTime,bool revocable,bytes32 refUID,bytes data,uint256 value,uint256 nonce,uint64 deadline)\\\").\\n bytes32 private constant ATTEST_TYPEHASH = 0xf83bb2b0ede93a840239f7e701a54d9bc35f03701f51ae153d601c6947ff3d3f;\\n\\n // The hash of the data type used to relay calls to the revoke function. It's the value of\\n // keccak256(\\\"Revoke(bytes32 schema,bytes32 uid,uint256 value,uint256 nonce,uint64 deadline)\\\").\\n bytes32 private constant REVOKE_TYPEHASH = 0x2d4116d8c9824e4c316453e5c2843a1885580374159ce8768603c49085ef424c;\\n\\n // The user readable name of the signing domain.\\n string private _name;\\n\\n // Replay protection nonces.\\n mapping(address attester => uint256 nonce) private _nonces;\\n\\n /// @notice Emitted when users invalidate nonces by increasing their nonces to (higher) new values.\\n /// @param oldNonce The previous nonce.\\n /// @param newNonce The new value.\\n event NonceIncreased(uint256 oldNonce, uint256 newNonce);\\n\\n /// @dev Creates a new EIP1271Verifier instance.\\n /// @param version The current major version of the signing domain\\n constructor(string memory name, string memory version) EIP712(name, version) {\\n _name = name;\\n }\\n\\n /// @notice Returns the domain separator used in the encoding of the signatures for attest, and revoke.\\n /// @return The domain separator used in the encoding of the signatures for attest, and revoke.\\n function getDomainSeparator() external view returns (bytes32) {\\n return _domainSeparatorV4();\\n }\\n\\n /// @notice Returns the current nonce per-account.\\n /// @param account The requested account.\\n /// @return The current nonce.\\n function getNonce(address account) external view returns (uint256) {\\n return _nonces[account];\\n }\\n\\n /// @notice Returns the EIP712 type hash for the attest function.\\n /// @return The EIP712 type hash for the attest function.\\n function getAttestTypeHash() external pure returns (bytes32) {\\n return ATTEST_TYPEHASH;\\n }\\n\\n /// @notice Returns the EIP712 type hash for the revoke function.\\n /// @return The EIP712 type hash for the revoke function.\\n function getRevokeTypeHash() external pure returns (bytes32) {\\n return REVOKE_TYPEHASH;\\n }\\n\\n /// @notice Returns the EIP712 name.\\n /// @return The EIP712 name.\\n function getName() external view returns (string memory) {\\n return _name;\\n }\\n\\n /// @notice Provides users an option to invalidate nonces by increasing their nonces to (higher) new values.\\n /// @param newNonce The (higher) new value.\\n function increaseNonce(uint256 newNonce) external {\\n uint256 oldNonce = _nonces[msg.sender];\\n if (newNonce <= oldNonce) {\\n revert InvalidNonce();\\n }\\n\\n _nonces[msg.sender] = newNonce;\\n\\n emit NonceIncreased({ oldNonce: oldNonce, newNonce: newNonce });\\n }\\n\\n /// @dev Verifies delegated attestation request.\\n /// @param request The arguments of the delegated attestation request.\\n function _verifyAttest(DelegatedAttestationRequest memory request) internal {\\n if (request.deadline != NO_EXPIRATION_TIME && request.deadline < _time()) {\\n revert DeadlineExpired();\\n }\\n\\n AttestationRequestData memory data = request.data;\\n Signature memory signature = request.signature;\\n\\n bytes32 hash = _hashTypedDataV4(\\n keccak256(\\n abi.encode(\\n ATTEST_TYPEHASH,\\n request.schema,\\n data.recipient,\\n data.expirationTime,\\n data.revocable,\\n data.refUID,\\n keccak256(data.data),\\n data.value,\\n _nonces[request.attester]++,\\n request.deadline\\n )\\n )\\n );\\n if (\\n !SignatureChecker.isValidSignatureNow(\\n request.attester,\\n hash,\\n abi.encodePacked(signature.r, signature.s, signature.v)\\n )\\n ) {\\n revert InvalidSignature();\\n }\\n }\\n\\n /// @dev Verifies delegated revocation request.\\n /// @param request The arguments of the delegated revocation request.\\n function _verifyRevoke(DelegatedRevocationRequest memory request) internal {\\n if (request.deadline != NO_EXPIRATION_TIME && request.deadline < _time()) {\\n revert DeadlineExpired();\\n }\\n\\n RevocationRequestData memory data = request.data;\\n Signature memory signature = request.signature;\\n\\n bytes32 hash = _hashTypedDataV4(\\n keccak256(\\n abi.encode(\\n REVOKE_TYPEHASH,\\n request.schema,\\n data.uid,\\n data.value,\\n _nonces[request.revoker]++,\\n request.deadline\\n )\\n )\\n );\\n if (\\n !SignatureChecker.isValidSignatureNow(\\n request.revoker,\\n hash,\\n abi.encodePacked(signature.r, signature.s, signature.v)\\n )\\n ) {\\n revert InvalidSignature();\\n }\\n }\\n\\n /// @dev Returns the current's block timestamp. This method is overridden during tests and used to simulate the\\n /// current block time.\\n function _time() internal view virtual returns (uint64) {\\n return uint64(block.timestamp);\\n }\\n}\\n\",\"keccak256\":\"0xb7f334240224ebcf472ea0c8385df95515a7f253d4d3ebb65ddb9b58f3323ba7\",\"license\":\"MIT\"},\"contracts/resolver/ISchemaResolver.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport { Attestation } from \\\"../Common.sol\\\";\\n\\n/// @title ISchemaResolver\\n/// @notice The interface of an optional schema resolver.\\ninterface ISchemaResolver {\\n /// @notice Checks if the resolver can be sent ETH.\\n /// @return Whether the resolver supports ETH transfers.\\n function isPayable() external pure returns (bool);\\n\\n /// @notice Processes an attestation and verifies whether it's valid.\\n /// @param attestation The new attestation.\\n /// @return Whether the attestation is valid.\\n function attest(Attestation calldata attestation) external payable returns (bool);\\n\\n /// @notice Processes multiple attestations and verifies whether they are valid.\\n /// @param attestations The new attestations.\\n /// @param values Explicit ETH amounts which were sent with each attestation.\\n /// @return Whether all the attestations are valid.\\n function multiAttest(\\n Attestation[] calldata attestations,\\n uint256[] calldata values\\n ) external payable returns (bool);\\n\\n /// @notice Processes an attestation revocation and verifies if it can be revoked.\\n /// @param attestation The existing attestation to be revoked.\\n /// @return Whether the attestation can be revoked.\\n function revoke(Attestation calldata attestation) external payable returns (bool);\\n\\n /// @notice Processes revocation of multiple attestation and verifies they can be revoked.\\n /// @param attestations The existing attestations to be revoked.\\n /// @param values Explicit ETH amounts which were sent with each revocation.\\n /// @return Whether the attestations can be revoked.\\n function multiRevoke(\\n Attestation[] calldata attestations,\\n uint256[] calldata values\\n ) external payable returns (bool);\\n}\\n\",\"keccak256\":\"0xb74b64e20b90b35004750d2c78ceb114a304975d22d71bd9a2a9de0d483f0395\",\"license\":\"MIT\"}},\"version\":1}", + "bytecode": "0x6101e06040523480156200001257600080fd5b5060405162004e4a38038062004e4a83398101604081905262000035916200020d565b604080518082018252600381526245415360e81b602080830191909152825180840190935260058352640312e322e360dc1b908301526001608052600260a052600060c0819052909190829082906200009090839062000188565b61018052620000a181600162000188565b6101a052815160208084019190912061014052815190820120610160524661010052620001326101405161016051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60e0525050306101205260026200014a8382620002e4565b5050506001600160a01b03811662000175576040516311a1e69760e01b815260040160405180910390fd5b6001600160a01b03166101c05262000425565b6000602083511015620001a857620001a083620001c1565b9050620001bb565b81620001b58482620002e4565b5060ff90505b92915050565b600080829050601f81511115620001f8578260405163305a27a960e01b8152600401620001ef9190620003b0565b60405180910390fd5b8051620002058262000400565b179392505050565b6000602082840312156200022057600080fd5b81516001600160a01b03811681146200023857600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200026a57607f821691505b6020821081036200028b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002df57600081815260208120601f850160051c81016020861015620002ba5750805b601f850160051c820191505b81811015620002db57828155600101620002c6565b5050505b505050565b81516001600160401b038111156200030057620003006200023f565b620003188162000311845462000255565b8462000291565b602080601f831160018114620003505760008415620003375750858301515b600019600386901b1c1916600185901b178555620002db565b600085815260208120601f198616915b82811015620003815788860151825594840194600190910190840162000360565b5085821015620003a05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083528351808285015260005b81811015620003df57858101830151858201604001528201620003c1565b506000604082860101526040601f19601f8301168501019250505092915050565b805160208083015191908110156200028b5760001960209190910360031b1b16919050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c051614990620004ba60003960008181610538015281816115df0152611f0a01526000610d4f01526000610d25015260006129930152600061296b015260006128c6015260006128f00152600061291a01526000610c3401526000610c0b01526000610be201526149906000f3fe6080604052600436106101965760003560e01c806384b0196e116100e1578063cf190f341161008a578063e71ff36511610064578063e71ff365146104dc578063ed24911d146104fc578063f10b5cc814610511578063f17325e71461056257600080fd5b8063cf190f3414610446578063d45c443514610466578063e30bb5631461049d57600080fd5b8063a6d4dbc7116100bb578063a6d4dbc7146103a6578063b469318d146103b9578063b83010d31461041357600080fd5b806384b0196e1461033e5780639541152514610366578063a3112a641461037957600080fd5b806344adc90e116101435780634d0030701161011d5780634d003070146102e957806354fd4d501461030957806379f7573a1461031e57600080fd5b806344adc90e146102a357806346926267146102c35780634cb7e9e5146102d657600080fd5b806317d7de7c1161017457806317d7de7c1461022b5780632d0335ab1461024d5780633c0427151461029057600080fd5b80630eabf6601461019b57806312b11a17146101b057806313893f61146101f2575b600080fd5b6101ae6101a93660046137be565b610575565b005b3480156101bc57600080fd5b507ff83bb2b0ede93a840239f7e701a54d9bc35f03701f51ae153d601c6947ff3d3f5b6040519081526020015b60405180910390f35b3480156101fe57600080fd5b5061021261020d3660046137be565b61070c565b60405167ffffffffffffffff90911681526020016101e9565b34801561023757600080fd5b50610240610751565b6040516101e9919061386e565b34801561025957600080fd5b506101df6102683660046138ba565b73ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b6101df61029e3660046138d7565b6107e3565b6102b66102b13660046137be565b6108e6565b6040516101e99190613912565b6101ae6102d1366004613956565b610a67565b6101ae6102e43660046137be565b610aeb565b3480156102f557600080fd5b5061021261030436600461396e565b610bce565b34801561031557600080fd5b50610240610bdb565b34801561032a57600080fd5b506101ae61033936600461396e565b610c7e565b34801561034a57600080fd5b50610353610d17565b6040516101e997969594939291906139c2565b6102b66103743660046137be565b610dbb565b34801561038557600080fd5b5061039961039436600461396e565b61102e565b6040516101e99190613b32565b6101ae6103b4366004613b45565b6111f0565b3480156103c557600080fd5b506102126103d4366004613b58565b73ffffffffffffffffffffffffffffffffffffffff919091166000908152600660209081526040808320938352929052205467ffffffffffffffff1690565b34801561041f57600080fd5b507f2d4116d8c9824e4c316453e5c2843a1885580374159ce8768603c49085ef424c6101df565b34801561045257600080fd5b5061021261046136600461396e565b611295565b34801561047257600080fd5b5061021261048136600461396e565b60009081526005602052604090205467ffffffffffffffff1690565b3480156104a957600080fd5b506104cc6104b836600461396e565b600090815260046020526040902054151590565b60405190151581526020016101e9565b3480156104e857600080fd5b506102126104f73660046137be565b6112a3565b34801561050857600080fd5b506101df6112db565b34801561051d57600080fd5b5060405173ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001681526020016101e9565b6101df610570366004613b84565b6112ea565b348160005b81811015610705577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8201811460008686848181106105bb576105bb613bbf565b90506020028101906105cd9190613bee565b6105d690613e84565b60208101518051919250908015806105f357508260400151518114155b1561062a576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b818110156106ce576106c66040518060a001604052808660000151815260200185848151811061065f5761065f613bbf565b602002602001015181526020018660400151848151811061068257610682613bbf565b60200260200101518152602001866060015173ffffffffffffffffffffffffffffffffffffffff168152602001866080015167ffffffffffffffff168152506113a8565b60010161062d565b506106e483600001518385606001518a88611596565b6106ee9088613fae565b9650505050506106fe8160010190565b905061057a565b5050505050565b60004282825b818110156107455761073d3387878481811061073057610730613bbf565b9050602002013585611be7565b600101610712565b50909150505b92915050565b60606002805461076090613fc1565b80601f016020809104026020016040519081016040528092919081815260200182805461078c90613fc1565b80156107d95780601f106107ae576101008083540402835291602001916107d9565b820191906000526020600020905b8154815290600101906020018083116107bc57829003601f168201915b5050505050905090565b60006107f66107f183614130565b611ce6565b604080516001808252818301909252600091816020015b6040805160c081018252600080825260208083018290529282018190526060808301829052608083015260a082015282527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90920191018161080d57905050905061087b60208401846141ab565b610884906141df565b8160008151811061089757610897613bbf565b60209081029190910101526108c08335826108b860c0870160a088016138ba565b346001611e64565b602001516000815181106108d6576108d6613bbf565b6020026020010151915050919050565b60608160008167ffffffffffffffff81111561090457610904613c2c565b60405190808252806020026020018201604052801561093757816020015b60608152602001906001900390816109225790505b509050600034815b84811015610a51577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff850181143689898481811061097f5761097f613bbf565b905060200281019061099191906141eb565b90506109a0602082018261421f565b90506000036109db576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610a0082356109ef602085018561421f565b6109f891614287565b338887611e64565b8051909150610a0f9086613fae565b94508060200151878581518110610a2857610a28613bbf565b602002602001018190525080602001515186019550505050610a4a8160010190565b905061093f565b50610a5c8383612597565b979650505050505050565b604080516001808252818301909252600091816020015b6040805180820190915260008082526020820152815260200190600190039081610a7e579050509050610ab9368390038301602084016142fb565b81600081518110610acc57610acc613bbf565b6020908102919091010152610ae682358233346001611596565b505050565b348160005b81811015610705577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8201811436868684818110610b3057610b30613bbf565b9050602002810190610b4291906141eb565b9050610baf8135610b566020840184614317565b808060200260200160405190810160405280939291908181526020016000905b82821015610ba257610b93604083028601368190038101906142fb565b81526020019060010190610b76565b5050505050338886611596565b610bb99086613fae565b94505050610bc78160010190565b9050610af0565b60004261074b8382612681565b6060610c067f0000000000000000000000000000000000000000000000000000000000000000612743565b610c2f7f0000000000000000000000000000000000000000000000000000000000000000612743565b610c587f0000000000000000000000000000000000000000000000000000000000000000612743565b604051602001610c6a9392919061437f565b604051602081830303815290604052905090565b33600090815260036020526040902054808211610cc7576040517f756688fe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360009081526003602090815260409182902084905581518381529081018490527f57b09af877df9068fd60a69d7b21f5576b8b38955812d6ae4ac52942f1e38fb7910160405180910390a15050565b600060608082808083610d4a7f000000000000000000000000000000000000000000000000000000000000000083612801565b610d757f00000000000000000000000000000000000000000000000000000000000000006001612801565b604080516000808252602082019092527f0f000000000000000000000000000000000000000000000000000000000000009b939a50919850469750309650945092509050565b60608160008167ffffffffffffffff811115610dd957610dd9613c2c565b604051908082528060200260200182016040528015610e0c57816020015b6060815260200190600190039081610df75790505b509050600034815b84811015610a51577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8501811436898984818110610e5457610e54613bbf565b9050602002810190610e669190613bee565b9050366000610e78602084018461421f565b909250905080801580610e995750610e9360408501856143f5565b90508114155b15610ed0576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610fb157610fa96040518060a0016040528087600001358152602001868685818110610f0557610f05613bbf565b9050602002810190610f1791906141ab565b610f20906141df565b8152602001610f3260408901896143f5565b85818110610f4257610f42613bbf565b905060600201803603810190610f58919061445c565b8152602001610f6d6080890160608a016138ba565b73ffffffffffffffffffffffffffffffffffffffff168152602001610f9860a0890160808a01614478565b67ffffffffffffffff169052611ce6565b600101610ed3565b506000610fda8535610fc38587614287565b610fd36080890160608a016138ba565b8b8a611e64565b8051909150610fe99089613fae565b975080602001518a888151811061100257611002613bbf565b6020026020010181905250806020015151890198505050505050506110278160010190565b9050610e14565b604080516101408101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082019290925261012081019190915260008281526004602081815260409283902083516101408101855281548152600182015492810192909252600281015467ffffffffffffffff808216958401959095526801000000000000000081048516606084015270010000000000000000000000000000000090049093166080820152600383015460a08201529082015473ffffffffffffffffffffffffffffffffffffffff90811660c0830152600583015490811660e083015274010000000000000000000000000000000000000000900460ff1615156101008201526006820180549192916101208401919061116790613fc1565b80601f016020809104026020016040519081016040528092919081815260200182805461119390613fc1565b80156111e05780601f106111b5576101008083540402835291602001916111e0565b820191906000526020600020905b8154815290600101906020018083116111c357829003601f168201915b5050505050815250509050919050565b61120761120236839003830183614493565b6113a8565b604080516001808252818301909252600091816020015b604080518082019091526000808252602082015281526020019060019003908161121e579050509050611259368390038301602084016142fb565b8160008151811061126c5761126c613bbf565b6020908102919091010152610ae682358261128d60e0860160c087016138ba565b346001611596565b60004261074b338483611be7565b60004282825b81811015610745576112d38686838181106112c6576112c6613bbf565b9050602002013584612681565b6001016112a9565b60006112e56128ac565b905090565b604080516001808252818301909252600091829190816020015b6040805160c081018252600080825260208083018290529282018190526060808301829052608083015260a082015282527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90920191018161130457905050905061137260208401846141ab565b61137b906141df565b8160008151811061138e5761138e613bbf565b60209081029190910101526108c083358233346001611e64565b608081015167ffffffffffffffff16158015906113dc57504267ffffffffffffffff16816080015167ffffffffffffffff16105b15611413576040517f1ab7da6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6020808201516040808401518451835184860151606088015173ffffffffffffffffffffffffffffffffffffffff166000908152600390975293862080549596939593946114e4947f2d4116d8c9824e4c316453e5c2843a1885580374159ce8768603c49085ef424c9493928761148983614501565b909155506080808b015160408051602081019890985287019590955260608601939093529184015260a083015267ffffffffffffffff1660c082015260e0015b604051602081830303815290604052805190602001206129e4565b905061155a84606001518284602001518560400151866000015160405160200161154693929190928352602083019190915260f81b7fff0000000000000000000000000000000000000000000000000000000000000016604082015260410190565b604051602081830303815290604052612a2c565b611590576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6040517fa2ea7c6e00000000000000000000000000000000000000000000000000000000815260048101869052600090819073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169063a2ea7c6e90602401600060405180830381865afa158015611626573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261166c9190810190614539565b80519091506116a7576040517fbf37b20e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b855160008167ffffffffffffffff8111156116c4576116c4613c2c565b60405190808252806020026020018201604052801561176357816020015b60408051610140810182526000808252602080830182905292820181905260608083018290526080830182905260a0830182905260c0830182905260e0830182905261010083019190915261012082015282527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9092019101816116e25790505b50905060008267ffffffffffffffff81111561178157611781613c2c565b6040519080825280602002602001820160405280156117aa578160200160208202803683370190505b50905060005b83811015611bc95760008a82815181106117cc576117cc613bbf565b6020908102919091018101518051600090815260049092526040909120805491925090611825576040517fc5723b5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8c816001015414611862576040517fbf37b20e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600581015473ffffffffffffffffffffffffffffffffffffffff8c81169116146118b8576040517f4ca8886700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600581015474010000000000000000000000000000000000000000900460ff1661190e576040517f157bd4c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002810154700100000000000000000000000000000000900467ffffffffffffffff1615611968576040517f905e710700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b426002820180547fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff811670010000000000000000000000000000000067ffffffffffffffff948516810291821793849055604080516101408101825287548152600188015460208201529386169286169290921791830191909152680100000000000000008304841660608301529091049091166080820152600382015460a0820152600482015473ffffffffffffffffffffffffffffffffffffffff90811660c0830152600583015490811660e083015274010000000000000000000000000000000000000000900460ff1615156101008201526006820180548391610120840191611a7490613fc1565b80601f0160208091040260200160405190810160405280929190818152602001828054611aa090613fc1565b8015611aed5780601f10611ac257610100808354040283529160200191611aed565b820191906000526020600020905b815481529060010190602001808311611ad057829003601f168201915b505050505081525050858481518110611b0857611b08613bbf565b60200260200101819052508160200151848481518110611b2a57611b2a613bbf565b6020026020010181815250508c8b73ffffffffffffffffffffffffffffffffffffffff16868581518110611b6057611b60613bbf565b602002602001015160c0015173ffffffffffffffffffffffffffffffffffffffff167ff930a6e2523c9cc298691873087a740550b8fc85a0680830414c148ed927f6158560000151604051611bb791815260200190565b60405180910390a450506001016117b0565b50611bd984838360018b8b612aa7565b9a9950505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600660209081526040808320858452918290529091205467ffffffffffffffff1615611c5b576040517fec9d6eeb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008381526020829052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000001667ffffffffffffffff861690811790915590519091859173ffffffffffffffffffffffffffffffffffffffff8816917f92a1f7a41a7c585a8b09e25b195e225b1d43248daca46b0faf9e0792777a222991a450505050565b608081015167ffffffffffffffff1615801590611d1a57504267ffffffffffffffff16816080015167ffffffffffffffff16105b15611d51576040517f1ab7da6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60208082015160408084015184518351848601518486015160608088015160808901518051908b012060a08a0151928c015173ffffffffffffffffffffffffffffffffffffffff1660009081526003909b52978a208054999a979997986114e4987ff83bb2b0ede93a840239f7e701a54d9bc35f03701f51ae153d601c6947ff3d3f989796959491928b611de483614501565b909155506080808f015160408051602081019c909c528b019990995273ffffffffffffffffffffffffffffffffffffffff90971660608a015267ffffffffffffffff9586169689019690965292151560a088015260c087019190915260e086015261010085015261012084019190915216610140820152610160016114c9565b60408051808201909152600081526060602082015284516040805180820190915260008152606060208201528167ffffffffffffffff811115611ea957611ea9613c2c565b604051908082528060200260200182016040528015611ed2578160200160208202803683370190505b5060208201526040517fa2ea7c6e000000000000000000000000000000000000000000000000000000008152600481018990526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063a2ea7c6e90602401600060405180830381865afa158015611f66573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052611fac9190810190614539565b8051909150611fe7576040517fbf37b20e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008367ffffffffffffffff81111561200257612002613c2c565b6040519080825280602002602001820160405280156120a157816020015b60408051610140810182526000808252602080830182905292820181905260608083018290526080830182905260a0830182905260c0830182905260e0830182905261010083019190915261012082015282527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9092019101816120205790505b50905060008467ffffffffffffffff8111156120bf576120bf613c2c565b6040519080825280602002602001820160405280156120e8578160200160208202803683370190505b50905060005b858110156125765760008b828151811061210a5761210a613bbf565b60200260200101519050600067ffffffffffffffff16816020015167ffffffffffffffff161415801561215557504267ffffffffffffffff16816020015167ffffffffffffffff1611155b1561218c576040517f08e8b93700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b846040015115801561219f575080604001515b156121d6576040517f157bd4c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006040518061014001604052806000801b81526020018f81526020016121fa4290565b67ffffffffffffffff168152602001836020015167ffffffffffffffff168152602001600067ffffffffffffffff16815260200183606001518152602001836000015173ffffffffffffffffffffffffffffffffffffffff1681526020018d73ffffffffffffffffffffffffffffffffffffffff16815260200183604001511515815260200183608001518152509050600080600090505b61229c8382612e96565b600081815260046020526040902054909250156122bb57600101612292565b81835260008281526004602081815260409283902086518155908601516001820155918501516002830180546060880151608089015167ffffffffffffffff908116700100000000000000000000000000000000027fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff92821668010000000000000000027fffffffffffffffffffffffffffffffff000000000000000000000000000000009094169190951617919091171691909117905560a0850151600383015560c0850151908201805473ffffffffffffffffffffffffffffffffffffffff9283167fffffffffffffffffffffffff000000000000000000000000000000000000000090911617905560e0850151600583018054610100880151151574010000000000000000000000000000000000000000027fffffffffffffffffffffff0000000000000000000000000000000000000000009091169290931691909117919091179055610120840151849190600682019061243a908261465f565b505050606084015115612491576060840151600090815260046020526040902054612491576040517fc5723b5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b828786815181106124a4576124a4613bbf565b60200260200101819052508360a001518686815181106124c6576124c6613bbf565b60200260200101818152505081896020015186815181106124e9576124e9613bbf565b6020026020010181815250508f8e73ffffffffffffffffffffffffffffffffffffffff16856000015173ffffffffffffffffffffffffffffffffffffffff167f8bf46bf4cfd674fa735a3d63ec1c9ad4153f033c290341f3a588b75685141b358560405161255991815260200190565b60405180910390a45050505061256f8160010190565b90506120ee565b5061258683838360008c8c612aa7565b845250919998505050505050505050565b606060008267ffffffffffffffff8111156125b4576125b4613c2c565b6040519080825280602002602001820160405280156125dd578160200160208202803683370190505b508451909150600090815b8181101561267657600087828151811061260457612604613bbf565b6020026020010151905060008151905060005b818110156126625782818151811061263157612631613bbf565b602002602001015187878151811061264b5761264b613bbf565b602090810291909101015260019586019501612617565b50505061266f8160010190565b90506125e8565b509195945050505050565b60008281526005602052604090205467ffffffffffffffff16156126d1576040517f2e26794600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526005602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000001667ffffffffffffffff85169081179091559051909184917f5aafceeb1c7ad58e4a84898bdee37c02c0fc46e7d24e6b60e8209449f183459f9190a35050565b6060600061275083612ef5565b600101905060008167ffffffffffffffff81111561277057612770613c2c565b6040519080825280601f01601f19166020018201604052801561279a576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85049450846127a457509392505050565b606060ff831461281b5761281483612fd7565b905061074b565b81805461282790613fc1565b80601f016020809104026020016040519081016040528092919081815260200182805461285390613fc1565b80156128a05780601f10612875576101008083540402835291602001916128a0565b820191906000526020600020905b81548152906001019060200180831161288357829003601f168201915b5050505050905061074b565b60003073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614801561291257507f000000000000000000000000000000000000000000000000000000000000000046145b1561293c57507f000000000000000000000000000000000000000000000000000000000000000090565b6112e5604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b600061074b6129f16128ac565b836040517f19010000000000000000000000000000000000000000000000000000000000008152600281019290925260228201526042902090565b6000806000612a3b8585613016565b90925090506000816004811115612a5457612a54614779565b148015612a8c57508573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b80612a9d5750612a9d86868661305b565b9695505050505050565b84516000906001819003612aff57612af78888600081518110612acc57612acc613bbf565b602002602001015188600081518110612ae757612ae7613bbf565b60200260200101518888886131b8565b915050612a9d565b602088015173ffffffffffffffffffffffffffffffffffffffff8116612ba05760005b82811015612b8557878181518110612b3c57612b3c613bbf565b6020026020010151600014612b7d576040517f1574f9f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600101612b22565b508315612b9557612b95856134d7565b600092505050612a9d565b6000808273ffffffffffffffffffffffffffffffffffffffff1663ce46e0466040518163ffffffff1660e01b8152600401602060405180830381865afa158015612bee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c1291906147a8565b905060005b84811015612ccf5760008a8281518110612c3357612c33613bbf565b6020026020010151905080600003612c4b5750612cc7565b82612c82576040517f1574f9f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b88811115612cbc576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b978890039792909201915b600101612c17565b508715612daa576040517f88e5b2d900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416906388e5b2d9908490612d2c908e908e906004016147c5565b60206040518083038185885af1158015612d4a573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612d6f91906147a8565b612da5576040517fbf2f3a8b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612e79565b6040517f91db0b7e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416906391db0b7e908490612e00908e908e906004016147c5565b60206040518083038185885af1158015612e1e573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612e4391906147a8565b612e79576040517fe8bee83900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8515612e8857612e88876134d7565b509998505050505050505050565b60208083015160c084015160e0850151604080870151606088015161010089015160a08a01516101208b01519451600099612ed799989796918c9101614859565b60405160208183030381529060405280519060200120905092915050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612f3e577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310612f6a576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612f8857662386f26fc10000830492506010015b6305f5e1008310612fa0576305f5e100830492506008015b6127108310612fb457612710830492506004015b60648310612fc6576064830492506002015b600a831061074b5760010192915050565b60606000612fe4836134ea565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b600080825160410361304c5760208301516040840151606085015160001a6130408782858561352b565b94509450505050613054565b506000905060025b9250929050565b60008060008573ffffffffffffffffffffffffffffffffffffffff16631626ba7e60e01b8686604051602401613092929190614937565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090941693909317909252905161311b9190614958565b600060405180830381855afa9150503d8060008114613156576040519150601f19603f3d011682016040523d82523d6000602084013e61315b565b606091505b509150915081801561316f57506020815110155b8015612a9d575080517f1626ba7e00000000000000000000000000000000000000000000000000000000906131ad908301602090810190840161496a565b149695505050505050565b602086015160009073ffffffffffffffffffffffffffffffffffffffff811661322c578515613213576040517f1574f9f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b821561322257613222846134d7565b6000915050612a9d565b8515613317578073ffffffffffffffffffffffffffffffffffffffff1663ce46e0466040518163ffffffff1660e01b8152600401602060405180830381865afa15801561327d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132a191906147a8565b6132d7576040517f1574f9f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83861115613311576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b85840393505b84156133ef576040517fe49617e100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82169063e49617e1908890613371908b90600401613b32565b60206040518083038185885af115801561338f573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906133b491906147a8565b6133ea576040517fccf3bb2700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6134bc565b6040517fe60c350500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82169063e60c3505908890613443908b90600401613b32565b60206040518083038185885af1158015613461573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061348691906147a8565b6134bc576040517fbd8ba84d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82156134cb576134cb846134d7565b50939695505050505050565b80156134e7576134e7338261361a565b50565b600060ff8216601f81111561074b576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156135625750600090506003613611565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156135b6573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811661360a57600060019250925050613611565b9150600090505b94509492505050565b80471015613689576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064015b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d80600081146136e3576040519150601f19603f3d011682016040523d82523d6000602084013e6136e8565b606091505b5050905080610ae6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401613680565b60008083601f84011261378b57600080fd5b50813567ffffffffffffffff8111156137a357600080fd5b6020830191508360208260051b850101111561305457600080fd5b600080602083850312156137d157600080fd5b823567ffffffffffffffff8111156137e857600080fd5b6137f485828601613779565b90969095509350505050565b60005b8381101561381b578181015183820152602001613803565b50506000910152565b6000815180845261383c816020860160208601613800565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006138816020830184613824565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff811681146134e757600080fd5b80356138b581613888565b919050565b6000602082840312156138cc57600080fd5b813561388181613888565b6000602082840312156138e957600080fd5b813567ffffffffffffffff81111561390057600080fd5b820160e0818503121561388157600080fd5b6020808252825182820181905260009190848201906040850190845b8181101561394a5783518352928401929184019160010161392e565b50909695505050505050565b60006060828403121561396857600080fd5b50919050565b60006020828403121561398057600080fd5b5035919050565b600081518084526020808501945080840160005b838110156139b75781518752958201959082019060010161399b565b509495945050505050565b7fff000000000000000000000000000000000000000000000000000000000000008816815260e0602082015260006139fd60e0830189613824565b8281036040840152613a0f8189613824565b905086606084015273ffffffffffffffffffffffffffffffffffffffff861660808401528460a084015282810360c0840152611bd98185613987565b600061014082518452602083015160208501526040830151613a79604086018267ffffffffffffffff169052565b506060830151613a95606086018267ffffffffffffffff169052565b506080830151613ab1608086018267ffffffffffffffff169052565b5060a083015160a085015260c0830151613ae360c086018273ffffffffffffffffffffffffffffffffffffffff169052565b5060e0830151613b0b60e086018273ffffffffffffffffffffffffffffffffffffffff169052565b506101008381015115159085015261012080840151818601839052612a9d83870182613824565b6020815260006138816020830184613a4b565b6000610100828403121561396857600080fd5b60008060408385031215613b6b57600080fd5b8235613b7681613888565b946020939093013593505050565b600060208284031215613b9657600080fd5b813567ffffffffffffffff811115613bad57600080fd5b82016040818503121561388157600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61833603018112613c2257600080fd5b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405160a0810167ffffffffffffffff81118282101715613c7e57613c7e613c2c565b60405290565b60405160c0810167ffffffffffffffff81118282101715613c7e57613c7e613c2c565b6040516080810167ffffffffffffffff81118282101715613c7e57613c7e613c2c565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715613d1157613d11613c2c565b604052919050565b600067ffffffffffffffff821115613d3357613d33613c2c565b5060051b60200190565b600060408284031215613d4f57600080fd5b6040516040810181811067ffffffffffffffff82111715613d7257613d72613c2c565b604052823581526020928301359281019290925250919050565b600060608284031215613d9e57600080fd5b6040516060810181811067ffffffffffffffff82111715613dc157613dc1613c2c565b604052905080823560ff81168114613dd857600080fd5b8082525060208301356020820152604083013560408201525092915050565b600082601f830112613e0857600080fd5b81356020613e1d613e1883613d19565b613cca565b82815260609283028501820192828201919087851115613e3c57600080fd5b8387015b85811015613e5f57613e528982613d8c565b8452928401928101613e40565b5090979650505050505050565b803567ffffffffffffffff811681146138b557600080fd5b600060a08236031215613e9657600080fd5b613e9e613c5b565b8235815260208084013567ffffffffffffffff80821115613ebe57600080fd5b9085019036601f830112613ed157600080fd5b8135613edf613e1882613d19565b81815260069190911b83018401908481019036831115613efe57600080fd5b938501935b82851015613f2757613f153686613d3d565b82528582019150604085019450613f03565b80868801525050506040860135925080831115613f4357600080fd5b5050613f5136828601613df7565b604083015250613f63606084016138aa565b6060820152613f7460808401613e6c565b608082015292915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8181038181111561074b5761074b613f7f565b600181811c90821680613fd557607f821691505b602082108103613968577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b80151581146134e757600080fd5b600067ffffffffffffffff82111561403657614036613c2c565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b600060c0828403121561407457600080fd5b61407c613c84565b9050813561408981613888565b81526020614098838201613e6c565b8183015260408301356140aa8161400e565b604083015260608381013590830152608083013567ffffffffffffffff8111156140d357600080fd5b8301601f810185136140e457600080fd5b80356140f2613e188261401c565b818152868483850101111561410657600080fd5b818484018583013760008483830101528060808601525050505060a082013560a082015292915050565b600060e0823603121561414257600080fd5b61414a613c5b565b82358152602083013567ffffffffffffffff81111561416857600080fd5b61417436828601614062565b6020830152506141873660408501613d8c565b604082015260a083013561419a81613888565b6060820152613f7460c08401613e6c565b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff41833603018112613c2257600080fd5b600061074b3683614062565b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc1833603018112613c2257600080fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261425457600080fd5b83018035915067ffffffffffffffff82111561426f57600080fd5b6020019150600581901b360382131561305457600080fd5b6000614295613e1884613d19565b80848252602080830192508560051b8501368111156142b357600080fd5b855b818110156142ef57803567ffffffffffffffff8111156142d55760008081fd5b6142e136828a01614062565b8652509382019382016142b5565b50919695505050505050565b60006040828403121561430d57600080fd5b6138818383613d3d565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261434c57600080fd5b83018035915067ffffffffffffffff82111561436757600080fd5b6020019150600681901b360382131561305457600080fd5b60008451614391818460208901613800565b80830190507f2e0000000000000000000000000000000000000000000000000000000000000080825285516143cd816001850160208a01613800565b600192019182015283516143e8816002840160208801613800565b0160020195945050505050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261442a57600080fd5b83018035915067ffffffffffffffff82111561444557600080fd5b602001915060608102360382131561305457600080fd5b60006060828403121561446e57600080fd5b6138818383613d8c565b60006020828403121561448a57600080fd5b61388182613e6c565b600061010082840312156144a657600080fd5b6144ae613c5b565b823581526144bf8460208501613d3d565b60208201526144d18460608501613d8c565b604082015260c08301356144e481613888565b60608201526144f560e08401613e6c565b60808201529392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361453257614532613f7f565b5060010190565b6000602080838503121561454c57600080fd5b825167ffffffffffffffff8082111561456457600080fd5b908401906080828703121561457857600080fd5b614580613ca7565b825181528383015161459181613888565b8185015260408301516145a38161400e565b60408201526060830151828111156145ba57600080fd5b80840193505086601f8401126145cf57600080fd5b825191506145df613e188361401c565b82815287858486010111156145f357600080fd5b61460283868301878701613800565b60608201529695505050505050565b601f821115610ae657600081815260208120601f850160051c810160208610156146385750805b601f850160051c820191505b8181101561465757828155600101614644565b505050505050565b815167ffffffffffffffff81111561467957614679613c2c565b61468d816146878454613fc1565b84614611565b602080601f8311600181146146e057600084156146aa5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555614657565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b8281101561472d5788860151825594840194600190910190840161470e565b508582101561476957878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000602082840312156147ba57600080fd5b81516138818161400e565b6000604082016040835280855180835260608501915060608160051b8601019250602080880160005b8381101561483a577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa0888703018552614828868351613a4b565b955093820193908201906001016147ee565b5050858403818701525050506148508185613987565b95945050505050565b89815260007fffffffffffffffffffffffffffffffffffffffff000000000000000000000000808b60601b166020840152808a60601b166034840152507fffffffffffffffff000000000000000000000000000000000000000000000000808960c01b166048840152808860c01b1660508401525085151560f81b605883015284605983015283516148f2816079850160208801613800565b80830190507fffffffff000000000000000000000000000000000000000000000000000000008460e01b166079820152607d81019150509a9950505050505050505050565b8281526040602082015260006149506040830184613824565b949350505050565b60008251613c22818460208701613800565b60006020828403121561497c57600080fd5b505191905056fea164736f6c6343000813000a", + "deployedBytecode": "0x6080604052600436106101965760003560e01c806384b0196e116100e1578063cf190f341161008a578063e71ff36511610064578063e71ff365146104dc578063ed24911d146104fc578063f10b5cc814610511578063f17325e71461056257600080fd5b8063cf190f3414610446578063d45c443514610466578063e30bb5631461049d57600080fd5b8063a6d4dbc7116100bb578063a6d4dbc7146103a6578063b469318d146103b9578063b83010d31461041357600080fd5b806384b0196e1461033e5780639541152514610366578063a3112a641461037957600080fd5b806344adc90e116101435780634d0030701161011d5780634d003070146102e957806354fd4d501461030957806379f7573a1461031e57600080fd5b806344adc90e146102a357806346926267146102c35780634cb7e9e5146102d657600080fd5b806317d7de7c1161017457806317d7de7c1461022b5780632d0335ab1461024d5780633c0427151461029057600080fd5b80630eabf6601461019b57806312b11a17146101b057806313893f61146101f2575b600080fd5b6101ae6101a93660046137be565b610575565b005b3480156101bc57600080fd5b507ff83bb2b0ede93a840239f7e701a54d9bc35f03701f51ae153d601c6947ff3d3f5b6040519081526020015b60405180910390f35b3480156101fe57600080fd5b5061021261020d3660046137be565b61070c565b60405167ffffffffffffffff90911681526020016101e9565b34801561023757600080fd5b50610240610751565b6040516101e9919061386e565b34801561025957600080fd5b506101df6102683660046138ba565b73ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b6101df61029e3660046138d7565b6107e3565b6102b66102b13660046137be565b6108e6565b6040516101e99190613912565b6101ae6102d1366004613956565b610a67565b6101ae6102e43660046137be565b610aeb565b3480156102f557600080fd5b5061021261030436600461396e565b610bce565b34801561031557600080fd5b50610240610bdb565b34801561032a57600080fd5b506101ae61033936600461396e565b610c7e565b34801561034a57600080fd5b50610353610d17565b6040516101e997969594939291906139c2565b6102b66103743660046137be565b610dbb565b34801561038557600080fd5b5061039961039436600461396e565b61102e565b6040516101e99190613b32565b6101ae6103b4366004613b45565b6111f0565b3480156103c557600080fd5b506102126103d4366004613b58565b73ffffffffffffffffffffffffffffffffffffffff919091166000908152600660209081526040808320938352929052205467ffffffffffffffff1690565b34801561041f57600080fd5b507f2d4116d8c9824e4c316453e5c2843a1885580374159ce8768603c49085ef424c6101df565b34801561045257600080fd5b5061021261046136600461396e565b611295565b34801561047257600080fd5b5061021261048136600461396e565b60009081526005602052604090205467ffffffffffffffff1690565b3480156104a957600080fd5b506104cc6104b836600461396e565b600090815260046020526040902054151590565b60405190151581526020016101e9565b3480156104e857600080fd5b506102126104f73660046137be565b6112a3565b34801561050857600080fd5b506101df6112db565b34801561051d57600080fd5b5060405173ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001681526020016101e9565b6101df610570366004613b84565b6112ea565b348160005b81811015610705577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8201811460008686848181106105bb576105bb613bbf565b90506020028101906105cd9190613bee565b6105d690613e84565b60208101518051919250908015806105f357508260400151518114155b1561062a576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b818110156106ce576106c66040518060a001604052808660000151815260200185848151811061065f5761065f613bbf565b602002602001015181526020018660400151848151811061068257610682613bbf565b60200260200101518152602001866060015173ffffffffffffffffffffffffffffffffffffffff168152602001866080015167ffffffffffffffff168152506113a8565b60010161062d565b506106e483600001518385606001518a88611596565b6106ee9088613fae565b9650505050506106fe8160010190565b905061057a565b5050505050565b60004282825b818110156107455761073d3387878481811061073057610730613bbf565b9050602002013585611be7565b600101610712565b50909150505b92915050565b60606002805461076090613fc1565b80601f016020809104026020016040519081016040528092919081815260200182805461078c90613fc1565b80156107d95780601f106107ae576101008083540402835291602001916107d9565b820191906000526020600020905b8154815290600101906020018083116107bc57829003601f168201915b5050505050905090565b60006107f66107f183614130565b611ce6565b604080516001808252818301909252600091816020015b6040805160c081018252600080825260208083018290529282018190526060808301829052608083015260a082015282527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90920191018161080d57905050905061087b60208401846141ab565b610884906141df565b8160008151811061089757610897613bbf565b60209081029190910101526108c08335826108b860c0870160a088016138ba565b346001611e64565b602001516000815181106108d6576108d6613bbf565b6020026020010151915050919050565b60608160008167ffffffffffffffff81111561090457610904613c2c565b60405190808252806020026020018201604052801561093757816020015b60608152602001906001900390816109225790505b509050600034815b84811015610a51577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff850181143689898481811061097f5761097f613bbf565b905060200281019061099191906141eb565b90506109a0602082018261421f565b90506000036109db576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610a0082356109ef602085018561421f565b6109f891614287565b338887611e64565b8051909150610a0f9086613fae565b94508060200151878581518110610a2857610a28613bbf565b602002602001018190525080602001515186019550505050610a4a8160010190565b905061093f565b50610a5c8383612597565b979650505050505050565b604080516001808252818301909252600091816020015b6040805180820190915260008082526020820152815260200190600190039081610a7e579050509050610ab9368390038301602084016142fb565b81600081518110610acc57610acc613bbf565b6020908102919091010152610ae682358233346001611596565b505050565b348160005b81811015610705577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8201811436868684818110610b3057610b30613bbf565b9050602002810190610b4291906141eb565b9050610baf8135610b566020840184614317565b808060200260200160405190810160405280939291908181526020016000905b82821015610ba257610b93604083028601368190038101906142fb565b81526020019060010190610b76565b5050505050338886611596565b610bb99086613fae565b94505050610bc78160010190565b9050610af0565b60004261074b8382612681565b6060610c067f0000000000000000000000000000000000000000000000000000000000000000612743565b610c2f7f0000000000000000000000000000000000000000000000000000000000000000612743565b610c587f0000000000000000000000000000000000000000000000000000000000000000612743565b604051602001610c6a9392919061437f565b604051602081830303815290604052905090565b33600090815260036020526040902054808211610cc7576040517f756688fe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360009081526003602090815260409182902084905581518381529081018490527f57b09af877df9068fd60a69d7b21f5576b8b38955812d6ae4ac52942f1e38fb7910160405180910390a15050565b600060608082808083610d4a7f000000000000000000000000000000000000000000000000000000000000000083612801565b610d757f00000000000000000000000000000000000000000000000000000000000000006001612801565b604080516000808252602082019092527f0f000000000000000000000000000000000000000000000000000000000000009b939a50919850469750309650945092509050565b60608160008167ffffffffffffffff811115610dd957610dd9613c2c565b604051908082528060200260200182016040528015610e0c57816020015b6060815260200190600190039081610df75790505b509050600034815b84811015610a51577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8501811436898984818110610e5457610e54613bbf565b9050602002810190610e669190613bee565b9050366000610e78602084018461421f565b909250905080801580610e995750610e9360408501856143f5565b90508114155b15610ed0576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610fb157610fa96040518060a0016040528087600001358152602001868685818110610f0557610f05613bbf565b9050602002810190610f1791906141ab565b610f20906141df565b8152602001610f3260408901896143f5565b85818110610f4257610f42613bbf565b905060600201803603810190610f58919061445c565b8152602001610f6d6080890160608a016138ba565b73ffffffffffffffffffffffffffffffffffffffff168152602001610f9860a0890160808a01614478565b67ffffffffffffffff169052611ce6565b600101610ed3565b506000610fda8535610fc38587614287565b610fd36080890160608a016138ba565b8b8a611e64565b8051909150610fe99089613fae565b975080602001518a888151811061100257611002613bbf565b6020026020010181905250806020015151890198505050505050506110278160010190565b9050610e14565b604080516101408101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082019290925261012081019190915260008281526004602081815260409283902083516101408101855281548152600182015492810192909252600281015467ffffffffffffffff808216958401959095526801000000000000000081048516606084015270010000000000000000000000000000000090049093166080820152600383015460a08201529082015473ffffffffffffffffffffffffffffffffffffffff90811660c0830152600583015490811660e083015274010000000000000000000000000000000000000000900460ff1615156101008201526006820180549192916101208401919061116790613fc1565b80601f016020809104026020016040519081016040528092919081815260200182805461119390613fc1565b80156111e05780601f106111b5576101008083540402835291602001916111e0565b820191906000526020600020905b8154815290600101906020018083116111c357829003601f168201915b5050505050815250509050919050565b61120761120236839003830183614493565b6113a8565b604080516001808252818301909252600091816020015b604080518082019091526000808252602082015281526020019060019003908161121e579050509050611259368390038301602084016142fb565b8160008151811061126c5761126c613bbf565b6020908102919091010152610ae682358261128d60e0860160c087016138ba565b346001611596565b60004261074b338483611be7565b60004282825b81811015610745576112d38686838181106112c6576112c6613bbf565b9050602002013584612681565b6001016112a9565b60006112e56128ac565b905090565b604080516001808252818301909252600091829190816020015b6040805160c081018252600080825260208083018290529282018190526060808301829052608083015260a082015282527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90920191018161130457905050905061137260208401846141ab565b61137b906141df565b8160008151811061138e5761138e613bbf565b60209081029190910101526108c083358233346001611e64565b608081015167ffffffffffffffff16158015906113dc57504267ffffffffffffffff16816080015167ffffffffffffffff16105b15611413576040517f1ab7da6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6020808201516040808401518451835184860151606088015173ffffffffffffffffffffffffffffffffffffffff166000908152600390975293862080549596939593946114e4947f2d4116d8c9824e4c316453e5c2843a1885580374159ce8768603c49085ef424c9493928761148983614501565b909155506080808b015160408051602081019890985287019590955260608601939093529184015260a083015267ffffffffffffffff1660c082015260e0015b604051602081830303815290604052805190602001206129e4565b905061155a84606001518284602001518560400151866000015160405160200161154693929190928352602083019190915260f81b7fff0000000000000000000000000000000000000000000000000000000000000016604082015260410190565b604051602081830303815290604052612a2c565b611590576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6040517fa2ea7c6e00000000000000000000000000000000000000000000000000000000815260048101869052600090819073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169063a2ea7c6e90602401600060405180830381865afa158015611626573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261166c9190810190614539565b80519091506116a7576040517fbf37b20e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b855160008167ffffffffffffffff8111156116c4576116c4613c2c565b60405190808252806020026020018201604052801561176357816020015b60408051610140810182526000808252602080830182905292820181905260608083018290526080830182905260a0830182905260c0830182905260e0830182905261010083019190915261012082015282527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9092019101816116e25790505b50905060008267ffffffffffffffff81111561178157611781613c2c565b6040519080825280602002602001820160405280156117aa578160200160208202803683370190505b50905060005b83811015611bc95760008a82815181106117cc576117cc613bbf565b6020908102919091018101518051600090815260049092526040909120805491925090611825576040517fc5723b5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8c816001015414611862576040517fbf37b20e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600581015473ffffffffffffffffffffffffffffffffffffffff8c81169116146118b8576040517f4ca8886700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600581015474010000000000000000000000000000000000000000900460ff1661190e576040517f157bd4c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002810154700100000000000000000000000000000000900467ffffffffffffffff1615611968576040517f905e710700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b426002820180547fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff811670010000000000000000000000000000000067ffffffffffffffff948516810291821793849055604080516101408101825287548152600188015460208201529386169286169290921791830191909152680100000000000000008304841660608301529091049091166080820152600382015460a0820152600482015473ffffffffffffffffffffffffffffffffffffffff90811660c0830152600583015490811660e083015274010000000000000000000000000000000000000000900460ff1615156101008201526006820180548391610120840191611a7490613fc1565b80601f0160208091040260200160405190810160405280929190818152602001828054611aa090613fc1565b8015611aed5780601f10611ac257610100808354040283529160200191611aed565b820191906000526020600020905b815481529060010190602001808311611ad057829003601f168201915b505050505081525050858481518110611b0857611b08613bbf565b60200260200101819052508160200151848481518110611b2a57611b2a613bbf565b6020026020010181815250508c8b73ffffffffffffffffffffffffffffffffffffffff16868581518110611b6057611b60613bbf565b602002602001015160c0015173ffffffffffffffffffffffffffffffffffffffff167ff930a6e2523c9cc298691873087a740550b8fc85a0680830414c148ed927f6158560000151604051611bb791815260200190565b60405180910390a450506001016117b0565b50611bd984838360018b8b612aa7565b9a9950505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600660209081526040808320858452918290529091205467ffffffffffffffff1615611c5b576040517fec9d6eeb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008381526020829052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000001667ffffffffffffffff861690811790915590519091859173ffffffffffffffffffffffffffffffffffffffff8816917f92a1f7a41a7c585a8b09e25b195e225b1d43248daca46b0faf9e0792777a222991a450505050565b608081015167ffffffffffffffff1615801590611d1a57504267ffffffffffffffff16816080015167ffffffffffffffff16105b15611d51576040517f1ab7da6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60208082015160408084015184518351848601518486015160608088015160808901518051908b012060a08a0151928c015173ffffffffffffffffffffffffffffffffffffffff1660009081526003909b52978a208054999a979997986114e4987ff83bb2b0ede93a840239f7e701a54d9bc35f03701f51ae153d601c6947ff3d3f989796959491928b611de483614501565b909155506080808f015160408051602081019c909c528b019990995273ffffffffffffffffffffffffffffffffffffffff90971660608a015267ffffffffffffffff9586169689019690965292151560a088015260c087019190915260e086015261010085015261012084019190915216610140820152610160016114c9565b60408051808201909152600081526060602082015284516040805180820190915260008152606060208201528167ffffffffffffffff811115611ea957611ea9613c2c565b604051908082528060200260200182016040528015611ed2578160200160208202803683370190505b5060208201526040517fa2ea7c6e000000000000000000000000000000000000000000000000000000008152600481018990526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063a2ea7c6e90602401600060405180830381865afa158015611f66573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052611fac9190810190614539565b8051909150611fe7576040517fbf37b20e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008367ffffffffffffffff81111561200257612002613c2c565b6040519080825280602002602001820160405280156120a157816020015b60408051610140810182526000808252602080830182905292820181905260608083018290526080830182905260a0830182905260c0830182905260e0830182905261010083019190915261012082015282527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9092019101816120205790505b50905060008467ffffffffffffffff8111156120bf576120bf613c2c565b6040519080825280602002602001820160405280156120e8578160200160208202803683370190505b50905060005b858110156125765760008b828151811061210a5761210a613bbf565b60200260200101519050600067ffffffffffffffff16816020015167ffffffffffffffff161415801561215557504267ffffffffffffffff16816020015167ffffffffffffffff1611155b1561218c576040517f08e8b93700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b846040015115801561219f575080604001515b156121d6576040517f157bd4c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006040518061014001604052806000801b81526020018f81526020016121fa4290565b67ffffffffffffffff168152602001836020015167ffffffffffffffff168152602001600067ffffffffffffffff16815260200183606001518152602001836000015173ffffffffffffffffffffffffffffffffffffffff1681526020018d73ffffffffffffffffffffffffffffffffffffffff16815260200183604001511515815260200183608001518152509050600080600090505b61229c8382612e96565b600081815260046020526040902054909250156122bb57600101612292565b81835260008281526004602081815260409283902086518155908601516001820155918501516002830180546060880151608089015167ffffffffffffffff908116700100000000000000000000000000000000027fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff92821668010000000000000000027fffffffffffffffffffffffffffffffff000000000000000000000000000000009094169190951617919091171691909117905560a0850151600383015560c0850151908201805473ffffffffffffffffffffffffffffffffffffffff9283167fffffffffffffffffffffffff000000000000000000000000000000000000000090911617905560e0850151600583018054610100880151151574010000000000000000000000000000000000000000027fffffffffffffffffffffff0000000000000000000000000000000000000000009091169290931691909117919091179055610120840151849190600682019061243a908261465f565b505050606084015115612491576060840151600090815260046020526040902054612491576040517fc5723b5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b828786815181106124a4576124a4613bbf565b60200260200101819052508360a001518686815181106124c6576124c6613bbf565b60200260200101818152505081896020015186815181106124e9576124e9613bbf565b6020026020010181815250508f8e73ffffffffffffffffffffffffffffffffffffffff16856000015173ffffffffffffffffffffffffffffffffffffffff167f8bf46bf4cfd674fa735a3d63ec1c9ad4153f033c290341f3a588b75685141b358560405161255991815260200190565b60405180910390a45050505061256f8160010190565b90506120ee565b5061258683838360008c8c612aa7565b845250919998505050505050505050565b606060008267ffffffffffffffff8111156125b4576125b4613c2c565b6040519080825280602002602001820160405280156125dd578160200160208202803683370190505b508451909150600090815b8181101561267657600087828151811061260457612604613bbf565b6020026020010151905060008151905060005b818110156126625782818151811061263157612631613bbf565b602002602001015187878151811061264b5761264b613bbf565b602090810291909101015260019586019501612617565b50505061266f8160010190565b90506125e8565b509195945050505050565b60008281526005602052604090205467ffffffffffffffff16156126d1576040517f2e26794600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526005602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000001667ffffffffffffffff85169081179091559051909184917f5aafceeb1c7ad58e4a84898bdee37c02c0fc46e7d24e6b60e8209449f183459f9190a35050565b6060600061275083612ef5565b600101905060008167ffffffffffffffff81111561277057612770613c2c565b6040519080825280601f01601f19166020018201604052801561279a576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85049450846127a457509392505050565b606060ff831461281b5761281483612fd7565b905061074b565b81805461282790613fc1565b80601f016020809104026020016040519081016040528092919081815260200182805461285390613fc1565b80156128a05780601f10612875576101008083540402835291602001916128a0565b820191906000526020600020905b81548152906001019060200180831161288357829003601f168201915b5050505050905061074b565b60003073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614801561291257507f000000000000000000000000000000000000000000000000000000000000000046145b1561293c57507f000000000000000000000000000000000000000000000000000000000000000090565b6112e5604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b600061074b6129f16128ac565b836040517f19010000000000000000000000000000000000000000000000000000000000008152600281019290925260228201526042902090565b6000806000612a3b8585613016565b90925090506000816004811115612a5457612a54614779565b148015612a8c57508573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b80612a9d5750612a9d86868661305b565b9695505050505050565b84516000906001819003612aff57612af78888600081518110612acc57612acc613bbf565b602002602001015188600081518110612ae757612ae7613bbf565b60200260200101518888886131b8565b915050612a9d565b602088015173ffffffffffffffffffffffffffffffffffffffff8116612ba05760005b82811015612b8557878181518110612b3c57612b3c613bbf565b6020026020010151600014612b7d576040517f1574f9f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600101612b22565b508315612b9557612b95856134d7565b600092505050612a9d565b6000808273ffffffffffffffffffffffffffffffffffffffff1663ce46e0466040518163ffffffff1660e01b8152600401602060405180830381865afa158015612bee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c1291906147a8565b905060005b84811015612ccf5760008a8281518110612c3357612c33613bbf565b6020026020010151905080600003612c4b5750612cc7565b82612c82576040517f1574f9f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b88811115612cbc576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b978890039792909201915b600101612c17565b508715612daa576040517f88e5b2d900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416906388e5b2d9908490612d2c908e908e906004016147c5565b60206040518083038185885af1158015612d4a573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612d6f91906147a8565b612da5576040517fbf2f3a8b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612e79565b6040517f91db0b7e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416906391db0b7e908490612e00908e908e906004016147c5565b60206040518083038185885af1158015612e1e573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612e4391906147a8565b612e79576040517fe8bee83900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8515612e8857612e88876134d7565b509998505050505050505050565b60208083015160c084015160e0850151604080870151606088015161010089015160a08a01516101208b01519451600099612ed799989796918c9101614859565b60405160208183030381529060405280519060200120905092915050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612f3e577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310612f6a576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612f8857662386f26fc10000830492506010015b6305f5e1008310612fa0576305f5e100830492506008015b6127108310612fb457612710830492506004015b60648310612fc6576064830492506002015b600a831061074b5760010192915050565b60606000612fe4836134ea565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b600080825160410361304c5760208301516040840151606085015160001a6130408782858561352b565b94509450505050613054565b506000905060025b9250929050565b60008060008573ffffffffffffffffffffffffffffffffffffffff16631626ba7e60e01b8686604051602401613092929190614937565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090941693909317909252905161311b9190614958565b600060405180830381855afa9150503d8060008114613156576040519150601f19603f3d011682016040523d82523d6000602084013e61315b565b606091505b509150915081801561316f57506020815110155b8015612a9d575080517f1626ba7e00000000000000000000000000000000000000000000000000000000906131ad908301602090810190840161496a565b149695505050505050565b602086015160009073ffffffffffffffffffffffffffffffffffffffff811661322c578515613213576040517f1574f9f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b821561322257613222846134d7565b6000915050612a9d565b8515613317578073ffffffffffffffffffffffffffffffffffffffff1663ce46e0466040518163ffffffff1660e01b8152600401602060405180830381865afa15801561327d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132a191906147a8565b6132d7576040517f1574f9f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83861115613311576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b85840393505b84156133ef576040517fe49617e100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82169063e49617e1908890613371908b90600401613b32565b60206040518083038185885af115801561338f573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906133b491906147a8565b6133ea576040517fccf3bb2700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6134bc565b6040517fe60c350500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82169063e60c3505908890613443908b90600401613b32565b60206040518083038185885af1158015613461573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061348691906147a8565b6134bc576040517fbd8ba84d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82156134cb576134cb846134d7565b50939695505050505050565b80156134e7576134e7338261361a565b50565b600060ff8216601f81111561074b576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156135625750600090506003613611565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156135b6573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811661360a57600060019250925050613611565b9150600090505b94509492505050565b80471015613689576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064015b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d80600081146136e3576040519150601f19603f3d011682016040523d82523d6000602084013e6136e8565b606091505b5050905080610ae6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401613680565b60008083601f84011261378b57600080fd5b50813567ffffffffffffffff8111156137a357600080fd5b6020830191508360208260051b850101111561305457600080fd5b600080602083850312156137d157600080fd5b823567ffffffffffffffff8111156137e857600080fd5b6137f485828601613779565b90969095509350505050565b60005b8381101561381b578181015183820152602001613803565b50506000910152565b6000815180845261383c816020860160208601613800565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006138816020830184613824565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff811681146134e757600080fd5b80356138b581613888565b919050565b6000602082840312156138cc57600080fd5b813561388181613888565b6000602082840312156138e957600080fd5b813567ffffffffffffffff81111561390057600080fd5b820160e0818503121561388157600080fd5b6020808252825182820181905260009190848201906040850190845b8181101561394a5783518352928401929184019160010161392e565b50909695505050505050565b60006060828403121561396857600080fd5b50919050565b60006020828403121561398057600080fd5b5035919050565b600081518084526020808501945080840160005b838110156139b75781518752958201959082019060010161399b565b509495945050505050565b7fff000000000000000000000000000000000000000000000000000000000000008816815260e0602082015260006139fd60e0830189613824565b8281036040840152613a0f8189613824565b905086606084015273ffffffffffffffffffffffffffffffffffffffff861660808401528460a084015282810360c0840152611bd98185613987565b600061014082518452602083015160208501526040830151613a79604086018267ffffffffffffffff169052565b506060830151613a95606086018267ffffffffffffffff169052565b506080830151613ab1608086018267ffffffffffffffff169052565b5060a083015160a085015260c0830151613ae360c086018273ffffffffffffffffffffffffffffffffffffffff169052565b5060e0830151613b0b60e086018273ffffffffffffffffffffffffffffffffffffffff169052565b506101008381015115159085015261012080840151818601839052612a9d83870182613824565b6020815260006138816020830184613a4b565b6000610100828403121561396857600080fd5b60008060408385031215613b6b57600080fd5b8235613b7681613888565b946020939093013593505050565b600060208284031215613b9657600080fd5b813567ffffffffffffffff811115613bad57600080fd5b82016040818503121561388157600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61833603018112613c2257600080fd5b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405160a0810167ffffffffffffffff81118282101715613c7e57613c7e613c2c565b60405290565b60405160c0810167ffffffffffffffff81118282101715613c7e57613c7e613c2c565b6040516080810167ffffffffffffffff81118282101715613c7e57613c7e613c2c565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715613d1157613d11613c2c565b604052919050565b600067ffffffffffffffff821115613d3357613d33613c2c565b5060051b60200190565b600060408284031215613d4f57600080fd5b6040516040810181811067ffffffffffffffff82111715613d7257613d72613c2c565b604052823581526020928301359281019290925250919050565b600060608284031215613d9e57600080fd5b6040516060810181811067ffffffffffffffff82111715613dc157613dc1613c2c565b604052905080823560ff81168114613dd857600080fd5b8082525060208301356020820152604083013560408201525092915050565b600082601f830112613e0857600080fd5b81356020613e1d613e1883613d19565b613cca565b82815260609283028501820192828201919087851115613e3c57600080fd5b8387015b85811015613e5f57613e528982613d8c565b8452928401928101613e40565b5090979650505050505050565b803567ffffffffffffffff811681146138b557600080fd5b600060a08236031215613e9657600080fd5b613e9e613c5b565b8235815260208084013567ffffffffffffffff80821115613ebe57600080fd5b9085019036601f830112613ed157600080fd5b8135613edf613e1882613d19565b81815260069190911b83018401908481019036831115613efe57600080fd5b938501935b82851015613f2757613f153686613d3d565b82528582019150604085019450613f03565b80868801525050506040860135925080831115613f4357600080fd5b5050613f5136828601613df7565b604083015250613f63606084016138aa565b6060820152613f7460808401613e6c565b608082015292915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8181038181111561074b5761074b613f7f565b600181811c90821680613fd557607f821691505b602082108103613968577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b80151581146134e757600080fd5b600067ffffffffffffffff82111561403657614036613c2c565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b600060c0828403121561407457600080fd5b61407c613c84565b9050813561408981613888565b81526020614098838201613e6c565b8183015260408301356140aa8161400e565b604083015260608381013590830152608083013567ffffffffffffffff8111156140d357600080fd5b8301601f810185136140e457600080fd5b80356140f2613e188261401c565b818152868483850101111561410657600080fd5b818484018583013760008483830101528060808601525050505060a082013560a082015292915050565b600060e0823603121561414257600080fd5b61414a613c5b565b82358152602083013567ffffffffffffffff81111561416857600080fd5b61417436828601614062565b6020830152506141873660408501613d8c565b604082015260a083013561419a81613888565b6060820152613f7460c08401613e6c565b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff41833603018112613c2257600080fd5b600061074b3683614062565b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc1833603018112613c2257600080fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261425457600080fd5b83018035915067ffffffffffffffff82111561426f57600080fd5b6020019150600581901b360382131561305457600080fd5b6000614295613e1884613d19565b80848252602080830192508560051b8501368111156142b357600080fd5b855b818110156142ef57803567ffffffffffffffff8111156142d55760008081fd5b6142e136828a01614062565b8652509382019382016142b5565b50919695505050505050565b60006040828403121561430d57600080fd5b6138818383613d3d565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261434c57600080fd5b83018035915067ffffffffffffffff82111561436757600080fd5b6020019150600681901b360382131561305457600080fd5b60008451614391818460208901613800565b80830190507f2e0000000000000000000000000000000000000000000000000000000000000080825285516143cd816001850160208a01613800565b600192019182015283516143e8816002840160208801613800565b0160020195945050505050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261442a57600080fd5b83018035915067ffffffffffffffff82111561444557600080fd5b602001915060608102360382131561305457600080fd5b60006060828403121561446e57600080fd5b6138818383613d8c565b60006020828403121561448a57600080fd5b61388182613e6c565b600061010082840312156144a657600080fd5b6144ae613c5b565b823581526144bf8460208501613d3d565b60208201526144d18460608501613d8c565b604082015260c08301356144e481613888565b60608201526144f560e08401613e6c565b60808201529392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361453257614532613f7f565b5060010190565b6000602080838503121561454c57600080fd5b825167ffffffffffffffff8082111561456457600080fd5b908401906080828703121561457857600080fd5b614580613ca7565b825181528383015161459181613888565b8185015260408301516145a38161400e565b60408201526060830151828111156145ba57600080fd5b80840193505086601f8401126145cf57600080fd5b825191506145df613e188361401c565b82815287858486010111156145f357600080fd5b61460283868301878701613800565b60608201529695505050505050565b601f821115610ae657600081815260208120601f850160051c810160208610156146385750805b601f850160051c820191505b8181101561465757828155600101614644565b505050505050565b815167ffffffffffffffff81111561467957614679613c2c565b61468d816146878454613fc1565b84614611565b602080601f8311600181146146e057600084156146aa5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555614657565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b8281101561472d5788860151825594840194600190910190840161470e565b508582101561476957878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000602082840312156147ba57600080fd5b81516138818161400e565b6000604082016040835280855180835260608501915060608160051b8601019250602080880160005b8381101561483a577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa0888703018552614828868351613a4b565b955093820193908201906001016147ee565b5050858403818701525050506148508185613987565b95945050505050565b89815260007fffffffffffffffffffffffffffffffffffffffff000000000000000000000000808b60601b166020840152808a60601b166034840152507fffffffffffffffff000000000000000000000000000000000000000000000000808960c01b166048840152808860c01b1660508401525085151560f81b605883015284605983015283516148f2816079850160208801613800565b80830190507fffffffff000000000000000000000000000000000000000000000000000000008460e01b166079820152607d81019150509a9950505050505050505050565b8281526040602082015260006149506040830184613824565b949350505050565b60008251613c22818460208701613800565b60006020828403121561497c57600080fd5b505191905056fea164736f6c6343000813000a", + "devdoc": { + "events": { + "Attested(address,address,bytes32,bytes32)": { + "params": { + "attester": "The attesting account.", + "recipient": "The recipient of the attestation.", + "schemaUID": "The UID of the schema.", + "uid": "The UID the revoked attestation." + } + }, + "EIP712DomainChanged()": { + "details": "MAY be emitted to signal that the domain could have changed." + }, + "NonceIncreased(uint256,uint256)": { + "params": { + "newNonce": "The new value.", + "oldNonce": "The previous nonce." + } + }, + "Revoked(address,address,bytes32,bytes32)": { + "params": { + "attester": "The attesting account.", + "recipient": "The recipient of the attestation.", + "schemaUID": "The UID of the schema.", + "uid": "The UID the revoked attestation." + } + }, + "RevokedOffchain(address,bytes32,uint64)": { + "params": { + "data": "The data.", + "revoker": "The address of the revoker.", + "timestamp": "The timestamp." + } + }, + "Timestamped(bytes32,uint64)": { + "params": { + "data": "The data.", + "timestamp": "The timestamp." + } + } + }, + "kind": "dev", + "methods": { + "attest((bytes32,(address,uint64,bool,bytes32,bytes,uint256)))": { + "params": { + "request": "The arguments of the attestation request." + }, + "returns": { + "_0": "The UID of the new attestation. Example: attest({ schema: \"0facc36681cbe2456019c1b0d1e7bedd6d1d40f6f324bf3dd3a4cef2999200a0\", data: { recipient: \"0xdEADBeAFdeAdbEafdeadbeafDeAdbEAFdeadbeaf\", expirationTime: 0, revocable: true, refUID: \"0x0000000000000000000000000000000000000000000000000000000000000000\", data: \"0xF00D\", value: 0 } })" + } + }, + "attestByDelegation((bytes32,(address,uint64,bool,bytes32,bytes,uint256),(uint8,bytes32,bytes32),address,uint64))": { + "params": { + "delegatedRequest": "The arguments of the delegated attestation request." + }, + "returns": { + "_0": "The UID of the new attestation. Example: attestByDelegation({ schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc', data: { recipient: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266', expirationTime: 1673891048, revocable: true, refUID: '0x0000000000000000000000000000000000000000000000000000000000000000', data: '0x1234', value: 0 }, signature: { v: 28, r: '0x148c...b25b', s: '0x5a72...be22' }, attester: '0xc5E8740aD971409492b1A63Db8d83025e0Fc427e', deadline: 1673891048 })" + } + }, + "constructor": { + "details": "Creates a new EAS instance.", + "params": { + "registry": "The address of the global schema registry." + } + }, + "eip712Domain()": { + "details": "See {EIP-5267}. _Available since v4.9._" + }, + "getAttestTypeHash()": { + "returns": { + "_0": "The EIP712 type hash for the attest function." + } + }, + "getAttestation(bytes32)": { + "params": { + "uid": "The UID of the attestation to retrieve." + }, + "returns": { + "_0": "The attestation data members." + } + }, + "getDomainSeparator()": { + "returns": { + "_0": "The domain separator used in the encoding of the signatures for attest, and revoke." + } + }, + "getName()": { + "returns": { + "_0": "The EIP712 name." + } + }, + "getNonce(address)": { + "params": { + "account": "The requested account." + }, + "returns": { + "_0": "The current nonce." + } + }, + "getRevokeOffchain(address,bytes32)": { + "params": { + "data": "The data to query." + }, + "returns": { + "_0": "The timestamp the data was timestamped with." + } + }, + "getRevokeTypeHash()": { + "returns": { + "_0": "The EIP712 type hash for the revoke function." + } + }, + "getSchemaRegistry()": { + "returns": { + "_0": "The address of the global schema registry." + } + }, + "getTimestamp(bytes32)": { + "params": { + "data": "The data to query." + }, + "returns": { + "_0": "The timestamp the data was timestamped with." + } + }, + "increaseNonce(uint256)": { + "params": { + "newNonce": "The (higher) new value." + } + }, + "isAttestationValid(bytes32)": { + "params": { + "uid": "The UID of the attestation to retrieve." + }, + "returns": { + "_0": "Whether an attestation exists." + } + }, + "multiAttest((bytes32,(address,uint64,bool,bytes32,bytes,uint256)[])[])": { + "params": { + "multiRequests": "The arguments of the multi attestation requests. The requests should be grouped by distinct schema ids to benefit from the best batching optimization." + }, + "returns": { + "_0": "The UIDs of the new attestations. Example: multiAttest([{ schema: '0x33e9094830a5cba5554d1954310e4fbed2ef5f859ec1404619adea4207f391fd', data: [{ recipient: '0xdEADBeAFdeAdbEafdeadbeafDeAdbEAFdeadbeaf', expirationTime: 1673891048, revocable: true, refUID: '0x0000000000000000000000000000000000000000000000000000000000000000', data: '0x1234', value: 1000 }, { recipient: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266', expirationTime: 0, revocable: false, refUID: '0x480df4a039efc31b11bfdf491b383ca138b6bde160988222a2a3509c02cee174', data: '0x00', value: 0 }], }, { schema: '0x5ac273ce41e3c8bfa383efe7c03e54c5f0bff29c9f11ef6ffa930fc84ca32425', data: [{ recipient: '0xdEADBeAFdeAdbEafdeadbeafDeAdbEAFdeadbeaf', expirationTime: 0, revocable: true, refUID: '0x75bf2ed8dca25a8190c50c52db136664de25b2449535839008ccfdab469b214f', data: '0x12345678', value: 0 }, }])" + } + }, + "multiAttestByDelegation((bytes32,(address,uint64,bool,bytes32,bytes,uint256)[],(uint8,bytes32,bytes32)[],address,uint64)[])": { + "params": { + "multiDelegatedRequests": "The arguments of the delegated multi attestation requests. The requests should be grouped by distinct schema ids to benefit from the best batching optimization." + }, + "returns": { + "_0": "The UIDs of the new attestations. Example: multiAttestByDelegation([{ schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc', data: [{ recipient: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266', expirationTime: 1673891048, revocable: true, refUID: '0x0000000000000000000000000000000000000000000000000000000000000000', data: '0x1234', value: 0 }, { recipient: '0xdEADBeAFdeAdbEafdeadbeafDeAdbEAFdeadbeaf', expirationTime: 0, revocable: false, refUID: '0x0000000000000000000000000000000000000000000000000000000000000000', data: '0x00', value: 0 }], signatures: [{ v: 28, r: '0x148c...b25b', s: '0x5a72...be22' }, { v: 28, r: '0x487s...67bb', s: '0x12ad...2366' }], attester: '0x1D86495b2A7B524D747d2839b3C645Bed32e8CF4', deadline: 1673891048 }])" + } + }, + "multiRevoke((bytes32,(bytes32,uint256)[])[])": { + "params": { + "multiRequests": "The arguments of the multi revocation requests. The requests should be grouped by distinct schema ids to benefit from the best batching optimization. Example: multiRevoke([{ schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc', data: [{ uid: '0x211296a1ca0d7f9f2cfebf0daaa575bea9b20e968d81aef4e743d699c6ac4b25', value: 1000 }, { uid: '0xe160ac1bd3606a287b4d53d5d1d6da5895f65b4b4bab6d93aaf5046e48167ade', value: 0 }], }, { schema: '0x5ac273ce41e3c8bfa383efe7c03e54c5f0bff29c9f11ef6ffa930fc84ca32425', data: [{ uid: '0x053d42abce1fd7c8fcddfae21845ad34dae287b2c326220b03ba241bc5a8f019', value: 0 }, }])" + } + }, + "multiRevokeByDelegation((bytes32,(bytes32,uint256)[],(uint8,bytes32,bytes32)[],address,uint64)[])": { + "params": { + "multiDelegatedRequests": "The arguments of the delegated multi revocation attestation requests. The requests should be grouped by distinct schema ids to benefit from the best batching optimization. Example: multiRevokeByDelegation([{ schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc', data: [{ uid: '0x211296a1ca0d7f9f2cfebf0daaa575bea9b20e968d81aef4e743d699c6ac4b25', value: 1000 }, { uid: '0xe160ac1bd3606a287b4d53d5d1d6da5895f65b4b4bab6d93aaf5046e48167ade', value: 0 }], signatures: [{ v: 28, r: '0x148c...b25b', s: '0x5a72...be22' }, { v: 28, r: '0x487s...67bb', s: '0x12ad...2366' }], revoker: '0x244934dd3e31bE2c81f84ECf0b3E6329F5381992', deadline: 1673891048 }])" + } + }, + "multiRevokeOffchain(bytes32[])": { + "params": { + "data": "The data to timestamp." + }, + "returns": { + "_0": "The timestamp the data was revoked with." + } + }, + "multiTimestamp(bytes32[])": { + "params": { + "data": "The data to timestamp." + }, + "returns": { + "_0": "The timestamp the data was timestamped with." + } + }, + "revoke((bytes32,(bytes32,uint256)))": { + "params": { + "request": "The arguments of the revocation request. Example: revoke({ schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc', data: { uid: '0x101032e487642ee04ee17049f99a70590c735b8614079fc9275f9dd57c00966d', value: 0 } })" + } + }, + "revokeByDelegation((bytes32,(bytes32,uint256),(uint8,bytes32,bytes32),address,uint64))": { + "params": { + "delegatedRequest": "The arguments of the delegated revocation request. Example: revokeByDelegation({ schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc', data: { uid: '0xcbbc12102578c642a0f7b34fe7111e41afa25683b6cd7b5a14caf90fa14d24ba', value: 0 }, signature: { v: 27, r: '0xb593...7142', s: '0x0f5b...2cce' }, revoker: '0x244934dd3e31bE2c81f84ECf0b3E6329F5381992', deadline: 1673891048 })" + } + }, + "revokeOffchain(bytes32)": { + "params": { + "data": "The data to timestamp." + }, + "returns": { + "_0": "The timestamp the data was revoked with." + } + }, + "timestamp(bytes32)": { + "params": { + "data": "The data to timestamp." + }, + "returns": { + "_0": "The timestamp the data was timestamped with." + } + }, + "version()": { + "returns": { + "_0": "Semver contract version as a string." + } + } + }, + "title": "EAS", + "version": 1 + }, + "userdoc": { + "events": { + "Attested(address,address,bytes32,bytes32)": { + "notice": "Emitted when an attestation has been made." + }, + "NonceIncreased(uint256,uint256)": { + "notice": "Emitted when users invalidate nonces by increasing their nonces to (higher) new values." + }, + "Revoked(address,address,bytes32,bytes32)": { + "notice": "Emitted when an attestation has been revoked." + }, + "RevokedOffchain(address,bytes32,uint64)": { + "notice": "Emitted when a data has been revoked." + }, + "Timestamped(bytes32,uint64)": { + "notice": "Emitted when a data has been timestamped." + } + }, + "kind": "user", + "methods": { + "attest((bytes32,(address,uint64,bool,bytes32,bytes,uint256)))": { + "notice": "Attests to a specific schema." + }, + "attestByDelegation((bytes32,(address,uint64,bool,bytes32,bytes,uint256),(uint8,bytes32,bytes32),address,uint64))": { + "notice": "Attests to a specific schema via the provided ECDSA signature." + }, + "getAttestTypeHash()": { + "notice": "Returns the EIP712 type hash for the attest function." + }, + "getAttestation(bytes32)": { + "notice": "Returns an existing attestation by UID." + }, + "getDomainSeparator()": { + "notice": "Returns the domain separator used in the encoding of the signatures for attest, and revoke." + }, + "getName()": { + "notice": "Returns the EIP712 name." + }, + "getNonce(address)": { + "notice": "Returns the current nonce per-account." + }, + "getRevokeOffchain(address,bytes32)": { + "notice": "Returns the timestamp that the specified data was timestamped with." + }, + "getRevokeTypeHash()": { + "notice": "Returns the EIP712 type hash for the revoke function." + }, + "getSchemaRegistry()": { + "notice": "Returns the address of the global schema registry." + }, + "getTimestamp(bytes32)": { + "notice": "Returns the timestamp that the specified data was timestamped with." + }, + "increaseNonce(uint256)": { + "notice": "Provides users an option to invalidate nonces by increasing their nonces to (higher) new values." + }, + "isAttestationValid(bytes32)": { + "notice": "Checks whether an attestation exists." + }, + "multiAttest((bytes32,(address,uint64,bool,bytes32,bytes,uint256)[])[])": { + "notice": "Attests to multiple schemas." + }, + "multiAttestByDelegation((bytes32,(address,uint64,bool,bytes32,bytes,uint256)[],(uint8,bytes32,bytes32)[],address,uint64)[])": { + "notice": "Attests to multiple schemas using via provided ECDSA signatures." + }, + "multiRevoke((bytes32,(bytes32,uint256)[])[])": { + "notice": "Revokes existing attestations to multiple schemas." + }, + "multiRevokeByDelegation((bytes32,(bytes32,uint256)[],(uint8,bytes32,bytes32)[],address,uint64)[])": { + "notice": "Revokes existing attestations to multiple schemas via provided ECDSA signatures." + }, + "multiRevokeOffchain(bytes32[])": { + "notice": "Revokes the specified multiple bytes32 data." + }, + "multiTimestamp(bytes32[])": { + "notice": "Timestamps the specified multiple bytes32 data." + }, + "revoke((bytes32,(bytes32,uint256)))": { + "notice": "Revokes an existing attestation to a specific schema." + }, + "revokeByDelegation((bytes32,(bytes32,uint256),(uint8,bytes32,bytes32),address,uint64))": { + "notice": "Revokes an existing attestation to a specific schema via the provided ECDSA signature." + }, + "revokeOffchain(bytes32)": { + "notice": "Revokes the specified bytes32 data." + }, + "timestamp(bytes32)": { + "notice": "Timestamps the specified bytes32 data." + }, + "version()": { + "notice": "Returns the full semver contract version." + } + }, + "notice": "The Ethereum Attestation Service protocol.", + "version": 1 + }, + "storageLayout": { + "storage": [ + { + "astId": 2559, + "contract": "contracts/EAS.sol:EAS", + "label": "_nameFallback", + "offset": 0, + "slot": "0", + "type": "t_string_storage" + }, + { + "astId": 2561, + "contract": "contracts/EAS.sol:EAS", + "label": "_versionFallback", + "offset": 0, + "slot": "1", + "type": "t_string_storage" + }, + { + "astId": 6388, + "contract": "contracts/EAS.sol:EAS", + "label": "_name", + "offset": 0, + "slot": "2", + "type": "t_string_storage" + }, + { + "astId": 6392, + "contract": "contracts/EAS.sol:EAS", + "label": "_nonces", + "offset": 0, + "slot": "3", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 3954, + "contract": "contracts/EAS.sol:EAS", + "label": "_db", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_bytes32,t_struct(Attestation)3848_storage)" + }, + { + "astId": 3958, + "contract": "contracts/EAS.sol:EAS", + "label": "_timestamps", + "offset": 0, + "slot": "5", + "type": "t_mapping(t_bytes32,t_uint64)" + }, + { + "astId": 3964, + "contract": "contracts/EAS.sol:EAS", + "label": "_revocationsOffchain", + "offset": 0, + "slot": "6", + "type": "t_mapping(t_address,t_mapping(t_bytes32,t_uint64))" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes_storage": { + "encoding": "bytes", + "label": "bytes", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_mapping(t_bytes32,t_uint64))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(bytes32 => uint64))", + "numberOfBytes": "32", + "value": "t_mapping(t_bytes32,t_uint64)" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes32,t_struct(Attestation)3848_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct Attestation)", + "numberOfBytes": "32", + "value": "t_struct(Attestation)3848_storage" + }, + "t_mapping(t_bytes32,t_uint64)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => uint64)", + "numberOfBytes": "32", + "value": "t_uint64" + }, + "t_string_storage": { + "encoding": "bytes", + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(Attestation)3848_storage": { + "encoding": "inplace", + "label": "struct Attestation", + "members": [ + { + "astId": 3829, + "contract": "contracts/EAS.sol:EAS", + "label": "uid", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 3831, + "contract": "contracts/EAS.sol:EAS", + "label": "schema", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + }, + { + "astId": 3833, + "contract": "contracts/EAS.sol:EAS", + "label": "time", + "offset": 0, + "slot": "2", + "type": "t_uint64" + }, + { + "astId": 3835, + "contract": "contracts/EAS.sol:EAS", + "label": "expirationTime", + "offset": 8, + "slot": "2", + "type": "t_uint64" + }, + { + "astId": 3837, + "contract": "contracts/EAS.sol:EAS", + "label": "revocationTime", + "offset": 16, + "slot": "2", + "type": "t_uint64" + }, + { + "astId": 3839, + "contract": "contracts/EAS.sol:EAS", + "label": "refUID", + "offset": 0, + "slot": "3", + "type": "t_bytes32" + }, + { + "astId": 3841, + "contract": "contracts/EAS.sol:EAS", + "label": "recipient", + "offset": 0, + "slot": "4", + "type": "t_address" + }, + { + "astId": 3843, + "contract": "contracts/EAS.sol:EAS", + "label": "attester", + "offset": 0, + "slot": "5", + "type": "t_address" + }, + { + "astId": 3845, + "contract": "contracts/EAS.sol:EAS", + "label": "revocable", + "offset": 20, + "slot": "5", + "type": "t_bool" + }, + { + "astId": 3847, + "contract": "contracts/EAS.sol:EAS", + "label": "data", + "offset": 0, + "slot": "6", + "type": "t_bytes_storage" + } + ], + "numberOfBytes": "224" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "encoding": "inplace", + "label": "uint64", + "numberOfBytes": "8" + } + } + } +} \ No newline at end of file diff --git a/deployments/polygon-mumbai/EIP712Proxy.json b/deployments/polygon-mumbai/EIP712Proxy.json new file mode 100644 index 0000000..3fa6be6 --- /dev/null +++ b/deployments/polygon-mumbai/EIP712Proxy.json @@ -0,0 +1,765 @@ +{ + "address": "0xB3574f76b1720E61FdA98702c7016674CD6Eaa7b", + "abi": [ + { + "inputs": [ + { + "internalType": "contract IEAS", + "name": "eas", + "type": "address" + }, + { + "internalType": "string", + "name": "name", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [], + "name": "AccessDenied", + "type": "error" + }, + { + "inputs": [], + "name": "DeadlineExpired", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidEAS", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidLength", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidShortString", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidSignature", + "type": "error" + }, + { + "inputs": [], + "name": "NotFound", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "str", + "type": "string" + } + ], + "name": "StringTooLong", + "type": "error" + }, + { + "inputs": [], + "name": "UsedSignature", + "type": "error" + }, + { + "anonymous": false, + "inputs": [], + "name": "EIP712DomainChanged", + "type": "event" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "bytes32", + "name": "schema", + "type": "bytes32" + }, + { + "components": [ + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint64", + "name": "expirationTime", + "type": "uint64" + }, + { + "internalType": "bool", + "name": "revocable", + "type": "bool" + }, + { + "internalType": "bytes32", + "name": "refUID", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "internalType": "struct AttestationRequestData", + "name": "data", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + } + ], + "internalType": "struct Signature", + "name": "signature", + "type": "tuple" + }, + { + "internalType": "address", + "name": "attester", + "type": "address" + }, + { + "internalType": "uint64", + "name": "deadline", + "type": "uint64" + } + ], + "internalType": "struct DelegatedProxyAttestationRequest", + "name": "delegatedRequest", + "type": "tuple" + } + ], + "name": "attestByDelegation", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "eip712Domain", + "outputs": [ + { + "internalType": "bytes1", + "name": "fields", + "type": "bytes1" + }, + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + }, + { + "internalType": "uint256", + "name": "chainId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "verifyingContract", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "uint256[]", + "name": "extensions", + "type": "uint256[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getAttestTypeHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "uid", + "type": "bytes32" + } + ], + "name": "getAttester", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getDomainSeparator", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getEAS", + "outputs": [ + { + "internalType": "contract IEAS", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getName", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRevokeTypeHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "bytes32", + "name": "schema", + "type": "bytes32" + }, + { + "components": [ + { + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "internalType": "uint64", + "name": "expirationTime", + "type": "uint64" + }, + { + "internalType": "bool", + "name": "revocable", + "type": "bool" + }, + { + "internalType": "bytes32", + "name": "refUID", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "internalType": "struct AttestationRequestData[]", + "name": "data", + "type": "tuple[]" + }, + { + "components": [ + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + } + ], + "internalType": "struct Signature[]", + "name": "signatures", + "type": "tuple[]" + }, + { + "internalType": "address", + "name": "attester", + "type": "address" + }, + { + "internalType": "uint64", + "name": "deadline", + "type": "uint64" + } + ], + "internalType": "struct MultiDelegatedProxyAttestationRequest[]", + "name": "multiDelegatedRequests", + "type": "tuple[]" + } + ], + "name": "multiAttestByDelegation", + "outputs": [ + { + "internalType": "bytes32[]", + "name": "", + "type": "bytes32[]" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "bytes32", + "name": "schema", + "type": "bytes32" + }, + { + "components": [ + { + "internalType": "bytes32", + "name": "uid", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "internalType": "struct RevocationRequestData[]", + "name": "data", + "type": "tuple[]" + }, + { + "components": [ + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + } + ], + "internalType": "struct Signature[]", + "name": "signatures", + "type": "tuple[]" + }, + { + "internalType": "address", + "name": "revoker", + "type": "address" + }, + { + "internalType": "uint64", + "name": "deadline", + "type": "uint64" + } + ], + "internalType": "struct MultiDelegatedProxyRevocationRequest[]", + "name": "multiDelegatedRequests", + "type": "tuple[]" + } + ], + "name": "multiRevokeByDelegation", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "bytes32", + "name": "schema", + "type": "bytes32" + }, + { + "components": [ + { + "internalType": "bytes32", + "name": "uid", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "internalType": "struct RevocationRequestData", + "name": "data", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + } + ], + "internalType": "struct Signature", + "name": "signature", + "type": "tuple" + }, + { + "internalType": "address", + "name": "revoker", + "type": "address" + }, + { + "internalType": "uint64", + "name": "deadline", + "type": "uint64" + } + ], + "internalType": "struct DelegatedProxyRevocationRequest", + "name": "delegatedRequest", + "type": "tuple" + } + ], + "name": "revokeByDelegation", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "version", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "transactionHash": "0x4cb690e3738b2de2002c371b4a3f3f259a5a042a8cd717a5d3d42ea85a51b94f", + "receipt": { + "to": null, + "from": "0x6457B4DB9575DBc1bac391DaE4B239722c4000d0", + "contractAddress": "0xB3574f76b1720E61FdA98702c7016674CD6Eaa7b", + "transactionIndex": 0, + "gasUsed": "2300386", + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000020000000000000002000000000000000000000000008000000000000000000000000000000000000000000000000000000000800000000000000000000100000000000000000000000000000000000800000000000000000000000080000000000000000000000000000000000001000000000001000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000004000000000000000000001000000000000000000000000000000100000000000000000000000000080000000000000000000000000000000000000000000100000", + "blockHash": "0x89d310462f9cebfd5bdaf19616006f2bb1e477ebdfa062e2ffe7bc847e762a0a", + "transactionHash": "0x4cb690e3738b2de2002c371b4a3f3f259a5a042a8cd717a5d3d42ea85a51b94f", + "logs": [ + { + "transactionIndex": 0, + "blockNumber": 41443294, + "transactionHash": "0x4cb690e3738b2de2002c371b4a3f3f259a5a042a8cd717a5d3d42ea85a51b94f", + "address": "0x0000000000000000000000000000000000001010", + "topics": [ + "0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63", + "0x0000000000000000000000000000000000000000000000000000000000001010", + "0x0000000000000000000000006457b4db9575dbc1bac391dae4b239722c4000d0", + "0x0000000000000000000000005082f249cdb2f2c1ee035e4f423c46ea2dab3ab1" + ], + "data": "0x000000000000000000000000000000000000000000000000000c424887907e000000000000000000000000000000000000000000000000000d6b8df5690f6e810000000000000000000000000000000000000000000002fb1ee3e1e04c7723cf0000000000000000000000000000000000000000000000000d5f4bace17ef0810000000000000000000000000000000000000000000002fb1ef02428d407a1cf", + "logIndex": 0, + "blockHash": "0x89d310462f9cebfd5bdaf19616006f2bb1e477ebdfa062e2ffe7bc847e762a0a" + } + ], + "blockNumber": 41443294, + "cumulativeGasUsed": "2300386", + "status": 1, + "byzantium": true + }, + "args": [ + "0xaEF4103A04090071165F78D45D83A0C0782c2B2a", + "EIP712Proxy" + ], + "numDeployments": 1, + "solcInputHash": "4815fa92859e337c29529f019e92192d", + "metadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IEAS\",\"name\":\"eas\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AccessDenied\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DeadlineExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidEAS\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidShortString\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"str\",\"type\":\"string\"}],\"name\":\"StringTooLong\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UsedSignature\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EIP712DomainChanged\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"schema\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"expirationTime\",\"type\":\"uint64\"},{\"internalType\":\"bool\",\"name\":\"revocable\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"refUID\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"internalType\":\"struct AttestationRequestData\",\"name\":\"data\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"struct Signature\",\"name\":\"signature\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"attester\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"deadline\",\"type\":\"uint64\"}],\"internalType\":\"struct DelegatedProxyAttestationRequest\",\"name\":\"delegatedRequest\",\"type\":\"tuple\"}],\"name\":\"attestByDelegation\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eip712Domain\",\"outputs\":[{\"internalType\":\"bytes1\",\"name\":\"fields\",\"type\":\"bytes1\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"extensions\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAttestTypeHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"uid\",\"type\":\"bytes32\"}],\"name\":\"getAttester\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDomainSeparator\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getEAS\",\"outputs\":[{\"internalType\":\"contract IEAS\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getName\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRevokeTypeHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"schema\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"expirationTime\",\"type\":\"uint64\"},{\"internalType\":\"bool\",\"name\":\"revocable\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"refUID\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"internalType\":\"struct AttestationRequestData[]\",\"name\":\"data\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"struct Signature[]\",\"name\":\"signatures\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"attester\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"deadline\",\"type\":\"uint64\"}],\"internalType\":\"struct MultiDelegatedProxyAttestationRequest[]\",\"name\":\"multiDelegatedRequests\",\"type\":\"tuple[]\"}],\"name\":\"multiAttestByDelegation\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"schema\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"uid\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"internalType\":\"struct RevocationRequestData[]\",\"name\":\"data\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"struct Signature[]\",\"name\":\"signatures\",\"type\":\"tuple[]\"},{\"internalType\":\"address\",\"name\":\"revoker\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"deadline\",\"type\":\"uint64\"}],\"internalType\":\"struct MultiDelegatedProxyRevocationRequest[]\",\"name\":\"multiDelegatedRequests\",\"type\":\"tuple[]\"}],\"name\":\"multiRevokeByDelegation\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"schema\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"uid\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"internalType\":\"struct RevocationRequestData\",\"name\":\"data\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"struct Signature\",\"name\":\"signature\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"revoker\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"deadline\",\"type\":\"uint64\"}],\"internalType\":\"struct DelegatedProxyRevocationRequest\",\"name\":\"delegatedRequest\",\"type\":\"tuple\"}],\"name\":\"revokeByDelegation\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"events\":{\"EIP712DomainChanged()\":{\"details\":\"MAY be emitted to signal that the domain could have changed.\"}},\"kind\":\"dev\",\"methods\":{\"attestByDelegation((bytes32,(address,uint64,bool,bytes32,bytes,uint256),(uint8,bytes32,bytes32),address,uint64))\":{\"params\":{\"delegatedRequest\":\"The arguments of the delegated attestation request.\"},\"returns\":{\"_0\":\"The UID of the new attestation. Example: attestByDelegation({ schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc', data: { recipient: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266', expirationTime: 1673891048, revocable: true, refUID: '0x0000000000000000000000000000000000000000000000000000000000000000', data: '0x1234', value: 0 }, signature: { v: 28, r: '0x148c...b25b', s: '0x5a72...be22' }, attester: '0xc5E8740aD971409492b1A63Db8d83025e0Fc427e', deadline: 1673891048 })\"}},\"constructor\":{\"details\":\"Creates a new EIP1271Verifier instance.\",\"params\":{\"eas\":\"The address of the global EAS contract.\",\"name\":\"The user readable name of the signing domain.\"}},\"eip712Domain()\":{\"details\":\"See {EIP-5267}. _Available since v4.9._\"},\"multiAttestByDelegation((bytes32,(address,uint64,bool,bytes32,bytes,uint256)[],(uint8,bytes32,bytes32)[],address,uint64)[])\":{\"params\":{\"multiDelegatedRequests\":\"The arguments of the delegated multi attestation requests. The requests should be grouped by distinct schema ids to benefit from the best batching optimization.\"},\"returns\":{\"_0\":\"The UIDs of the new attestations. Example: multiAttestByDelegation([{ schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc', data: [{ recipient: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266', expirationTime: 1673891048, revocable: true, refUID: '0x0000000000000000000000000000000000000000000000000000000000000000', data: '0x1234', value: 0 }, { recipient: '0xdEADBeAFdeAdbEafdeadbeafDeAdbEAFdeadbeaf', expirationTime: 0, revocable: false, refUID: '0x0000000000000000000000000000000000000000000000000000000000000000', data: '0x00', value: 0 }], signatures: [{ v: 28, r: '0x148c...b25b', s: '0x5a72...be22' }, { v: 28, r: '0x487s...67bb', s: '0x12ad...2366' }], attester: '0x1D86495b2A7B524D747d2839b3C645Bed32e8CF4', deadline: 1673891048 }])\"}},\"multiRevokeByDelegation((bytes32,(bytes32,uint256)[],(uint8,bytes32,bytes32)[],address,uint64)[])\":{\"params\":{\"multiDelegatedRequests\":\"The arguments of the delegated multi revocation attestation requests. The requests should be grouped by distinct schema ids to benefit from the best batching optimization. Example: multiRevokeByDelegation([{ schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc', data: [{ uid: '0x211296a1ca0d7f9f2cfebf0daaa575bea9b20e968d81aef4e743d699c6ac4b25', value: 1000 }, { uid: '0xe160ac1bd3606a287b4d53d5d1d6da5895f65b4b4bab6d93aaf5046e48167ade', value: 0 }], signatures: [{ v: 28, r: '0x148c...b25b', s: '0x5a72...be22' }, { v: 28, r: '0x487s...67bb', s: '0x12ad...2366' }], revoker: '0x244934dd3e31bE2c81f84ECf0b3E6329F5381992', deadline: 1673891048 }])\"}},\"revokeByDelegation((bytes32,(bytes32,uint256),(uint8,bytes32,bytes32),address,uint64))\":{\"params\":{\"delegatedRequest\":\"The arguments of the delegated revocation request. Example: revokeByDelegation({ schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc', data: { uid: '0xcbbc12102578c642a0f7b34fe7111e41afa25683b6cd7b5a14caf90fa14d24ba', value: 0 }, signature: { v: 27, r: '0xb593...7142', s: '0x0f5b...2cce' }, revoker: '0x244934dd3e31bE2c81f84ECf0b3E6329F5381992', deadline: 1673891048 })\"}},\"version()\":{\"returns\":{\"_0\":\"Semver contract version as a string.\"}}},\"title\":\"EIP712Proxy\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"attestByDelegation((bytes32,(address,uint64,bool,bytes32,bytes,uint256),(uint8,bytes32,bytes32),address,uint64))\":{\"notice\":\"Attests to a specific schema via the provided EIP712 signature.\"},\"getAttestTypeHash()\":{\"notice\":\"Returns the EIP712 type hash for the attest function.\"},\"getAttester(bytes32)\":{\"notice\":\"Returns the attester for a given uid.\"},\"getDomainSeparator()\":{\"notice\":\"Returns the domain separator used in the encoding of the signatures for attest, and revoke.\"},\"getEAS()\":{\"notice\":\"Returns the EAS.\"},\"getName()\":{\"notice\":\"Returns the EIP712 name.\"},\"getRevokeTypeHash()\":{\"notice\":\"Returns the EIP712 type hash for the revoke function.\"},\"multiAttestByDelegation((bytes32,(address,uint64,bool,bytes32,bytes,uint256)[],(uint8,bytes32,bytes32)[],address,uint64)[])\":{\"notice\":\"Attests to multiple schemas using via provided EIP712 signatures.\"},\"multiRevokeByDelegation((bytes32,(bytes32,uint256)[],(uint8,bytes32,bytes32)[],address,uint64)[])\":{\"notice\":\"Revokes existing attestations to multiple schemas via provided EIP712 signatures.\"},\"revokeByDelegation((bytes32,(bytes32,uint256),(uint8,bytes32,bytes32),address,uint64))\":{\"notice\":\"Revokes an existing attestation to a specific schema via the provided EIP712 signature.\"},\"version()\":{\"notice\":\"Returns the full semver contract version.\"}},\"notice\":\"This utility contract an be used to aggregate delegated attestations without requiring a specific order via nonces. The contract doesn't request nonces and implements replay protection by storing ***immalleable*** signatures.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/eip712/proxy/EIP712Proxy.sol\":\"EIP712Proxy\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/interfaces/IERC5267.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC5267.sol)\\n\\npragma solidity ^0.8.0;\\n\\ninterface IERC5267 {\\n /**\\n * @dev MAY be emitted to signal that the domain could have changed.\\n */\\n event EIP712DomainChanged();\\n\\n /**\\n * @dev returns the fields and values that describe the domain separator used by this contract for EIP-712\\n * signature.\\n */\\n function eip712Domain()\\n external\\n view\\n returns (\\n bytes1 fields,\\n string memory name,\\n string memory version,\\n uint256 chainId,\\n address verifyingContract,\\n bytes32 salt,\\n uint256[] memory extensions\\n );\\n}\\n\",\"keccak256\":\"0xac6c2efc64baccbde4904ae18ed45139c9aa8cff96d6888344d1e4d2eb8b659f\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/ShortStrings.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/ShortStrings.sol)\\n\\npragma solidity ^0.8.8;\\n\\nimport \\\"./StorageSlot.sol\\\";\\n\\n// | string | 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |\\n// | length | 0x BB |\\ntype ShortString is bytes32;\\n\\n/**\\n * @dev This library provides functions to convert short memory strings\\n * into a `ShortString` type that can be used as an immutable variable.\\n *\\n * Strings of arbitrary length can be optimized using this library if\\n * they are short enough (up to 31 bytes) by packing them with their\\n * length (1 byte) in a single EVM word (32 bytes). Additionally, a\\n * fallback mechanism can be used for every other case.\\n *\\n * Usage example:\\n *\\n * ```solidity\\n * contract Named {\\n * using ShortStrings for *;\\n *\\n * ShortString private immutable _name;\\n * string private _nameFallback;\\n *\\n * constructor(string memory contractName) {\\n * _name = contractName.toShortStringWithFallback(_nameFallback);\\n * }\\n *\\n * function name() external view returns (string memory) {\\n * return _name.toStringWithFallback(_nameFallback);\\n * }\\n * }\\n * ```\\n */\\nlibrary ShortStrings {\\n // Used as an identifier for strings longer than 31 bytes.\\n bytes32 private constant _FALLBACK_SENTINEL = 0x00000000000000000000000000000000000000000000000000000000000000FF;\\n\\n error StringTooLong(string str);\\n error InvalidShortString();\\n\\n /**\\n * @dev Encode a string of at most 31 chars into a `ShortString`.\\n *\\n * This will trigger a `StringTooLong` error is the input string is too long.\\n */\\n function toShortString(string memory str) internal pure returns (ShortString) {\\n bytes memory bstr = bytes(str);\\n if (bstr.length > 31) {\\n revert StringTooLong(str);\\n }\\n return ShortString.wrap(bytes32(uint256(bytes32(bstr)) | bstr.length));\\n }\\n\\n /**\\n * @dev Decode a `ShortString` back to a \\\"normal\\\" string.\\n */\\n function toString(ShortString sstr) internal pure returns (string memory) {\\n uint256 len = byteLength(sstr);\\n // using `new string(len)` would work locally but is not memory safe.\\n string memory str = new string(32);\\n /// @solidity memory-safe-assembly\\n assembly {\\n mstore(str, len)\\n mstore(add(str, 0x20), sstr)\\n }\\n return str;\\n }\\n\\n /**\\n * @dev Return the length of a `ShortString`.\\n */\\n function byteLength(ShortString sstr) internal pure returns (uint256) {\\n uint256 result = uint256(ShortString.unwrap(sstr)) & 0xFF;\\n if (result > 31) {\\n revert InvalidShortString();\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Encode a string into a `ShortString`, or write it to storage if it is too long.\\n */\\n function toShortStringWithFallback(string memory value, string storage store) internal returns (ShortString) {\\n if (bytes(value).length < 32) {\\n return toShortString(value);\\n } else {\\n StorageSlot.getStringSlot(store).value = value;\\n return ShortString.wrap(_FALLBACK_SENTINEL);\\n }\\n }\\n\\n /**\\n * @dev Decode a string that was encoded to `ShortString` or written to storage using {setWithFallback}.\\n */\\n function toStringWithFallback(ShortString value, string storage store) internal pure returns (string memory) {\\n if (ShortString.unwrap(value) != _FALLBACK_SENTINEL) {\\n return toString(value);\\n } else {\\n return store;\\n }\\n }\\n\\n /**\\n * @dev Return the length of a string that was encoded to `ShortString` or written to storage using {setWithFallback}.\\n *\\n * WARNING: This will return the \\\"byte length\\\" of the string. This may not reflect the actual length in terms of\\n * actual characters as the UTF-8 encoding of a single character can span over multiple bytes.\\n */\\n function byteLengthWithFallback(ShortString value, string storage store) internal view returns (uint256) {\\n if (ShortString.unwrap(value) != _FALLBACK_SENTINEL) {\\n return byteLength(value);\\n } else {\\n return bytes(store).length;\\n }\\n }\\n}\\n\",\"keccak256\":\"0xc0e310c163edf15db45d4ff938113ab357f94fa86e61ea8e790853c4d2e13256\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/StorageSlot.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/StorageSlot.sol)\\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Library for reading and writing primitive types to specific storage slots.\\n *\\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\\n * This library helps with reading and writing to such slots without the need for inline assembly.\\n *\\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\\n *\\n * Example usage to set ERC1967 implementation slot:\\n * ```solidity\\n * contract ERC1967 {\\n * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\n *\\n * function _getImplementation() internal view returns (address) {\\n * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\\n * }\\n *\\n * function _setImplementation(address newImplementation) internal {\\n * require(Address.isContract(newImplementation), \\\"ERC1967: new implementation is not a contract\\\");\\n * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\\n * }\\n * }\\n * ```\\n *\\n * _Available since v4.1 for `address`, `bool`, `bytes32`, `uint256`._\\n * _Available since v4.9 for `string`, `bytes`._\\n */\\nlibrary StorageSlot {\\n struct AddressSlot {\\n address value;\\n }\\n\\n struct BooleanSlot {\\n bool value;\\n }\\n\\n struct Bytes32Slot {\\n bytes32 value;\\n }\\n\\n struct Uint256Slot {\\n uint256 value;\\n }\\n\\n struct StringSlot {\\n string value;\\n }\\n\\n struct BytesSlot {\\n bytes value;\\n }\\n\\n /**\\n * @dev Returns an `AddressSlot` with member `value` located at `slot`.\\n */\\n function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `BooleanSlot` with member `value` located at `slot`.\\n */\\n function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.\\n */\\n function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `Uint256Slot` with member `value` located at `slot`.\\n */\\n function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `StringSlot` with member `value` located at `slot`.\\n */\\n function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\\n */\\n function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := store.slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `BytesSlot` with member `value` located at `slot`.\\n */\\n function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := slot\\n }\\n }\\n\\n /**\\n * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\\n */\\n function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n r.slot := store.slot\\n }\\n }\\n}\\n\",\"keccak256\":\"0xf09e68aa0dc6722a25bc46490e8d48ed864466d17313b8a0b254c36b54e49899\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/Strings.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./math/Math.sol\\\";\\nimport \\\"./math/SignedMath.sol\\\";\\n\\n/**\\n * @dev String operations.\\n */\\nlibrary Strings {\\n bytes16 private constant _SYMBOLS = \\\"0123456789abcdef\\\";\\n uint8 private constant _ADDRESS_LENGTH = 20;\\n\\n /**\\n * @dev Converts a `uint256` to its ASCII `string` decimal representation.\\n */\\n function toString(uint256 value) internal pure returns (string memory) {\\n unchecked {\\n uint256 length = Math.log10(value) + 1;\\n string memory buffer = new string(length);\\n uint256 ptr;\\n /// @solidity memory-safe-assembly\\n assembly {\\n ptr := add(buffer, add(32, length))\\n }\\n while (true) {\\n ptr--;\\n /// @solidity memory-safe-assembly\\n assembly {\\n mstore8(ptr, byte(mod(value, 10), _SYMBOLS))\\n }\\n value /= 10;\\n if (value == 0) break;\\n }\\n return buffer;\\n }\\n }\\n\\n /**\\n * @dev Converts a `int256` to its ASCII `string` decimal representation.\\n */\\n function toString(int256 value) internal pure returns (string memory) {\\n return string(abi.encodePacked(value < 0 ? \\\"-\\\" : \\\"\\\", toString(SignedMath.abs(value))));\\n }\\n\\n /**\\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\\n */\\n function toHexString(uint256 value) internal pure returns (string memory) {\\n unchecked {\\n return toHexString(value, Math.log256(value) + 1);\\n }\\n }\\n\\n /**\\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\\n */\\n function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {\\n bytes memory buffer = new bytes(2 * length + 2);\\n buffer[0] = \\\"0\\\";\\n buffer[1] = \\\"x\\\";\\n for (uint256 i = 2 * length + 1; i > 1; --i) {\\n buffer[i] = _SYMBOLS[value & 0xf];\\n value >>= 4;\\n }\\n require(value == 0, \\\"Strings: hex length insufficient\\\");\\n return string(buffer);\\n }\\n\\n /**\\n * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.\\n */\\n function toHexString(address addr) internal pure returns (string memory) {\\n return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);\\n }\\n\\n /**\\n * @dev Returns true if the two strings are equal.\\n */\\n function equal(string memory a, string memory b) internal pure returns (bool) {\\n return keccak256(bytes(a)) == keccak256(bytes(b));\\n }\\n}\\n\",\"keccak256\":\"0x3088eb2868e8d13d89d16670b5f8612c4ab9ff8956272837d8e90106c59c14a0\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/cryptography/ECDSA.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/ECDSA.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../Strings.sol\\\";\\n\\n/**\\n * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.\\n *\\n * These functions can be used to verify that a message was signed by the holder\\n * of the private keys of a given address.\\n */\\nlibrary ECDSA {\\n enum RecoverError {\\n NoError,\\n InvalidSignature,\\n InvalidSignatureLength,\\n InvalidSignatureS,\\n InvalidSignatureV // Deprecated in v4.8\\n }\\n\\n function _throwError(RecoverError error) private pure {\\n if (error == RecoverError.NoError) {\\n return; // no error: do nothing\\n } else if (error == RecoverError.InvalidSignature) {\\n revert(\\\"ECDSA: invalid signature\\\");\\n } else if (error == RecoverError.InvalidSignatureLength) {\\n revert(\\\"ECDSA: invalid signature length\\\");\\n } else if (error == RecoverError.InvalidSignatureS) {\\n revert(\\\"ECDSA: invalid signature 's' value\\\");\\n }\\n }\\n\\n /**\\n * @dev Returns the address that signed a hashed message (`hash`) with\\n * `signature` or error string. This address can then be used for verification purposes.\\n *\\n * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:\\n * this function rejects them by requiring the `s` value to be in the lower\\n * half order, and the `v` value to be either 27 or 28.\\n *\\n * IMPORTANT: `hash` _must_ be the result of a hash operation for the\\n * verification to be secure: it is possible to craft signatures that\\n * recover to arbitrary addresses for non-hashed data. A safe way to ensure\\n * this is by receiving a hash of the original message (which may otherwise\\n * be too long), and then calling {toEthSignedMessageHash} on it.\\n *\\n * Documentation for signature generation:\\n * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]\\n * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]\\n *\\n * _Available since v4.3._\\n */\\n function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {\\n if (signature.length == 65) {\\n bytes32 r;\\n bytes32 s;\\n uint8 v;\\n // ecrecover takes the signature parameters, and the only way to get them\\n // currently is to use assembly.\\n /// @solidity memory-safe-assembly\\n assembly {\\n r := mload(add(signature, 0x20))\\n s := mload(add(signature, 0x40))\\n v := byte(0, mload(add(signature, 0x60)))\\n }\\n return tryRecover(hash, v, r, s);\\n } else {\\n return (address(0), RecoverError.InvalidSignatureLength);\\n }\\n }\\n\\n /**\\n * @dev Returns the address that signed a hashed message (`hash`) with\\n * `signature`. This address can then be used for verification purposes.\\n *\\n * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:\\n * this function rejects them by requiring the `s` value to be in the lower\\n * half order, and the `v` value to be either 27 or 28.\\n *\\n * IMPORTANT: `hash` _must_ be the result of a hash operation for the\\n * verification to be secure: it is possible to craft signatures that\\n * recover to arbitrary addresses for non-hashed data. A safe way to ensure\\n * this is by receiving a hash of the original message (which may otherwise\\n * be too long), and then calling {toEthSignedMessageHash} on it.\\n */\\n function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {\\n (address recovered, RecoverError error) = tryRecover(hash, signature);\\n _throwError(error);\\n return recovered;\\n }\\n\\n /**\\n * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.\\n *\\n * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]\\n *\\n * _Available since v4.3._\\n */\\n function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError) {\\n bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);\\n uint8 v = uint8((uint256(vs) >> 255) + 27);\\n return tryRecover(hash, v, r, s);\\n }\\n\\n /**\\n * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.\\n *\\n * _Available since v4.2._\\n */\\n function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) {\\n (address recovered, RecoverError error) = tryRecover(hash, r, vs);\\n _throwError(error);\\n return recovered;\\n }\\n\\n /**\\n * @dev Overload of {ECDSA-tryRecover} that receives the `v`,\\n * `r` and `s` signature fields separately.\\n *\\n * _Available since v4.3._\\n */\\n function tryRecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address, RecoverError) {\\n // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature\\n // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines\\n // the valid range for s in (301): 0 < s < secp256k1n \\u00f7 2 + 1, and for v in (302): v \\u2208 {27, 28}. Most\\n // signatures from current libraries generate a unique signature with an s-value in the lower half order.\\n //\\n // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value\\n // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or\\n // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept\\n // these malleable signatures as well.\\n if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {\\n return (address(0), RecoverError.InvalidSignatureS);\\n }\\n\\n // If the signature is valid (and not malleable), return the signer address\\n address signer = ecrecover(hash, v, r, s);\\n if (signer == address(0)) {\\n return (address(0), RecoverError.InvalidSignature);\\n }\\n\\n return (signer, RecoverError.NoError);\\n }\\n\\n /**\\n * @dev Overload of {ECDSA-recover} that receives the `v`,\\n * `r` and `s` signature fields separately.\\n */\\n function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {\\n (address recovered, RecoverError error) = tryRecover(hash, v, r, s);\\n _throwError(error);\\n return recovered;\\n }\\n\\n /**\\n * @dev Returns an Ethereum Signed Message, created from a `hash`. This\\n * produces hash corresponding to the one signed with the\\n * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]\\n * JSON-RPC method as part of EIP-191.\\n *\\n * See {recover}.\\n */\\n function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 message) {\\n // 32 is the length in bytes of hash,\\n // enforced by the type signature above\\n /// @solidity memory-safe-assembly\\n assembly {\\n mstore(0x00, \\\"\\\\x19Ethereum Signed Message:\\\\n32\\\")\\n mstore(0x1c, hash)\\n message := keccak256(0x00, 0x3c)\\n }\\n }\\n\\n /**\\n * @dev Returns an Ethereum Signed Message, created from `s`. This\\n * produces hash corresponding to the one signed with the\\n * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]\\n * JSON-RPC method as part of EIP-191.\\n *\\n * See {recover}.\\n */\\n function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {\\n return keccak256(abi.encodePacked(\\\"\\\\x19Ethereum Signed Message:\\\\n\\\", Strings.toString(s.length), s));\\n }\\n\\n /**\\n * @dev Returns an Ethereum Signed Typed Data, created from a\\n * `domainSeparator` and a `structHash`. This produces hash corresponding\\n * to the one signed with the\\n * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]\\n * JSON-RPC method as part of EIP-712.\\n *\\n * See {recover}.\\n */\\n function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 data) {\\n /// @solidity memory-safe-assembly\\n assembly {\\n let ptr := mload(0x40)\\n mstore(ptr, \\\"\\\\x19\\\\x01\\\")\\n mstore(add(ptr, 0x02), domainSeparator)\\n mstore(add(ptr, 0x22), structHash)\\n data := keccak256(ptr, 0x42)\\n }\\n }\\n\\n /**\\n * @dev Returns an Ethereum Signed Data with intended validator, created from a\\n * `validator` and `data` according to the version 0 of EIP-191.\\n *\\n * See {recover}.\\n */\\n function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {\\n return keccak256(abi.encodePacked(\\\"\\\\x19\\\\x00\\\", validator, data));\\n }\\n}\\n\",\"keccak256\":\"0x809bc3edb4bcbef8263fa616c1b60ee0004b50a8a1bfa164d8f57fd31f520c58\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/cryptography/EIP712.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/EIP712.sol)\\n\\npragma solidity ^0.8.8;\\n\\nimport \\\"./ECDSA.sol\\\";\\nimport \\\"../ShortStrings.sol\\\";\\nimport \\\"../../interfaces/IERC5267.sol\\\";\\n\\n/**\\n * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.\\n *\\n * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,\\n * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding\\n * they need in their contracts using a combination of `abi.encode` and `keccak256`.\\n *\\n * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding\\n * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA\\n * ({_hashTypedDataV4}).\\n *\\n * The implementation of the domain separator was designed to be as efficient as possible while still properly updating\\n * the chain id to protect against replay attacks on an eventual fork of the chain.\\n *\\n * NOTE: This contract implements the version of the encoding known as \\\"v4\\\", as implemented by the JSON RPC method\\n * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].\\n *\\n * NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain\\n * separator of the implementation contract. This will cause the `_domainSeparatorV4` function to always rebuild the\\n * separator from the immutable values, which is cheaper than accessing a cached version in cold storage.\\n *\\n * _Available since v3.4._\\n *\\n * @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment\\n */\\nabstract contract EIP712 is IERC5267 {\\n using ShortStrings for *;\\n\\n bytes32 private constant _TYPE_HASH =\\n keccak256(\\\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\\\");\\n\\n // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to\\n // invalidate the cached domain separator if the chain id changes.\\n bytes32 private immutable _cachedDomainSeparator;\\n uint256 private immutable _cachedChainId;\\n address private immutable _cachedThis;\\n\\n bytes32 private immutable _hashedName;\\n bytes32 private immutable _hashedVersion;\\n\\n ShortString private immutable _name;\\n ShortString private immutable _version;\\n string private _nameFallback;\\n string private _versionFallback;\\n\\n /**\\n * @dev Initializes the domain separator and parameter caches.\\n *\\n * The meaning of `name` and `version` is specified in\\n * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:\\n *\\n * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.\\n * - `version`: the current major version of the signing domain.\\n *\\n * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart\\n * contract upgrade].\\n */\\n constructor(string memory name, string memory version) {\\n _name = name.toShortStringWithFallback(_nameFallback);\\n _version = version.toShortStringWithFallback(_versionFallback);\\n _hashedName = keccak256(bytes(name));\\n _hashedVersion = keccak256(bytes(version));\\n\\n _cachedChainId = block.chainid;\\n _cachedDomainSeparator = _buildDomainSeparator();\\n _cachedThis = address(this);\\n }\\n\\n /**\\n * @dev Returns the domain separator for the current chain.\\n */\\n function _domainSeparatorV4() internal view returns (bytes32) {\\n if (address(this) == _cachedThis && block.chainid == _cachedChainId) {\\n return _cachedDomainSeparator;\\n } else {\\n return _buildDomainSeparator();\\n }\\n }\\n\\n function _buildDomainSeparator() private view returns (bytes32) {\\n return keccak256(abi.encode(_TYPE_HASH, _hashedName, _hashedVersion, block.chainid, address(this)));\\n }\\n\\n /**\\n * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this\\n * function returns the hash of the fully encoded EIP712 message for this domain.\\n *\\n * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:\\n *\\n * ```solidity\\n * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(\\n * keccak256(\\\"Mail(address to,string contents)\\\"),\\n * mailTo,\\n * keccak256(bytes(mailContents))\\n * )));\\n * address signer = ECDSA.recover(digest, signature);\\n * ```\\n */\\n function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {\\n return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);\\n }\\n\\n /**\\n * @dev See {EIP-5267}.\\n *\\n * _Available since v4.9._\\n */\\n function eip712Domain()\\n public\\n view\\n virtual\\n override\\n returns (\\n bytes1 fields,\\n string memory name,\\n string memory version,\\n uint256 chainId,\\n address verifyingContract,\\n bytes32 salt,\\n uint256[] memory extensions\\n )\\n {\\n return (\\n hex\\\"0f\\\", // 01111\\n _name.toStringWithFallback(_nameFallback),\\n _version.toStringWithFallback(_versionFallback),\\n block.chainid,\\n address(this),\\n bytes32(0),\\n new uint256[](0)\\n );\\n }\\n}\\n\",\"keccak256\":\"0x8432884527a7ad91e6eed1cfc5a0811ae2073e5bca107bd0ca442e9236b03dbd\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Standard math utilities missing in the Solidity language.\\n */\\nlibrary Math {\\n enum Rounding {\\n Down, // Toward negative infinity\\n Up, // Toward infinity\\n Zero // Toward zero\\n }\\n\\n /**\\n * @dev Returns the largest of two numbers.\\n */\\n function max(uint256 a, uint256 b) internal pure returns (uint256) {\\n return a > b ? a : b;\\n }\\n\\n /**\\n * @dev Returns the smallest of two numbers.\\n */\\n function min(uint256 a, uint256 b) internal pure returns (uint256) {\\n return a < b ? a : b;\\n }\\n\\n /**\\n * @dev Returns the average of two numbers. The result is rounded towards\\n * zero.\\n */\\n function average(uint256 a, uint256 b) internal pure returns (uint256) {\\n // (a + b) / 2 can overflow.\\n return (a & b) + (a ^ b) / 2;\\n }\\n\\n /**\\n * @dev Returns the ceiling of the division of two numbers.\\n *\\n * This differs from standard division with `/` in that it rounds up instead\\n * of rounding down.\\n */\\n function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {\\n // (a + b - 1) / b can overflow on addition, so we distribute.\\n return a == 0 ? 0 : (a - 1) / b + 1;\\n }\\n\\n /**\\n * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\\n * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)\\n * with further edits by Uniswap Labs also under MIT license.\\n */\\n function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {\\n unchecked {\\n // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use\\n // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\\n // variables such that product = prod1 * 2^256 + prod0.\\n uint256 prod0; // Least significant 256 bits of the product\\n uint256 prod1; // Most significant 256 bits of the product\\n assembly {\\n let mm := mulmod(x, y, not(0))\\n prod0 := mul(x, y)\\n prod1 := sub(sub(mm, prod0), lt(mm, prod0))\\n }\\n\\n // Handle non-overflow cases, 256 by 256 division.\\n if (prod1 == 0) {\\n // Solidity will revert if denominator == 0, unlike the div opcode on its own.\\n // The surrounding unchecked block does not change this fact.\\n // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.\\n return prod0 / denominator;\\n }\\n\\n // Make sure the result is less than 2^256. Also prevents denominator == 0.\\n require(denominator > prod1, \\\"Math: mulDiv overflow\\\");\\n\\n ///////////////////////////////////////////////\\n // 512 by 256 division.\\n ///////////////////////////////////////////////\\n\\n // Make division exact by subtracting the remainder from [prod1 prod0].\\n uint256 remainder;\\n assembly {\\n // Compute remainder using mulmod.\\n remainder := mulmod(x, y, denominator)\\n\\n // Subtract 256 bit number from 512 bit number.\\n prod1 := sub(prod1, gt(remainder, prod0))\\n prod0 := sub(prod0, remainder)\\n }\\n\\n // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.\\n // See https://cs.stackexchange.com/q/138556/92363.\\n\\n // Does not overflow because the denominator cannot be zero at this stage in the function.\\n uint256 twos = denominator & (~denominator + 1);\\n assembly {\\n // Divide denominator by twos.\\n denominator := div(denominator, twos)\\n\\n // Divide [prod1 prod0] by twos.\\n prod0 := div(prod0, twos)\\n\\n // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.\\n twos := add(div(sub(0, twos), twos), 1)\\n }\\n\\n // Shift in bits from prod1 into prod0.\\n prod0 |= prod1 * twos;\\n\\n // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such\\n // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for\\n // four bits. That is, denominator * inv = 1 mod 2^4.\\n uint256 inverse = (3 * denominator) ^ 2;\\n\\n // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works\\n // in modular arithmetic, doubling the correct bits in each step.\\n inverse *= 2 - denominator * inverse; // inverse mod 2^8\\n inverse *= 2 - denominator * inverse; // inverse mod 2^16\\n inverse *= 2 - denominator * inverse; // inverse mod 2^32\\n inverse *= 2 - denominator * inverse; // inverse mod 2^64\\n inverse *= 2 - denominator * inverse; // inverse mod 2^128\\n inverse *= 2 - denominator * inverse; // inverse mod 2^256\\n\\n // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.\\n // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is\\n // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1\\n // is no longer required.\\n result = prod0 * inverse;\\n return result;\\n }\\n }\\n\\n /**\\n * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.\\n */\\n function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {\\n uint256 result = mulDiv(x, y, denominator);\\n if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {\\n result += 1;\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.\\n *\\n * Inspired by Henry S. Warren, Jr.'s \\\"Hacker's Delight\\\" (Chapter 11).\\n */\\n function sqrt(uint256 a) internal pure returns (uint256) {\\n if (a == 0) {\\n return 0;\\n }\\n\\n // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.\\n //\\n // We know that the \\\"msb\\\" (most significant bit) of our target number `a` is a power of 2 such that we have\\n // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.\\n //\\n // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`\\n // \\u2192 `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`\\n // \\u2192 `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`\\n //\\n // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.\\n uint256 result = 1 << (log2(a) >> 1);\\n\\n // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,\\n // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at\\n // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision\\n // into the expected uint128 result.\\n unchecked {\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n return min(result, a / result);\\n }\\n }\\n\\n /**\\n * @notice Calculates sqrt(a), following the selected rounding direction.\\n */\\n function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {\\n unchecked {\\n uint256 result = sqrt(a);\\n return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);\\n }\\n }\\n\\n /**\\n * @dev Return the log in base 2, rounded down, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log2(uint256 value) internal pure returns (uint256) {\\n uint256 result = 0;\\n unchecked {\\n if (value >> 128 > 0) {\\n value >>= 128;\\n result += 128;\\n }\\n if (value >> 64 > 0) {\\n value >>= 64;\\n result += 64;\\n }\\n if (value >> 32 > 0) {\\n value >>= 32;\\n result += 32;\\n }\\n if (value >> 16 > 0) {\\n value >>= 16;\\n result += 16;\\n }\\n if (value >> 8 > 0) {\\n value >>= 8;\\n result += 8;\\n }\\n if (value >> 4 > 0) {\\n value >>= 4;\\n result += 4;\\n }\\n if (value >> 2 > 0) {\\n value >>= 2;\\n result += 2;\\n }\\n if (value >> 1 > 0) {\\n result += 1;\\n }\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\\n unchecked {\\n uint256 result = log2(value);\\n return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);\\n }\\n }\\n\\n /**\\n * @dev Return the log in base 10, rounded down, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log10(uint256 value) internal pure returns (uint256) {\\n uint256 result = 0;\\n unchecked {\\n if (value >= 10 ** 64) {\\n value /= 10 ** 64;\\n result += 64;\\n }\\n if (value >= 10 ** 32) {\\n value /= 10 ** 32;\\n result += 32;\\n }\\n if (value >= 10 ** 16) {\\n value /= 10 ** 16;\\n result += 16;\\n }\\n if (value >= 10 ** 8) {\\n value /= 10 ** 8;\\n result += 8;\\n }\\n if (value >= 10 ** 4) {\\n value /= 10 ** 4;\\n result += 4;\\n }\\n if (value >= 10 ** 2) {\\n value /= 10 ** 2;\\n result += 2;\\n }\\n if (value >= 10 ** 1) {\\n result += 1;\\n }\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {\\n unchecked {\\n uint256 result = log10(value);\\n return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);\\n }\\n }\\n\\n /**\\n * @dev Return the log in base 256, rounded down, of a positive value.\\n * Returns 0 if given 0.\\n *\\n * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.\\n */\\n function log256(uint256 value) internal pure returns (uint256) {\\n uint256 result = 0;\\n unchecked {\\n if (value >> 128 > 0) {\\n value >>= 128;\\n result += 16;\\n }\\n if (value >> 64 > 0) {\\n value >>= 64;\\n result += 8;\\n }\\n if (value >> 32 > 0) {\\n value >>= 32;\\n result += 4;\\n }\\n if (value >> 16 > 0) {\\n value >>= 16;\\n result += 2;\\n }\\n if (value >> 8 > 0) {\\n result += 1;\\n }\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Return the log in base 256, following the selected rounding direction, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\\n unchecked {\\n uint256 result = log256(value);\\n return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);\\n }\\n }\\n}\\n\",\"keccak256\":\"0xe4455ac1eb7fc497bb7402579e7b4d64d928b846fce7d2b6fde06d366f21c2b3\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/math/SignedMath.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Standard signed math utilities missing in the Solidity language.\\n */\\nlibrary SignedMath {\\n /**\\n * @dev Returns the largest of two signed numbers.\\n */\\n function max(int256 a, int256 b) internal pure returns (int256) {\\n return a > b ? a : b;\\n }\\n\\n /**\\n * @dev Returns the smallest of two signed numbers.\\n */\\n function min(int256 a, int256 b) internal pure returns (int256) {\\n return a < b ? a : b;\\n }\\n\\n /**\\n * @dev Returns the average of two signed numbers without overflow.\\n * The result is rounded towards zero.\\n */\\n function average(int256 a, int256 b) internal pure returns (int256) {\\n // Formula from the book \\\"Hacker's Delight\\\"\\n int256 x = (a & b) + ((a ^ b) >> 1);\\n return x + (int256(uint256(x) >> 255) & (a ^ b));\\n }\\n\\n /**\\n * @dev Returns the absolute unsigned value of a signed value.\\n */\\n function abs(int256 n) internal pure returns (uint256) {\\n unchecked {\\n // must be unchecked in order to support `n = type(int256).min`\\n return uint256(n >= 0 ? n : -n);\\n }\\n }\\n}\\n\",\"keccak256\":\"0xf92515413956f529d95977adc9b0567d583c6203fc31ab1c23824c35187e3ddc\",\"license\":\"MIT\"},\"contracts/Common.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\n// A representation of an empty/uninitialized UID.\\nbytes32 constant EMPTY_UID = 0;\\n\\n// A zero expiration represents an non-expiring attestation.\\nuint64 constant NO_EXPIRATION_TIME = 0;\\n\\nerror AccessDenied();\\nerror DeadlineExpired();\\nerror InvalidEAS();\\nerror InvalidLength();\\nerror InvalidSignature();\\nerror NotFound();\\n\\n/// @notice A struct representing ECDSA signature data.\\nstruct Signature {\\n uint8 v; // The recovery ID.\\n bytes32 r; // The x-coordinate of the nonce R.\\n bytes32 s; // The signature data.\\n}\\n\\n/// @notice A struct representing a single attestation.\\nstruct Attestation {\\n bytes32 uid; // A unique identifier of the attestation.\\n bytes32 schema; // The unique identifier of the schema.\\n uint64 time; // The time when the attestation was created (Unix timestamp).\\n uint64 expirationTime; // The time when the attestation expires (Unix timestamp).\\n uint64 revocationTime; // The time when the attestation was revoked (Unix timestamp).\\n bytes32 refUID; // The UID of the related attestation.\\n address recipient; // The recipient of the attestation.\\n address attester; // The attester/sender of the attestation.\\n bool revocable; // Whether the attestation is revocable.\\n bytes data; // Custom attestation data.\\n}\\n\\n/// @notice A helper function to work with unchecked iterators in loops.\\nfunction uncheckedInc(uint256 i) pure returns (uint256 j) {\\n unchecked {\\n j = i + 1;\\n }\\n}\\n\",\"keccak256\":\"0x957bd2e6d0d6d637f86208b135c29fbaf4412cb08e5e7a61ede16b80561bf685\",\"license\":\"MIT\"},\"contracts/IEAS.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport { ISchemaRegistry } from \\\"./ISchemaRegistry.sol\\\";\\nimport { Attestation, Signature } from \\\"./Common.sol\\\";\\n\\n/// @notice A struct representing the arguments of the attestation request.\\nstruct AttestationRequestData {\\n address recipient; // The recipient of the attestation.\\n uint64 expirationTime; // The time when the attestation expires (Unix timestamp).\\n bool revocable; // Whether the attestation is revocable.\\n bytes32 refUID; // The UID of the related attestation.\\n bytes data; // Custom attestation data.\\n uint256 value; // An explicit ETH amount to send to the resolver. This is important to prevent accidental user errors.\\n}\\n\\n/// @notice A struct representing the full arguments of the attestation request.\\nstruct AttestationRequest {\\n bytes32 schema; // The unique identifier of the schema.\\n AttestationRequestData data; // The arguments of the attestation request.\\n}\\n\\n/// @notice A struct representing the full arguments of the full delegated attestation request.\\nstruct DelegatedAttestationRequest {\\n bytes32 schema; // The unique identifier of the schema.\\n AttestationRequestData data; // The arguments of the attestation request.\\n Signature signature; // The ECDSA signature data.\\n address attester; // The attesting account.\\n uint64 deadline; // The deadline of the signature/request.\\n}\\n\\n/// @notice A struct representing the full arguments of the multi attestation request.\\nstruct MultiAttestationRequest {\\n bytes32 schema; // The unique identifier of the schema.\\n AttestationRequestData[] data; // The arguments of the attestation request.\\n}\\n\\n/// @notice A struct representing the full arguments of the delegated multi attestation request.\\nstruct MultiDelegatedAttestationRequest {\\n bytes32 schema; // The unique identifier of the schema.\\n AttestationRequestData[] data; // The arguments of the attestation requests.\\n Signature[] signatures; // The ECDSA signatures data. Please note that the signatures are assumed to be signed with increasing nonces.\\n address attester; // The attesting account.\\n uint64 deadline; // The deadline of the signature/request.\\n}\\n\\n/// @notice A struct representing the arguments of the revocation request.\\nstruct RevocationRequestData {\\n bytes32 uid; // The UID of the attestation to revoke.\\n uint256 value; // An explicit ETH amount to send to the resolver. This is important to prevent accidental user errors.\\n}\\n\\n/// @notice A struct representing the full arguments of the revocation request.\\nstruct RevocationRequest {\\n bytes32 schema; // The unique identifier of the schema.\\n RevocationRequestData data; // The arguments of the revocation request.\\n}\\n\\n/// @notice A struct representing the arguments of the full delegated revocation request.\\nstruct DelegatedRevocationRequest {\\n bytes32 schema; // The unique identifier of the schema.\\n RevocationRequestData data; // The arguments of the revocation request.\\n Signature signature; // The ECDSA signature data.\\n address revoker; // The revoking account.\\n uint64 deadline; // The deadline of the signature/request.\\n}\\n\\n/// @notice A struct representing the full arguments of the multi revocation request.\\nstruct MultiRevocationRequest {\\n bytes32 schema; // The unique identifier of the schema.\\n RevocationRequestData[] data; // The arguments of the revocation request.\\n}\\n\\n/// @notice A struct representing the full arguments of the delegated multi revocation request.\\nstruct MultiDelegatedRevocationRequest {\\n bytes32 schema; // The unique identifier of the schema.\\n RevocationRequestData[] data; // The arguments of the revocation requests.\\n Signature[] signatures; // The ECDSA signatures data. Please note that the signatures are assumed to be signed with increasing nonces.\\n address revoker; // The revoking account.\\n uint64 deadline; // The deadline of the signature/request.\\n}\\n\\n/// @title IEAS\\n/// @notice EAS - Ethereum Attestation Service interface.\\ninterface IEAS {\\n /// @notice Emitted when an attestation has been made.\\n /// @param recipient The recipient of the attestation.\\n /// @param attester The attesting account.\\n /// @param uid The UID the revoked attestation.\\n /// @param schemaUID The UID of the schema.\\n event Attested(address indexed recipient, address indexed attester, bytes32 uid, bytes32 indexed schemaUID);\\n\\n /// @notice Emitted when an attestation has been revoked.\\n /// @param recipient The recipient of the attestation.\\n /// @param attester The attesting account.\\n /// @param schemaUID The UID of the schema.\\n /// @param uid The UID the revoked attestation.\\n event Revoked(address indexed recipient, address indexed attester, bytes32 uid, bytes32 indexed schemaUID);\\n\\n /// @notice Emitted when a data has been timestamped.\\n /// @param data The data.\\n /// @param timestamp The timestamp.\\n event Timestamped(bytes32 indexed data, uint64 indexed timestamp);\\n\\n /// @notice Emitted when a data has been revoked.\\n /// @param revoker The address of the revoker.\\n /// @param data The data.\\n /// @param timestamp The timestamp.\\n event RevokedOffchain(address indexed revoker, bytes32 indexed data, uint64 indexed timestamp);\\n\\n /// @notice Returns the address of the global schema registry.\\n /// @return The address of the global schema registry.\\n function getSchemaRegistry() external view returns (ISchemaRegistry);\\n\\n /// @notice Attests to a specific schema.\\n /// @param request The arguments of the attestation request.\\n /// @return The UID of the new attestation.\\n ///\\n /// Example:\\n /// attest({\\n /// schema: \\\"0facc36681cbe2456019c1b0d1e7bedd6d1d40f6f324bf3dd3a4cef2999200a0\\\",\\n /// data: {\\n /// recipient: \\\"0xdEADBeAFdeAdbEafdeadbeafDeAdbEAFdeadbeaf\\\",\\n /// expirationTime: 0,\\n /// revocable: true,\\n /// refUID: \\\"0x0000000000000000000000000000000000000000000000000000000000000000\\\",\\n /// data: \\\"0xF00D\\\",\\n /// value: 0\\n /// }\\n /// })\\n function attest(AttestationRequest calldata request) external payable returns (bytes32);\\n\\n /// @notice Attests to a specific schema via the provided ECDSA signature.\\n /// @param delegatedRequest The arguments of the delegated attestation request.\\n /// @return The UID of the new attestation.\\n ///\\n /// Example:\\n /// attestByDelegation({\\n /// schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc',\\n /// data: {\\n /// recipient: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266',\\n /// expirationTime: 1673891048,\\n /// revocable: true,\\n /// refUID: '0x0000000000000000000000000000000000000000000000000000000000000000',\\n /// data: '0x1234',\\n /// value: 0\\n /// },\\n /// signature: {\\n /// v: 28,\\n /// r: '0x148c...b25b',\\n /// s: '0x5a72...be22'\\n /// },\\n /// attester: '0xc5E8740aD971409492b1A63Db8d83025e0Fc427e',\\n /// deadline: 1673891048\\n /// })\\n function attestByDelegation(\\n DelegatedAttestationRequest calldata delegatedRequest\\n ) external payable returns (bytes32);\\n\\n /// @notice Attests to multiple schemas.\\n /// @param multiRequests The arguments of the multi attestation requests. The requests should be grouped by distinct\\n /// schema ids to benefit from the best batching optimization.\\n /// @return The UIDs of the new attestations.\\n ///\\n /// Example:\\n /// multiAttest([{\\n /// schema: '0x33e9094830a5cba5554d1954310e4fbed2ef5f859ec1404619adea4207f391fd',\\n /// data: [{\\n /// recipient: '0xdEADBeAFdeAdbEafdeadbeafDeAdbEAFdeadbeaf',\\n /// expirationTime: 1673891048,\\n /// revocable: true,\\n /// refUID: '0x0000000000000000000000000000000000000000000000000000000000000000',\\n /// data: '0x1234',\\n /// value: 1000\\n /// },\\n /// {\\n /// recipient: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266',\\n /// expirationTime: 0,\\n /// revocable: false,\\n /// refUID: '0x480df4a039efc31b11bfdf491b383ca138b6bde160988222a2a3509c02cee174',\\n /// data: '0x00',\\n /// value: 0\\n /// }],\\n /// },\\n /// {\\n /// schema: '0x5ac273ce41e3c8bfa383efe7c03e54c5f0bff29c9f11ef6ffa930fc84ca32425',\\n /// data: [{\\n /// recipient: '0xdEADBeAFdeAdbEafdeadbeafDeAdbEAFdeadbeaf',\\n /// expirationTime: 0,\\n /// revocable: true,\\n /// refUID: '0x75bf2ed8dca25a8190c50c52db136664de25b2449535839008ccfdab469b214f',\\n /// data: '0x12345678',\\n /// value: 0\\n /// },\\n /// }])\\n function multiAttest(MultiAttestationRequest[] calldata multiRequests) external payable returns (bytes32[] memory);\\n\\n /// @notice Attests to multiple schemas using via provided ECDSA signatures.\\n /// @param multiDelegatedRequests The arguments of the delegated multi attestation requests. The requests should be\\n /// grouped by distinct schema ids to benefit from the best batching optimization.\\n /// @return The UIDs of the new attestations.\\n ///\\n /// Example:\\n /// multiAttestByDelegation([{\\n /// schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc',\\n /// data: [{\\n /// recipient: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266',\\n /// expirationTime: 1673891048,\\n /// revocable: true,\\n /// refUID: '0x0000000000000000000000000000000000000000000000000000000000000000',\\n /// data: '0x1234',\\n /// value: 0\\n /// },\\n /// {\\n /// recipient: '0xdEADBeAFdeAdbEafdeadbeafDeAdbEAFdeadbeaf',\\n /// expirationTime: 0,\\n /// revocable: false,\\n /// refUID: '0x0000000000000000000000000000000000000000000000000000000000000000',\\n /// data: '0x00',\\n /// value: 0\\n /// }],\\n /// signatures: [{\\n /// v: 28,\\n /// r: '0x148c...b25b',\\n /// s: '0x5a72...be22'\\n /// },\\n /// {\\n /// v: 28,\\n /// r: '0x487s...67bb',\\n /// s: '0x12ad...2366'\\n /// }],\\n /// attester: '0x1D86495b2A7B524D747d2839b3C645Bed32e8CF4',\\n /// deadline: 1673891048\\n /// }])\\n function multiAttestByDelegation(\\n MultiDelegatedAttestationRequest[] calldata multiDelegatedRequests\\n ) external payable returns (bytes32[] memory);\\n\\n /// @notice Revokes an existing attestation to a specific schema.\\n /// @param request The arguments of the revocation request.\\n ///\\n /// Example:\\n /// revoke({\\n /// schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc',\\n /// data: {\\n /// uid: '0x101032e487642ee04ee17049f99a70590c735b8614079fc9275f9dd57c00966d',\\n /// value: 0\\n /// }\\n /// })\\n function revoke(RevocationRequest calldata request) external payable;\\n\\n /// @notice Revokes an existing attestation to a specific schema via the provided ECDSA signature.\\n /// @param delegatedRequest The arguments of the delegated revocation request.\\n ///\\n /// Example:\\n /// revokeByDelegation({\\n /// schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc',\\n /// data: {\\n /// uid: '0xcbbc12102578c642a0f7b34fe7111e41afa25683b6cd7b5a14caf90fa14d24ba',\\n /// value: 0\\n /// },\\n /// signature: {\\n /// v: 27,\\n /// r: '0xb593...7142',\\n /// s: '0x0f5b...2cce'\\n /// },\\n /// revoker: '0x244934dd3e31bE2c81f84ECf0b3E6329F5381992',\\n /// deadline: 1673891048\\n /// })\\n function revokeByDelegation(DelegatedRevocationRequest calldata delegatedRequest) external payable;\\n\\n /// @notice Revokes existing attestations to multiple schemas.\\n /// @param multiRequests The arguments of the multi revocation requests. The requests should be grouped by distinct\\n /// schema ids to benefit from the best batching optimization.\\n ///\\n /// Example:\\n /// multiRevoke([{\\n /// schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc',\\n /// data: [{\\n /// uid: '0x211296a1ca0d7f9f2cfebf0daaa575bea9b20e968d81aef4e743d699c6ac4b25',\\n /// value: 1000\\n /// },\\n /// {\\n /// uid: '0xe160ac1bd3606a287b4d53d5d1d6da5895f65b4b4bab6d93aaf5046e48167ade',\\n /// value: 0\\n /// }],\\n /// },\\n /// {\\n /// schema: '0x5ac273ce41e3c8bfa383efe7c03e54c5f0bff29c9f11ef6ffa930fc84ca32425',\\n /// data: [{\\n /// uid: '0x053d42abce1fd7c8fcddfae21845ad34dae287b2c326220b03ba241bc5a8f019',\\n /// value: 0\\n /// },\\n /// }])\\n function multiRevoke(MultiRevocationRequest[] calldata multiRequests) external payable;\\n\\n /// @notice Revokes existing attestations to multiple schemas via provided ECDSA signatures.\\n /// @param multiDelegatedRequests The arguments of the delegated multi revocation attestation requests. The requests\\n /// should be grouped by distinct schema ids to benefit from the best batching optimization.\\n ///\\n /// Example:\\n /// multiRevokeByDelegation([{\\n /// schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc',\\n /// data: [{\\n /// uid: '0x211296a1ca0d7f9f2cfebf0daaa575bea9b20e968d81aef4e743d699c6ac4b25',\\n /// value: 1000\\n /// },\\n /// {\\n /// uid: '0xe160ac1bd3606a287b4d53d5d1d6da5895f65b4b4bab6d93aaf5046e48167ade',\\n /// value: 0\\n /// }],\\n /// signatures: [{\\n /// v: 28,\\n /// r: '0x148c...b25b',\\n /// s: '0x5a72...be22'\\n /// },\\n /// {\\n /// v: 28,\\n /// r: '0x487s...67bb',\\n /// s: '0x12ad...2366'\\n /// }],\\n /// revoker: '0x244934dd3e31bE2c81f84ECf0b3E6329F5381992',\\n /// deadline: 1673891048\\n /// }])\\n function multiRevokeByDelegation(\\n MultiDelegatedRevocationRequest[] calldata multiDelegatedRequests\\n ) external payable;\\n\\n /// @notice Timestamps the specified bytes32 data.\\n /// @param data The data to timestamp.\\n /// @return The timestamp the data was timestamped with.\\n function timestamp(bytes32 data) external returns (uint64);\\n\\n /// @notice Timestamps the specified multiple bytes32 data.\\n /// @param data The data to timestamp.\\n /// @return The timestamp the data was timestamped with.\\n function multiTimestamp(bytes32[] calldata data) external returns (uint64);\\n\\n /// @notice Revokes the specified bytes32 data.\\n /// @param data The data to timestamp.\\n /// @return The timestamp the data was revoked with.\\n function revokeOffchain(bytes32 data) external returns (uint64);\\n\\n /// @notice Revokes the specified multiple bytes32 data.\\n /// @param data The data to timestamp.\\n /// @return The timestamp the data was revoked with.\\n function multiRevokeOffchain(bytes32[] calldata data) external returns (uint64);\\n\\n /// @notice Returns an existing attestation by UID.\\n /// @param uid The UID of the attestation to retrieve.\\n /// @return The attestation data members.\\n function getAttestation(bytes32 uid) external view returns (Attestation memory);\\n\\n /// @notice Checks whether an attestation exists.\\n /// @param uid The UID of the attestation to retrieve.\\n /// @return Whether an attestation exists.\\n function isAttestationValid(bytes32 uid) external view returns (bool);\\n\\n /// @notice Returns the timestamp that the specified data was timestamped with.\\n /// @param data The data to query.\\n /// @return The timestamp the data was timestamped with.\\n function getTimestamp(bytes32 data) external view returns (uint64);\\n\\n /// @notice Returns the timestamp that the specified data was timestamped with.\\n /// @param data The data to query.\\n /// @return The timestamp the data was timestamped with.\\n function getRevokeOffchain(address revoker, bytes32 data) external view returns (uint64);\\n}\\n\",\"keccak256\":\"0xd5a192f0bcee5372b69b0bb746c26317a2691dd10bfa52adbd08a9b723a55036\",\"license\":\"MIT\"},\"contracts/ISchemaRegistry.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport { ISchemaResolver } from \\\"./resolver/ISchemaResolver.sol\\\";\\n\\n/// @notice A struct representing a record for a submitted schema.\\nstruct SchemaRecord {\\n bytes32 uid; // The unique identifier of the schema.\\n ISchemaResolver resolver; // Optional schema resolver.\\n bool revocable; // Whether the schema allows revocations explicitly.\\n string schema; // Custom specification of the schema (e.g., an ABI).\\n}\\n\\n/// @title ISchemaRegistry\\n/// @notice The interface of global attestation schemas for the Ethereum Attestation Service protocol.\\ninterface ISchemaRegistry {\\n /// @notice Emitted when a new schema has been registered\\n /// @param uid The schema UID.\\n /// @param registerer The address of the account used to register the schema.\\n /// @param schema The schema data.\\n event Registered(bytes32 indexed uid, address indexed registerer, SchemaRecord schema);\\n\\n /// @notice Submits and reserves a new schema\\n /// @param schema The schema data schema.\\n /// @param resolver An optional schema resolver.\\n /// @param revocable Whether the schema allows revocations explicitly.\\n /// @return The UID of the new schema.\\n function register(string calldata schema, ISchemaResolver resolver, bool revocable) external returns (bytes32);\\n\\n /// @notice Returns an existing schema by UID\\n /// @param uid The UID of the schema to retrieve.\\n /// @return The schema data members.\\n function getSchema(bytes32 uid) external view returns (SchemaRecord memory);\\n}\\n\",\"keccak256\":\"0x772b1ebcf3e5c93fecb53762e11bbdae75fcb667deea4ac21134fccfe78326e4\",\"license\":\"MIT\"},\"contracts/Semver.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.4;\\n\\nimport { Strings } from \\\"@openzeppelin/contracts/utils/Strings.sol\\\";\\n\\n/// @title Semver\\n/// @notice A simple contract for managing contract versions.\\ncontract Semver {\\n // Contract's major version number.\\n uint256 private immutable _major;\\n\\n // Contract's minor version number.\\n uint256 private immutable _minor;\\n\\n // Contract's patch version number.\\n uint256 private immutable _path;\\n\\n /// @dev Create a new Semver instance.\\n /// @param major Major version number.\\n /// @param minor Minor version number.\\n /// @param patch Patch version number.\\n constructor(uint256 major, uint256 minor, uint256 patch) {\\n _major = major;\\n _minor = minor;\\n _path = patch;\\n }\\n\\n /// @notice Returns the full semver contract version.\\n /// @return Semver contract version as a string.\\n function version() external view returns (string memory) {\\n return\\n string(\\n abi.encodePacked(Strings.toString(_major), \\\".\\\", Strings.toString(_minor), \\\".\\\", Strings.toString(_path))\\n );\\n }\\n}\\n\",\"keccak256\":\"0x5883c852730b00d73b10475f3b382afce8f30b89f337078ec03a66c463e048a8\",\"license\":\"MIT\"},\"contracts/eip712/proxy/EIP712Proxy.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity 0.8.19;\\n\\nimport { EIP712 } from \\\"@openzeppelin/contracts/utils/cryptography/EIP712.sol\\\";\\nimport { ECDSA } from \\\"@openzeppelin/contracts/utils/cryptography/ECDSA.sol\\\";\\n\\n// prettier-ignore\\nimport {\\n AccessDenied,\\n DeadlineExpired,\\n Signature,\\n InvalidEAS,\\n InvalidLength,\\n InvalidSignature,\\n NotFound,\\n NO_EXPIRATION_TIME,\\n uncheckedInc\\n} from \\\"../../Common.sol\\\";\\n\\n// prettier-ignore\\nimport {\\n AttestationRequest,\\n AttestationRequestData,\\n DelegatedAttestationRequest,\\n DelegatedRevocationRequest,\\n IEAS,\\n MultiAttestationRequest,\\n MultiDelegatedAttestationRequest,\\n MultiDelegatedRevocationRequest,\\n MultiRevocationRequest,\\n RevocationRequest,\\n RevocationRequestData\\n} from \\\"../../IEAS.sol\\\";\\n\\nimport { Semver } from \\\"../../Semver.sol\\\";\\n\\n/// @notice A struct representing the full arguments of the full delegated attestation request.\\nstruct DelegatedProxyAttestationRequest {\\n bytes32 schema; // The unique identifier of the schema.\\n AttestationRequestData data; // The arguments of the attestation request.\\n Signature signature; // The EIP712 signature data.\\n address attester; // The attesting account.\\n uint64 deadline; // The deadline of the signature/request.\\n}\\n\\n/// @notice A struct representing the full arguments of the delegated multi attestation request.\\nstruct MultiDelegatedProxyAttestationRequest {\\n bytes32 schema; // The unique identifier of the schema.\\n AttestationRequestData[] data; // The arguments of the attestation requests.\\n Signature[] signatures; // The EIP712 signatures data. Please note that the signatures are assumed to be signed with increasing nonces.\\n address attester; // The attesting account.\\n uint64 deadline; // The deadline of the signature/request.\\n}\\n\\n/// @notice A struct representing the arguments of the full delegated revocation request.\\nstruct DelegatedProxyRevocationRequest {\\n bytes32 schema; // The unique identifier of the schema.\\n RevocationRequestData data; // The arguments of the revocation request.\\n Signature signature; // The EIP712 signature data.\\n address revoker; // The revoking account.\\n uint64 deadline; // The deadline of the signature/request.\\n}\\n\\n/// @notice A struct representing the full arguments of the delegated multi revocation request.\\nstruct MultiDelegatedProxyRevocationRequest {\\n bytes32 schema; // The unique identifier of the schema.\\n RevocationRequestData[] data; // The arguments of the revocation requests.\\n Signature[] signatures; // The EIP712 signatures data. Please note that the signatures are assumed to be signed with increasing nonces.\\n address revoker; // The revoking account.\\n uint64 deadline; // The deadline of the signature/request.\\n}\\n\\n/// @title EIP712Proxy\\n/// @notice This utility contract an be used to aggregate delegated attestations without requiring a specific order via\\n/// nonces. The contract doesn't request nonces and implements replay protection by storing ***immalleable***\\n/// signatures.\\ncontract EIP712Proxy is Semver, EIP712 {\\n error UsedSignature();\\n\\n // The hash of the data type used to relay calls to the attest function. It's the value of\\n // keccak256(\\\"Attest(bytes32 schema,address recipient,uint64 expirationTime,bool revocable,bytes32 refUID,bytes data,uint256 value,uint64 deadline)\\\").\\n bytes32 private constant ATTEST_PROXY_TYPEHASH = 0x9d3e80e7032dc16815a5f67aa94e851240ae3b24eed13a7431bdac738f814567;\\n\\n // The hash of the data type used to relay calls to the revoke function. It's the value of\\n // keccak256(\\\"Revoke(bytes32 schema,bytes32 uid,uint256 value,uint64 deadline)\\\").\\n bytes32 private constant REVOKE_PROXY_TYPEHASH = 0xd4e76f924411647a916bb4ae4631b3cf45c44e2da56ed1c63edb18ebc97ba5e4;\\n\\n // The global EAS contract.\\n IEAS private immutable _eas;\\n\\n // The user readable name of the signing domain.\\n string private _name;\\n\\n // The global mapping between proxy attestations and their attesters, so that we can verify that only the original\\n // attester is able to revert attestations by proxy.\\n mapping(bytes32 uid => address attester) private _attesters;\\n\\n // Replay protection signatures.\\n mapping(bytes signature => bool used) private _signatures;\\n\\n /// @dev Creates a new EIP1271Verifier instance.\\n /// @param eas The address of the global EAS contract.\\n /// @param name The user readable name of the signing domain.\\n constructor(IEAS eas, string memory name) Semver(1, 2, 0) EIP712(name, \\\"1.2.0\\\") {\\n if (address(eas) == address(0)) {\\n revert InvalidEAS();\\n }\\n\\n _eas = eas;\\n _name = name;\\n }\\n\\n /// @notice Returns the EAS.\\n function getEAS() external view returns (IEAS) {\\n return _eas;\\n }\\n\\n /// @notice Returns the domain separator used in the encoding of the signatures for attest, and revoke.\\n function getDomainSeparator() external view returns (bytes32) {\\n return _domainSeparatorV4();\\n }\\n\\n /// Returns the EIP712 type hash for the attest function.\\n function getAttestTypeHash() external pure returns (bytes32) {\\n return ATTEST_PROXY_TYPEHASH;\\n }\\n\\n /// Returns the EIP712 type hash for the revoke function.\\n function getRevokeTypeHash() external pure returns (bytes32) {\\n return REVOKE_PROXY_TYPEHASH;\\n }\\n\\n /// Returns the EIP712 name.\\n function getName() external view returns (string memory) {\\n return _name;\\n }\\n\\n /// Returns the attester for a given uid.\\n function getAttester(bytes32 uid) external view returns (address) {\\n return _attesters[uid];\\n }\\n\\n /// @notice Attests to a specific schema via the provided EIP712 signature.\\n /// @param delegatedRequest The arguments of the delegated attestation request.\\n /// @return The UID of the new attestation.\\n ///\\n /// Example:\\n /// attestByDelegation({\\n /// schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc',\\n /// data: {\\n /// recipient: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266',\\n /// expirationTime: 1673891048,\\n /// revocable: true,\\n /// refUID: '0x0000000000000000000000000000000000000000000000000000000000000000',\\n /// data: '0x1234',\\n /// value: 0\\n /// },\\n /// signature: {\\n /// v: 28,\\n /// r: '0x148c...b25b',\\n /// s: '0x5a72...be22'\\n /// },\\n /// attester: '0xc5E8740aD971409492b1A63Db8d83025e0Fc427e',\\n /// deadline: 1673891048\\n /// })\\n function attestByDelegation(\\n DelegatedProxyAttestationRequest calldata delegatedRequest\\n ) public payable virtual returns (bytes32) {\\n _verifyAttest(delegatedRequest);\\n\\n bytes32 uid = _eas.attest{ value: msg.value }(\\n AttestationRequest({ schema: delegatedRequest.schema, data: delegatedRequest.data })\\n );\\n\\n _attesters[uid] = delegatedRequest.attester;\\n\\n return uid;\\n }\\n\\n /// @notice Attests to multiple schemas using via provided EIP712 signatures.\\n /// @param multiDelegatedRequests The arguments of the delegated multi attestation requests. The requests should be\\n /// grouped by distinct schema ids to benefit from the best batching optimization.\\n /// @return The UIDs of the new attestations.\\n ///\\n /// Example:\\n /// multiAttestByDelegation([{\\n /// schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc',\\n /// data: [{\\n /// recipient: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266',\\n /// expirationTime: 1673891048,\\n /// revocable: true,\\n /// refUID: '0x0000000000000000000000000000000000000000000000000000000000000000',\\n /// data: '0x1234',\\n /// value: 0\\n /// },\\n /// {\\n /// recipient: '0xdEADBeAFdeAdbEafdeadbeafDeAdbEAFdeadbeaf',\\n /// expirationTime: 0,\\n /// revocable: false,\\n /// refUID: '0x0000000000000000000000000000000000000000000000000000000000000000',\\n /// data: '0x00',\\n /// value: 0\\n /// }],\\n /// signatures: [{\\n /// v: 28,\\n /// r: '0x148c...b25b',\\n /// s: '0x5a72...be22'\\n /// },\\n /// {\\n /// v: 28,\\n /// r: '0x487s...67bb',\\n /// s: '0x12ad...2366'\\n /// }],\\n /// attester: '0x1D86495b2A7B524D747d2839b3C645Bed32e8CF4',\\n /// deadline: 1673891048\\n /// }])\\n function multiAttestByDelegation(\\n MultiDelegatedProxyAttestationRequest[] calldata multiDelegatedRequests\\n ) public payable virtual returns (bytes32[] memory) {\\n uint256 length = multiDelegatedRequests.length;\\n MultiAttestationRequest[] memory multiRequests = new MultiAttestationRequest[](length);\\n\\n for (uint256 i = 0; i < length; i = uncheckedInc(i)) {\\n MultiDelegatedProxyAttestationRequest calldata multiDelegatedRequest = multiDelegatedRequests[i];\\n AttestationRequestData[] calldata data = multiDelegatedRequest.data;\\n\\n // Ensure that no inputs are missing.\\n uint256 dataLength = data.length;\\n if (dataLength == 0 || dataLength != multiDelegatedRequest.signatures.length) {\\n revert InvalidLength();\\n }\\n\\n // Verify EIP712 signatures. Please note that the signatures are assumed to be signed with increasing nonces.\\n for (uint256 j = 0; j < dataLength; j = uncheckedInc(j)) {\\n _verifyAttest(\\n DelegatedProxyAttestationRequest({\\n schema: multiDelegatedRequest.schema,\\n data: data[j],\\n signature: multiDelegatedRequest.signatures[j],\\n attester: multiDelegatedRequest.attester,\\n deadline: multiDelegatedRequest.deadline\\n })\\n );\\n }\\n\\n multiRequests[i] = MultiAttestationRequest({ schema: multiDelegatedRequest.schema, data: data });\\n }\\n\\n bytes32[] memory uids = _eas.multiAttest{ value: msg.value }(multiRequests);\\n\\n // Store all attesters, according to the order of the attestation requests.\\n uint256 uidCounter = 0;\\n\\n for (uint256 i = 0; i < length; i = uncheckedInc(i)) {\\n MultiDelegatedProxyAttestationRequest calldata multiDelegatedRequest = multiDelegatedRequests[i];\\n AttestationRequestData[] calldata data = multiDelegatedRequest.data;\\n\\n uint256 dataLength = data.length;\\n for (uint256 j = 0; j < dataLength; j = uncheckedInc(j)) {\\n _attesters[uids[uidCounter]] = multiDelegatedRequest.attester;\\n\\n unchecked {\\n ++uidCounter;\\n }\\n }\\n }\\n\\n return uids;\\n }\\n\\n /// @notice Revokes an existing attestation to a specific schema via the provided EIP712 signature.\\n /// @param delegatedRequest The arguments of the delegated revocation request.\\n ///\\n /// Example:\\n /// revokeByDelegation({\\n /// schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc',\\n /// data: {\\n /// uid: '0xcbbc12102578c642a0f7b34fe7111e41afa25683b6cd7b5a14caf90fa14d24ba',\\n /// value: 0\\n /// },\\n /// signature: {\\n /// v: 27,\\n /// r: '0xb593...7142',\\n /// s: '0x0f5b...2cce'\\n /// },\\n /// revoker: '0x244934dd3e31bE2c81f84ECf0b3E6329F5381992',\\n /// deadline: 1673891048\\n /// })\\n function revokeByDelegation(DelegatedProxyRevocationRequest calldata delegatedRequest) public payable virtual {\\n _verifyRevoke(delegatedRequest);\\n\\n return\\n _eas.revoke{ value: msg.value }(\\n RevocationRequest({ schema: delegatedRequest.schema, data: delegatedRequest.data })\\n );\\n }\\n\\n /// @notice Revokes existing attestations to multiple schemas via provided EIP712 signatures.\\n /// @param multiDelegatedRequests The arguments of the delegated multi revocation attestation requests. The requests\\n /// should be grouped by distinct schema ids to benefit from the best batching optimization.\\n ///\\n /// Example:\\n /// multiRevokeByDelegation([{\\n /// schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc',\\n /// data: [{\\n /// uid: '0x211296a1ca0d7f9f2cfebf0daaa575bea9b20e968d81aef4e743d699c6ac4b25',\\n /// value: 1000\\n /// },\\n /// {\\n /// uid: '0xe160ac1bd3606a287b4d53d5d1d6da5895f65b4b4bab6d93aaf5046e48167ade',\\n /// value: 0\\n /// }],\\n /// signatures: [{\\n /// v: 28,\\n /// r: '0x148c...b25b',\\n /// s: '0x5a72...be22'\\n /// },\\n /// {\\n /// v: 28,\\n /// r: '0x487s...67bb',\\n /// s: '0x12ad...2366'\\n /// }],\\n /// revoker: '0x244934dd3e31bE2c81f84ECf0b3E6329F5381992',\\n /// deadline: 1673891048\\n /// }])\\n function multiRevokeByDelegation(\\n MultiDelegatedProxyRevocationRequest[] calldata multiDelegatedRequests\\n ) public payable virtual {\\n uint256 length = multiDelegatedRequests.length;\\n MultiRevocationRequest[] memory multiRequests = new MultiRevocationRequest[](length);\\n\\n for (uint256 i = 0; i < length; i = uncheckedInc(i)) {\\n MultiDelegatedProxyRevocationRequest memory multiDelegatedRequest = multiDelegatedRequests[i];\\n RevocationRequestData[] memory data = multiDelegatedRequest.data;\\n\\n // Ensure that no inputs are missing.\\n uint256 dataLength = data.length;\\n if (dataLength == 0 || dataLength != multiDelegatedRequest.signatures.length) {\\n revert InvalidLength();\\n }\\n\\n // Verify EIP712 signatures. Please note that the signatures are assumed to be signed with increasing nonces.\\n for (uint256 j = 0; j < dataLength; j = uncheckedInc(j)) {\\n RevocationRequestData memory requestData = data[j];\\n\\n _verifyRevoke(\\n DelegatedProxyRevocationRequest({\\n schema: multiDelegatedRequest.schema,\\n data: requestData,\\n signature: multiDelegatedRequest.signatures[j],\\n revoker: multiDelegatedRequest.revoker,\\n deadline: multiDelegatedRequest.deadline\\n })\\n );\\n }\\n\\n multiRequests[i] = MultiRevocationRequest({ schema: multiDelegatedRequest.schema, data: data });\\n }\\n\\n _eas.multiRevoke{ value: msg.value }(multiRequests);\\n }\\n\\n /// @dev Verifies delegated attestation request.\\n /// @param request The arguments of the delegated attestation request.\\n function _verifyAttest(DelegatedProxyAttestationRequest memory request) internal {\\n if (request.deadline != NO_EXPIRATION_TIME && request.deadline < _time()) {\\n revert DeadlineExpired();\\n }\\n\\n AttestationRequestData memory data = request.data;\\n Signature memory signature = request.signature;\\n\\n _verifyUnusedSignature(signature);\\n\\n bytes32 digest = _hashTypedDataV4(\\n keccak256(\\n abi.encode(\\n ATTEST_PROXY_TYPEHASH,\\n request.schema,\\n data.recipient,\\n data.expirationTime,\\n data.revocable,\\n data.refUID,\\n keccak256(data.data),\\n data.value,\\n request.deadline\\n )\\n )\\n );\\n\\n if (ECDSA.recover(digest, signature.v, signature.r, signature.s) != request.attester) {\\n revert InvalidSignature();\\n }\\n }\\n\\n /// @dev Verifies delegated revocation request.\\n /// @param request The arguments of the delegated revocation request.\\n function _verifyRevoke(DelegatedProxyRevocationRequest memory request) internal {\\n if (request.deadline != NO_EXPIRATION_TIME && request.deadline < _time()) {\\n revert DeadlineExpired();\\n }\\n\\n RevocationRequestData memory data = request.data;\\n\\n // Allow only original attesters to revoke their attestations.\\n address attester = _attesters[data.uid];\\n if (attester == address(0)) {\\n revert NotFound();\\n }\\n\\n if (attester != msg.sender) {\\n revert AccessDenied();\\n }\\n\\n Signature memory signature = request.signature;\\n\\n _verifyUnusedSignature(signature);\\n\\n bytes32 digest = _hashTypedDataV4(\\n keccak256(abi.encode(REVOKE_PROXY_TYPEHASH, request.schema, data.uid, data.value, request.deadline))\\n );\\n\\n if (ECDSA.recover(digest, signature.v, signature.r, signature.s) != request.revoker) {\\n revert InvalidSignature();\\n }\\n }\\n\\n /// @dev Ensures that the provided EIP712 signature wasn't already used.\\n /// @param signature The EIP712 signature data.\\n function _verifyUnusedSignature(Signature memory signature) internal {\\n bytes memory packedSignature = abi.encodePacked(signature.v, signature.r, signature.s);\\n\\n if (_signatures[packedSignature]) {\\n revert UsedSignature();\\n }\\n\\n _signatures[packedSignature] = true;\\n }\\n\\n /// @dev Returns the current's block timestamp. This method is overridden during tests and used to simulate the\\n /// current block time.\\n function _time() internal view virtual returns (uint64) {\\n return uint64(block.timestamp);\\n }\\n}\\n\",\"keccak256\":\"0x0b0854f743bc2a2541552b9d70d52faa678a9c7cbd87190decf8ab8bde69ddb3\",\"license\":\"MIT\"},\"contracts/resolver/ISchemaResolver.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport { Attestation } from \\\"../Common.sol\\\";\\n\\n/// @title ISchemaResolver\\n/// @notice The interface of an optional schema resolver.\\ninterface ISchemaResolver {\\n /// @notice Checks if the resolver can be sent ETH.\\n /// @return Whether the resolver supports ETH transfers.\\n function isPayable() external pure returns (bool);\\n\\n /// @notice Processes an attestation and verifies whether it's valid.\\n /// @param attestation The new attestation.\\n /// @return Whether the attestation is valid.\\n function attest(Attestation calldata attestation) external payable returns (bool);\\n\\n /// @notice Processes multiple attestations and verifies whether they are valid.\\n /// @param attestations The new attestations.\\n /// @param values Explicit ETH amounts which were sent with each attestation.\\n /// @return Whether all the attestations are valid.\\n function multiAttest(\\n Attestation[] calldata attestations,\\n uint256[] calldata values\\n ) external payable returns (bool);\\n\\n /// @notice Processes an attestation revocation and verifies if it can be revoked.\\n /// @param attestation The existing attestation to be revoked.\\n /// @return Whether the attestation can be revoked.\\n function revoke(Attestation calldata attestation) external payable returns (bool);\\n\\n /// @notice Processes revocation of multiple attestation and verifies they can be revoked.\\n /// @param attestations The existing attestations to be revoked.\\n /// @param values Explicit ETH amounts which were sent with each revocation.\\n /// @return Whether the attestations can be revoked.\\n function multiRevoke(\\n Attestation[] calldata attestations,\\n uint256[] calldata values\\n ) external payable returns (bool);\\n}\\n\",\"keccak256\":\"0xb74b64e20b90b35004750d2c78ceb114a304975d22d71bd9a2a9de0d483f0395\",\"license\":\"MIT\"}},\"version\":1}", + "bytecode": "0x6101e06040523480156200001257600080fd5b5060405162002d7638038062002d7683398101604081905262000035916200022c565b6040805180820190915260058152640312e322e360dc1b60208201526001608052600260a052600060c0819052829190620000729083906200016b565b61018052620000838160016200016b565b6101a052815160208084019190912061014052815190820120610160524661010052620001146101405161016051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60e052505030610120526001600160a01b03821662000146576040516341bc07ff60e11b815260040160405180910390fd5b6001600160a01b0382166101c052600262000162828262000396565b505050620004bc565b60006020835110156200018b576200018383620001a4565b90506200019e565b8162000198848262000396565b5060ff90505b92915050565b600080829050601f81511115620001db578260405163305a27a960e01b8152600401620001d2919062000462565b60405180910390fd5b8051620001e88262000497565b179392505050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200022357818101518382015260200162000209565b50506000910152565b600080604083850312156200024057600080fd5b82516001600160a01b03811681146200025857600080fd5b60208401519092506001600160401b03808211156200027657600080fd5b818501915085601f8301126200028b57600080fd5b815181811115620002a057620002a0620001f0565b604051601f8201601f19908116603f01168101908382118183101715620002cb57620002cb620001f0565b81604052828152886020848701011115620002e557600080fd5b620002f883602083016020880162000206565b80955050505050509250929050565b600181811c908216806200031c57607f821691505b6020821081036200033d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200039157600081815260208120601f850160051c810160208610156200036c5750805b601f850160051c820191505b818110156200038d5782815560010162000378565b5050505b505050565b81516001600160401b03811115620003b257620003b2620001f0565b620003ca81620003c3845462000307565b8462000343565b602080601f831160018114620004025760008415620003e95750858301515b600019600386901b1c1916600185901b1785556200038d565b600085815260208120601f198616915b82811015620004335788860151825594840194600190910190840162000412565b5085821015620004525787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208152600082518060208401526200048381604085016020870162000206565b601f01601f19169190910160400192915050565b805160208083015191908110156200033d5760001960209190910360031b1b16919050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516128176200055f600039600081816101e4015281816104d1015281816105e901528181610a9d0152610c7e015260006107f8015260006107ce015260006113d9015260006113b10152600061130c0152600061133601526000611360015260006107760152600061074d0152600061072401526128176000f3fe6080604052600436106100c75760003560e01c806365c40b9c11610074578063a6d4dbc71161004e578063a6d4dbc714610250578063b83010d314610263578063ed24911d1461029657600080fd5b806365c40b9c146101d557806384b0196e14610208578063954115251461023057600080fd5b806317d7de7c116100a557806317d7de7c1461018b5780633c042715146101ad57806354fd4d50146101c057600080fd5b80630eabf660146100cc57806310d736d5146100e157806312b11a171461014e575b600080fd5b6100df6100da366004611a00565b6102ab565b005b3480156100ed57600080fd5b506101246100fc366004611a42565b60009081526003602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561015a57600080fd5b507f9d3e80e7032dc16815a5f67aa94e851240ae3b24eed13a7431bdac738f8145675b604051908152602001610145565b34801561019757600080fd5b506101a0610540565b6040516101459190611ac9565b61017d6101bb366004611ae3565b6105d2565b3480156101cc57600080fd5b506101a061071d565b3480156101e157600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610124565b34801561021457600080fd5b5061021d6107c0565b6040516101459796959493929190611b1e565b61024361023e366004611a00565b610864565b6040516101459190611bdd565b6100df61025e366004611c21565b610c65565b34801561026f57600080fd5b507fd4e76f924411647a916bb4ae4631b3cf45c44e2da56ed1c63edb18ebc97ba5e461017d565b3480156102a257600080fd5b5061017d610d65565b8060008167ffffffffffffffff8111156102c7576102c7611c3a565b60405190808252806020026020018201604052801561030d57816020015b6040805180820190915260008152606060208201528152602001906001900390816102e55790505b50905060005b8281101561049357600085858381811061032f5761032f611c69565b90506020028101906103419190611c98565b61034a90611f05565b602081015180519192509080158061036757508260400151518114155b1561039e576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b818110156104485760008382815181106103bd576103bd611c69565b6020026020010151905061043f6040518060a0016040528087600001518152602001838152602001876040015185815181106103fb576103fb611c69565b60200260200101518152602001876060015173ffffffffffffffffffffffffffffffffffffffff168152602001876080015167ffffffffffffffff16815250610d74565b506001016103a1565b506040518060400160405280846000015181526020018381525085858151811061047457610474611c69565b602002602001018190525050505061048c8160010190565b9050610313565b506040517f4cb7e9e500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690634cb7e9e5903490610508908590600401612000565b6000604051808303818588803b15801561052157600080fd5b505af1158015610535573d6000803e3d6000fd5b505050505050505050565b60606002805461054f906120cf565b80601f016020809104026020016040519081016040528092919081815260200182805461057b906120cf565b80156105c85780601f1061059d576101008083540402835291602001916105c8565b820191906000526020600020905b8154815290600101906020018083116105ab57829003601f168201915b5050505050905090565b60006105e56105e083612240565b610fb6565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663f17325e73460405180604001604052808760000135815260200187806020019061064991906122b9565b610652906122ed565b8152506040518363ffffffff1660e01b8152600401610671919061236c565b60206040518083038185885af115801561068f573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906106b49190612399565b90506106c660c0840160a085016123b2565b600082815260036020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905592915050565b60606107487f0000000000000000000000000000000000000000000000000000000000000000611189565b6107717f0000000000000000000000000000000000000000000000000000000000000000611189565b61079a7f0000000000000000000000000000000000000000000000000000000000000000611189565b6040516020016107ac939291906123cd565b604051602081830303815290604052905090565b6000606080828080836107f37f000000000000000000000000000000000000000000000000000000000000000083611247565b61081e7f00000000000000000000000000000000000000000000000000000000000000006001611247565b604080516000808252602082019092527f0f000000000000000000000000000000000000000000000000000000000000009b939a50919850469750309650945092509050565b60608160008167ffffffffffffffff81111561088257610882611c3a565b6040519080825280602002602001820160405280156108c857816020015b6040805180820190915260008152606060208201528152602001906001900390816108a05790505b50905060005b82811015610a9857368686838181106108e9576108e9611c69565b90506020028101906108fb9190611c98565b905036600061090d6020840184612443565b90925090508080158061092e575061092860408501856124ab565b90508114155b15610965576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610a4657610a3e6040518060a001604052808760000135815260200186868581811061099a5761099a611c69565b90506020028101906109ac91906122b9565b6109b5906122ed565b81526020016109c760408901896124ab565b858181106109d7576109d7611c69565b9050606002018036038101906109ed9190612512565b8152602001610a026080890160608a016123b2565b73ffffffffffffffffffffffffffffffffffffffff168152602001610a2d60a0890160808a0161252e565b67ffffffffffffffff169052610fb6565b600101610968565b50604080518082019091528435815260208101610a638486612549565b815250868681518110610a7857610a78611c69565b602002602001018190525050505050610a918160010190565b90506108ce565b5060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166344adc90e34846040518363ffffffff1660e01b8152600401610af591906125bd565b60006040518083038185885af1158015610b13573d6000803e3d6000fd5b50505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052610b5a91908101906126b0565b90506000805b84811015610c575736888883818110610b7b57610b7b611c69565b9050602002810190610b8d9190611c98565b9050366000610b9f6020840184612443565b90925090508060005b81811015610c4157610bc060808601606087016123b2565b600360008a8a81518110610bd657610bd6611c69565b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550866001019650610c3a8160010190565b9050610ba8565b5050505050610c508160010190565b9050610b60565b509093505050505b92915050565b610c7c610c7736839003830183612741565b610d74565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663469262673460405180604001604052808560000135815260200185602001803603810190610ce291906127ad565b90526040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815281516004820152602091820151805160248301529091015160448201526064016000604051808303818588803b158015610d4957600080fd5b505af1158015610d5d573d6000803e3d6000fd5b505050505050565b6000610d6f6112f2565b905090565b608081015167ffffffffffffffff1615801590610da857504267ffffffffffffffff16816080015167ffffffffffffffff16105b15610ddf576040517f1ab7da6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60208082015180516000908152600390925260409091205473ffffffffffffffffffffffffffffffffffffffff1680610e44576040517fc5723b5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81163314610e93576040517f4ca8886700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040830151610ea18161142a565b835183516020808601516080880151604051600095610f2d95610f12957fd4e76f924411647a916bb4ae4631b3cf45c44e2da56ed1c63edb18ebc97ba5e495929491930194855260208501939093526040840191909152606083015267ffffffffffffffff16608082015260a00190565b60405160208183030381529060405280519060200120611538565b9050846060015173ffffffffffffffffffffffffffffffffffffffff16610f6282846000015185602001518660400151611580565b73ffffffffffffffffffffffffffffffffffffffff1614610faf576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b608081015167ffffffffffffffff1615801590610fea57504267ffffffffffffffff16816080015167ffffffffffffffff16105b15611021576040517f1ab7da6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b602081015160408201516110348161142a565b60006111017f9d3e80e7032dc16815a5f67aa94e851240ae3b24eed13a7431bdac738f81456760001b856000015185600001518660200151876040015188606001518960800151805190602001208a60a001518c60800151604051602001610f1299989796959493929190988952602089019790975273ffffffffffffffffffffffffffffffffffffffff95909516604088015267ffffffffffffffff9384166060880152911515608087015260a086015260c085015260e0840191909152166101008201526101200190565b9050836060015173ffffffffffffffffffffffffffffffffffffffff1661113682846000015185602001518660400151611580565b73ffffffffffffffffffffffffffffffffffffffff1614611183576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60606000611196836115a8565b600101905060008167ffffffffffffffff8111156111b6576111b6611c3a565b6040519080825280601f01601f1916602001820160405280156111e0576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85049450846111ea57509392505050565b606060ff83146112615761125a8361168a565b9050610c5f565b81805461126d906120cf565b80601f0160208091040260200160405190810160405280929190818152602001828054611299906120cf565b80156112e65780601f106112bb576101008083540402835291602001916112e6565b820191906000526020600020905b8154815290600101906020018083116112c957829003601f168201915b50505050509050610c5f565b60003073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614801561135857507f000000000000000000000000000000000000000000000000000000000000000046145b1561138257507f000000000000000000000000000000000000000000000000000000000000000090565b610d6f604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b8051602080830151604080850151905160f89490941b7fff00000000000000000000000000000000000000000000000000000000000000169284019290925260218301526041820152600090606101604051602081830303815290604052905060048160405161149a91906127c9565b9081526040519081900360200190205460ff16156114e4576040517fcce9a82400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60016004826040516114f691906127c9565b90815260405190819003602001902080549115157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009092169190911790555050565b6000610c5f6115456112f2565b836040517f19010000000000000000000000000000000000000000000000000000000000008152600281019290925260228201526042902090565b6000806000611591878787876116c9565b9150915061159e816117b8565b5095945050505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106115f1577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef8100000000831061161d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061163b57662386f26fc10000830492506010015b6305f5e1008310611653576305f5e100830492506008015b612710831061166757612710830492506004015b60648310611679576064830492506002015b600a8310610c5f5760010192915050565b6060600061169783611973565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561170057506000905060036117af565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611754573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff81166117a8576000600192509250506117af565b9150600090505b94509492505050565b60008160048111156117cc576117cc6127db565b036117d45750565b60018160048111156117e8576117e86127db565b03611854576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064015b60405180910390fd5b6002816004811115611868576118686127db565b036118cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161184b565b60038160048111156118e3576118e36127db565b03611970576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f7565000000000000000000000000000000000000000000000000000000000000606482015260840161184b565b50565b600060ff8216601f811115610c5f576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008083601f8401126119c657600080fd5b50813567ffffffffffffffff8111156119de57600080fd5b6020830191508360208260051b85010111156119f957600080fd5b9250929050565b60008060208385031215611a1357600080fd5b823567ffffffffffffffff811115611a2a57600080fd5b611a36858286016119b4565b90969095509350505050565b600060208284031215611a5457600080fd5b5035919050565b60005b83811015611a76578181015183820152602001611a5e565b50506000910152565b60008151808452611a97816020860160208601611a5b565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611adc6020830184611a7f565b9392505050565b600060208284031215611af557600080fd5b813567ffffffffffffffff811115611b0c57600080fd5b820160e08185031215611adc57600080fd5b7fff00000000000000000000000000000000000000000000000000000000000000881681526000602060e081840152611b5a60e084018a611a7f565b8381036040850152611b6c818a611a7f565b6060850189905273ffffffffffffffffffffffffffffffffffffffff8816608086015260a0850187905284810360c0860152855180825283870192509083019060005b81811015611bcb57835183529284019291840191600101611baf565b50909c9b505050505050505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611c1557835183529284019291840191600101611bf9565b50909695505050505050565b60006101008284031215611c3457600080fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61833603018112611ccc57600080fd5b9190910192915050565b60405160a0810167ffffffffffffffff81118282101715611cf957611cf9611c3a565b60405290565b60405160c0810167ffffffffffffffff81118282101715611cf957611cf9611c3a565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715611d6957611d69611c3a565b604052919050565b600067ffffffffffffffff821115611d8b57611d8b611c3a565b5060051b60200190565b600060408284031215611da757600080fd5b6040516040810181811067ffffffffffffffff82111715611dca57611dca611c3a565b604052823581526020928301359281019290925250919050565b600060608284031215611df657600080fd5b6040516060810181811067ffffffffffffffff82111715611e1957611e19611c3a565b604052905080823560ff81168114611e3057600080fd5b8082525060208301356020820152604083013560408201525092915050565b600082601f830112611e6057600080fd5b81356020611e75611e7083611d71565b611d22565b82815260609283028501820192828201919087851115611e9457600080fd5b8387015b85811015611eb757611eaa8982611de4565b8452928401928101611e98565b5090979650505050505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114611ee857600080fd5b919050565b803567ffffffffffffffff81168114611ee857600080fd5b600060a08236031215611f1757600080fd5b611f1f611cd6565b8235815260208084013567ffffffffffffffff80821115611f3f57600080fd5b9085019036601f830112611f5257600080fd5b8135611f60611e7082611d71565b81815260069190911b83018401908481019036831115611f7f57600080fd5b938501935b82851015611fa857611f963686611d95565b82528582019150604085019450611f84565b80868801525050506040860135925080831115611fc457600080fd5b5050611fd236828601611e4f565b604083015250611fe460608401611ec4565b6060820152611ff560808401611eed565b608082015292915050565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b848110156120c0578984037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0018652825180518552880151888501889052805188860181905290890190839060608701905b808310156120ab5761209782855180518252602090810151910152565b928b019260019290920191908a019061207a565b50978a01979550505091870191600101612028565b50919998505050505050505050565b600181811c908216806120e357607f821691505b602082108103611c34577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600082601f83011261212d57600080fd5b813567ffffffffffffffff81111561214757612147611c3a565b61217860207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601611d22565b81815284602083860101111561218d57600080fd5b816020850160208301376000918101602001919091529392505050565b600060c082840312156121bc57600080fd5b6121c4611cff565b90506121cf82611ec4565b81526121dd60208301611eed565b6020820152604082013580151581146121f557600080fd5b604082015260608281013590820152608082013567ffffffffffffffff81111561221e57600080fd5b61222a8482850161211c565b60808301525060a082013560a082015292915050565b600060e0823603121561225257600080fd5b61225a611cd6565b82358152602083013567ffffffffffffffff81111561227857600080fd5b612284368286016121aa565b6020830152506122973660408501611de4565b60408201526122a860a08401611ec4565b6060820152611ff560c08401611eed565b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff41833603018112611ccc57600080fd5b6000610c5f36836121aa565b73ffffffffffffffffffffffffffffffffffffffff815116825267ffffffffffffffff6020820151166020830152604081015115156040830152606081015160608301526000608082015160c0608085015261235860c0850182611a7f565b60a093840151949093019390935250919050565b60208152815160208201526000602083015160408084015261239160608401826122f9565b949350505050565b6000602082840312156123ab57600080fd5b5051919050565b6000602082840312156123c457600080fd5b611adc82611ec4565b600084516123df818460208901611a5b565b80830190507f2e00000000000000000000000000000000000000000000000000000000000000808252855161241b816001850160208a01611a5b565b60019201918201528351612436816002840160208801611a5b565b0160020195945050505050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261247857600080fd5b83018035915067ffffffffffffffff82111561249357600080fd5b6020019150600581901b36038213156119f957600080fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18436030181126124e057600080fd5b83018035915067ffffffffffffffff8211156124fb57600080fd5b60200191506060810236038213156119f957600080fd5b60006060828403121561252457600080fd5b611adc8383611de4565b60006020828403121561254057600080fd5b611adc82611eed565b6000612557611e7084611d71565b80848252602080830192508560051b85013681111561257557600080fd5b855b818110156125b157803567ffffffffffffffff8111156125975760008081fd5b6125a336828a016121aa565b865250938201938201612577565b50919695505050505050565b602080825282518282018190526000919060409081850190600581811b8701840188860187805b858110156126a0577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08b85030187528251805185528901518985018990528051898601819052908a0190606081881b870181019190870190855b8181101561268a577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa08985030183526126788486516122f9565b948e01949350918d019160010161263e565b505050978a0197945050918801916001016125e4565b50919a9950505050505050505050565b600060208083850312156126c357600080fd5b825167ffffffffffffffff8111156126da57600080fd5b8301601f810185136126eb57600080fd5b80516126f9611e7082611d71565b81815260059190911b8201830190838101908783111561271857600080fd5b928401925b828410156127365783518252928401929084019061271d565b979650505050505050565b6000610100828403121561275457600080fd5b61275c611cd6565b8235815261276d8460208501611d95565b602082015261277f8460608501611de4565b604082015261279060c08401611ec4565b60608201526127a160e08401611eed565b60808201529392505050565b6000604082840312156127bf57600080fd5b611adc8383611d95565b60008251611ccc818460208701611a5b565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea164736f6c6343000813000a", + "deployedBytecode": "0x6080604052600436106100c75760003560e01c806365c40b9c11610074578063a6d4dbc71161004e578063a6d4dbc714610250578063b83010d314610263578063ed24911d1461029657600080fd5b806365c40b9c146101d557806384b0196e14610208578063954115251461023057600080fd5b806317d7de7c116100a557806317d7de7c1461018b5780633c042715146101ad57806354fd4d50146101c057600080fd5b80630eabf660146100cc57806310d736d5146100e157806312b11a171461014e575b600080fd5b6100df6100da366004611a00565b6102ab565b005b3480156100ed57600080fd5b506101246100fc366004611a42565b60009081526003602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561015a57600080fd5b507f9d3e80e7032dc16815a5f67aa94e851240ae3b24eed13a7431bdac738f8145675b604051908152602001610145565b34801561019757600080fd5b506101a0610540565b6040516101459190611ac9565b61017d6101bb366004611ae3565b6105d2565b3480156101cc57600080fd5b506101a061071d565b3480156101e157600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610124565b34801561021457600080fd5b5061021d6107c0565b6040516101459796959493929190611b1e565b61024361023e366004611a00565b610864565b6040516101459190611bdd565b6100df61025e366004611c21565b610c65565b34801561026f57600080fd5b507fd4e76f924411647a916bb4ae4631b3cf45c44e2da56ed1c63edb18ebc97ba5e461017d565b3480156102a257600080fd5b5061017d610d65565b8060008167ffffffffffffffff8111156102c7576102c7611c3a565b60405190808252806020026020018201604052801561030d57816020015b6040805180820190915260008152606060208201528152602001906001900390816102e55790505b50905060005b8281101561049357600085858381811061032f5761032f611c69565b90506020028101906103419190611c98565b61034a90611f05565b602081015180519192509080158061036757508260400151518114155b1561039e576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b818110156104485760008382815181106103bd576103bd611c69565b6020026020010151905061043f6040518060a0016040528087600001518152602001838152602001876040015185815181106103fb576103fb611c69565b60200260200101518152602001876060015173ffffffffffffffffffffffffffffffffffffffff168152602001876080015167ffffffffffffffff16815250610d74565b506001016103a1565b506040518060400160405280846000015181526020018381525085858151811061047457610474611c69565b602002602001018190525050505061048c8160010190565b9050610313565b506040517f4cb7e9e500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690634cb7e9e5903490610508908590600401612000565b6000604051808303818588803b15801561052157600080fd5b505af1158015610535573d6000803e3d6000fd5b505050505050505050565b60606002805461054f906120cf565b80601f016020809104026020016040519081016040528092919081815260200182805461057b906120cf565b80156105c85780601f1061059d576101008083540402835291602001916105c8565b820191906000526020600020905b8154815290600101906020018083116105ab57829003601f168201915b5050505050905090565b60006105e56105e083612240565b610fb6565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663f17325e73460405180604001604052808760000135815260200187806020019061064991906122b9565b610652906122ed565b8152506040518363ffffffff1660e01b8152600401610671919061236c565b60206040518083038185885af115801561068f573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906106b49190612399565b90506106c660c0840160a085016123b2565b600082815260036020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905592915050565b60606107487f0000000000000000000000000000000000000000000000000000000000000000611189565b6107717f0000000000000000000000000000000000000000000000000000000000000000611189565b61079a7f0000000000000000000000000000000000000000000000000000000000000000611189565b6040516020016107ac939291906123cd565b604051602081830303815290604052905090565b6000606080828080836107f37f000000000000000000000000000000000000000000000000000000000000000083611247565b61081e7f00000000000000000000000000000000000000000000000000000000000000006001611247565b604080516000808252602082019092527f0f000000000000000000000000000000000000000000000000000000000000009b939a50919850469750309650945092509050565b60608160008167ffffffffffffffff81111561088257610882611c3a565b6040519080825280602002602001820160405280156108c857816020015b6040805180820190915260008152606060208201528152602001906001900390816108a05790505b50905060005b82811015610a9857368686838181106108e9576108e9611c69565b90506020028101906108fb9190611c98565b905036600061090d6020840184612443565b90925090508080158061092e575061092860408501856124ab565b90508114155b15610965576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610a4657610a3e6040518060a001604052808760000135815260200186868581811061099a5761099a611c69565b90506020028101906109ac91906122b9565b6109b5906122ed565b81526020016109c760408901896124ab565b858181106109d7576109d7611c69565b9050606002018036038101906109ed9190612512565b8152602001610a026080890160608a016123b2565b73ffffffffffffffffffffffffffffffffffffffff168152602001610a2d60a0890160808a0161252e565b67ffffffffffffffff169052610fb6565b600101610968565b50604080518082019091528435815260208101610a638486612549565b815250868681518110610a7857610a78611c69565b602002602001018190525050505050610a918160010190565b90506108ce565b5060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166344adc90e34846040518363ffffffff1660e01b8152600401610af591906125bd565b60006040518083038185885af1158015610b13573d6000803e3d6000fd5b50505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052610b5a91908101906126b0565b90506000805b84811015610c575736888883818110610b7b57610b7b611c69565b9050602002810190610b8d9190611c98565b9050366000610b9f6020840184612443565b90925090508060005b81811015610c4157610bc060808601606087016123b2565b600360008a8a81518110610bd657610bd6611c69565b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550866001019650610c3a8160010190565b9050610ba8565b5050505050610c508160010190565b9050610b60565b509093505050505b92915050565b610c7c610c7736839003830183612741565b610d74565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663469262673460405180604001604052808560000135815260200185602001803603810190610ce291906127ad565b90526040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815281516004820152602091820151805160248301529091015160448201526064016000604051808303818588803b158015610d4957600080fd5b505af1158015610d5d573d6000803e3d6000fd5b505050505050565b6000610d6f6112f2565b905090565b608081015167ffffffffffffffff1615801590610da857504267ffffffffffffffff16816080015167ffffffffffffffff16105b15610ddf576040517f1ab7da6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60208082015180516000908152600390925260409091205473ffffffffffffffffffffffffffffffffffffffff1680610e44576040517fc5723b5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81163314610e93576040517f4ca8886700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040830151610ea18161142a565b835183516020808601516080880151604051600095610f2d95610f12957fd4e76f924411647a916bb4ae4631b3cf45c44e2da56ed1c63edb18ebc97ba5e495929491930194855260208501939093526040840191909152606083015267ffffffffffffffff16608082015260a00190565b60405160208183030381529060405280519060200120611538565b9050846060015173ffffffffffffffffffffffffffffffffffffffff16610f6282846000015185602001518660400151611580565b73ffffffffffffffffffffffffffffffffffffffff1614610faf576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b608081015167ffffffffffffffff1615801590610fea57504267ffffffffffffffff16816080015167ffffffffffffffff16105b15611021576040517f1ab7da6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b602081015160408201516110348161142a565b60006111017f9d3e80e7032dc16815a5f67aa94e851240ae3b24eed13a7431bdac738f81456760001b856000015185600001518660200151876040015188606001518960800151805190602001208a60a001518c60800151604051602001610f1299989796959493929190988952602089019790975273ffffffffffffffffffffffffffffffffffffffff95909516604088015267ffffffffffffffff9384166060880152911515608087015260a086015260c085015260e0840191909152166101008201526101200190565b9050836060015173ffffffffffffffffffffffffffffffffffffffff1661113682846000015185602001518660400151611580565b73ffffffffffffffffffffffffffffffffffffffff1614611183576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60606000611196836115a8565b600101905060008167ffffffffffffffff8111156111b6576111b6611c3a565b6040519080825280601f01601f1916602001820160405280156111e0576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85049450846111ea57509392505050565b606060ff83146112615761125a8361168a565b9050610c5f565b81805461126d906120cf565b80601f0160208091040260200160405190810160405280929190818152602001828054611299906120cf565b80156112e65780601f106112bb576101008083540402835291602001916112e6565b820191906000526020600020905b8154815290600101906020018083116112c957829003601f168201915b50505050509050610c5f565b60003073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614801561135857507f000000000000000000000000000000000000000000000000000000000000000046145b1561138257507f000000000000000000000000000000000000000000000000000000000000000090565b610d6f604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b8051602080830151604080850151905160f89490941b7fff00000000000000000000000000000000000000000000000000000000000000169284019290925260218301526041820152600090606101604051602081830303815290604052905060048160405161149a91906127c9565b9081526040519081900360200190205460ff16156114e4576040517fcce9a82400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60016004826040516114f691906127c9565b90815260405190819003602001902080549115157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009092169190911790555050565b6000610c5f6115456112f2565b836040517f19010000000000000000000000000000000000000000000000000000000000008152600281019290925260228201526042902090565b6000806000611591878787876116c9565b9150915061159e816117b8565b5095945050505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106115f1577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef8100000000831061161d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061163b57662386f26fc10000830492506010015b6305f5e1008310611653576305f5e100830492506008015b612710831061166757612710830492506004015b60648310611679576064830492506002015b600a8310610c5f5760010192915050565b6060600061169783611973565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561170057506000905060036117af565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611754573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff81166117a8576000600192509250506117af565b9150600090505b94509492505050565b60008160048111156117cc576117cc6127db565b036117d45750565b60018160048111156117e8576117e86127db565b03611854576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064015b60405180910390fd5b6002816004811115611868576118686127db565b036118cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161184b565b60038160048111156118e3576118e36127db565b03611970576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f7565000000000000000000000000000000000000000000000000000000000000606482015260840161184b565b50565b600060ff8216601f811115610c5f576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008083601f8401126119c657600080fd5b50813567ffffffffffffffff8111156119de57600080fd5b6020830191508360208260051b85010111156119f957600080fd5b9250929050565b60008060208385031215611a1357600080fd5b823567ffffffffffffffff811115611a2a57600080fd5b611a36858286016119b4565b90969095509350505050565b600060208284031215611a5457600080fd5b5035919050565b60005b83811015611a76578181015183820152602001611a5e565b50506000910152565b60008151808452611a97816020860160208601611a5b565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611adc6020830184611a7f565b9392505050565b600060208284031215611af557600080fd5b813567ffffffffffffffff811115611b0c57600080fd5b820160e08185031215611adc57600080fd5b7fff00000000000000000000000000000000000000000000000000000000000000881681526000602060e081840152611b5a60e084018a611a7f565b8381036040850152611b6c818a611a7f565b6060850189905273ffffffffffffffffffffffffffffffffffffffff8816608086015260a0850187905284810360c0860152855180825283870192509083019060005b81811015611bcb57835183529284019291840191600101611baf565b50909c9b505050505050505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611c1557835183529284019291840191600101611bf9565b50909695505050505050565b60006101008284031215611c3457600080fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61833603018112611ccc57600080fd5b9190910192915050565b60405160a0810167ffffffffffffffff81118282101715611cf957611cf9611c3a565b60405290565b60405160c0810167ffffffffffffffff81118282101715611cf957611cf9611c3a565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715611d6957611d69611c3a565b604052919050565b600067ffffffffffffffff821115611d8b57611d8b611c3a565b5060051b60200190565b600060408284031215611da757600080fd5b6040516040810181811067ffffffffffffffff82111715611dca57611dca611c3a565b604052823581526020928301359281019290925250919050565b600060608284031215611df657600080fd5b6040516060810181811067ffffffffffffffff82111715611e1957611e19611c3a565b604052905080823560ff81168114611e3057600080fd5b8082525060208301356020820152604083013560408201525092915050565b600082601f830112611e6057600080fd5b81356020611e75611e7083611d71565b611d22565b82815260609283028501820192828201919087851115611e9457600080fd5b8387015b85811015611eb757611eaa8982611de4565b8452928401928101611e98565b5090979650505050505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114611ee857600080fd5b919050565b803567ffffffffffffffff81168114611ee857600080fd5b600060a08236031215611f1757600080fd5b611f1f611cd6565b8235815260208084013567ffffffffffffffff80821115611f3f57600080fd5b9085019036601f830112611f5257600080fd5b8135611f60611e7082611d71565b81815260069190911b83018401908481019036831115611f7f57600080fd5b938501935b82851015611fa857611f963686611d95565b82528582019150604085019450611f84565b80868801525050506040860135925080831115611fc457600080fd5b5050611fd236828601611e4f565b604083015250611fe460608401611ec4565b6060820152611ff560808401611eed565b608082015292915050565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b848110156120c0578984037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0018652825180518552880151888501889052805188860181905290890190839060608701905b808310156120ab5761209782855180518252602090810151910152565b928b019260019290920191908a019061207a565b50978a01979550505091870191600101612028565b50919998505050505050505050565b600181811c908216806120e357607f821691505b602082108103611c34577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600082601f83011261212d57600080fd5b813567ffffffffffffffff81111561214757612147611c3a565b61217860207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601611d22565b81815284602083860101111561218d57600080fd5b816020850160208301376000918101602001919091529392505050565b600060c082840312156121bc57600080fd5b6121c4611cff565b90506121cf82611ec4565b81526121dd60208301611eed565b6020820152604082013580151581146121f557600080fd5b604082015260608281013590820152608082013567ffffffffffffffff81111561221e57600080fd5b61222a8482850161211c565b60808301525060a082013560a082015292915050565b600060e0823603121561225257600080fd5b61225a611cd6565b82358152602083013567ffffffffffffffff81111561227857600080fd5b612284368286016121aa565b6020830152506122973660408501611de4565b60408201526122a860a08401611ec4565b6060820152611ff560c08401611eed565b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff41833603018112611ccc57600080fd5b6000610c5f36836121aa565b73ffffffffffffffffffffffffffffffffffffffff815116825267ffffffffffffffff6020820151166020830152604081015115156040830152606081015160608301526000608082015160c0608085015261235860c0850182611a7f565b60a093840151949093019390935250919050565b60208152815160208201526000602083015160408084015261239160608401826122f9565b949350505050565b6000602082840312156123ab57600080fd5b5051919050565b6000602082840312156123c457600080fd5b611adc82611ec4565b600084516123df818460208901611a5b565b80830190507f2e00000000000000000000000000000000000000000000000000000000000000808252855161241b816001850160208a01611a5b565b60019201918201528351612436816002840160208801611a5b565b0160020195945050505050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261247857600080fd5b83018035915067ffffffffffffffff82111561249357600080fd5b6020019150600581901b36038213156119f957600080fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18436030181126124e057600080fd5b83018035915067ffffffffffffffff8211156124fb57600080fd5b60200191506060810236038213156119f957600080fd5b60006060828403121561252457600080fd5b611adc8383611de4565b60006020828403121561254057600080fd5b611adc82611eed565b6000612557611e7084611d71565b80848252602080830192508560051b85013681111561257557600080fd5b855b818110156125b157803567ffffffffffffffff8111156125975760008081fd5b6125a336828a016121aa565b865250938201938201612577565b50919695505050505050565b602080825282518282018190526000919060409081850190600581811b8701840188860187805b858110156126a0577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08b85030187528251805185528901518985018990528051898601819052908a0190606081881b870181019190870190855b8181101561268a577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa08985030183526126788486516122f9565b948e01949350918d019160010161263e565b505050978a0197945050918801916001016125e4565b50919a9950505050505050505050565b600060208083850312156126c357600080fd5b825167ffffffffffffffff8111156126da57600080fd5b8301601f810185136126eb57600080fd5b80516126f9611e7082611d71565b81815260059190911b8201830190838101908783111561271857600080fd5b928401925b828410156127365783518252928401929084019061271d565b979650505050505050565b6000610100828403121561275457600080fd5b61275c611cd6565b8235815261276d8460208501611d95565b602082015261277f8460608501611de4565b604082015261279060c08401611ec4565b60608201526127a160e08401611eed565b60808201529392505050565b6000604082840312156127bf57600080fd5b611adc8383611d95565b60008251611ccc818460208701611a5b565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea164736f6c6343000813000a", + "devdoc": { + "events": { + "EIP712DomainChanged()": { + "details": "MAY be emitted to signal that the domain could have changed." + } + }, + "kind": "dev", + "methods": { + "attestByDelegation((bytes32,(address,uint64,bool,bytes32,bytes,uint256),(uint8,bytes32,bytes32),address,uint64))": { + "params": { + "delegatedRequest": "The arguments of the delegated attestation request." + }, + "returns": { + "_0": "The UID of the new attestation. Example: attestByDelegation({ schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc', data: { recipient: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266', expirationTime: 1673891048, revocable: true, refUID: '0x0000000000000000000000000000000000000000000000000000000000000000', data: '0x1234', value: 0 }, signature: { v: 28, r: '0x148c...b25b', s: '0x5a72...be22' }, attester: '0xc5E8740aD971409492b1A63Db8d83025e0Fc427e', deadline: 1673891048 })" + } + }, + "constructor": { + "details": "Creates a new EIP1271Verifier instance.", + "params": { + "eas": "The address of the global EAS contract.", + "name": "The user readable name of the signing domain." + } + }, + "eip712Domain()": { + "details": "See {EIP-5267}. _Available since v4.9._" + }, + "multiAttestByDelegation((bytes32,(address,uint64,bool,bytes32,bytes,uint256)[],(uint8,bytes32,bytes32)[],address,uint64)[])": { + "params": { + "multiDelegatedRequests": "The arguments of the delegated multi attestation requests. The requests should be grouped by distinct schema ids to benefit from the best batching optimization." + }, + "returns": { + "_0": "The UIDs of the new attestations. Example: multiAttestByDelegation([{ schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc', data: [{ recipient: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266', expirationTime: 1673891048, revocable: true, refUID: '0x0000000000000000000000000000000000000000000000000000000000000000', data: '0x1234', value: 0 }, { recipient: '0xdEADBeAFdeAdbEafdeadbeafDeAdbEAFdeadbeaf', expirationTime: 0, revocable: false, refUID: '0x0000000000000000000000000000000000000000000000000000000000000000', data: '0x00', value: 0 }], signatures: [{ v: 28, r: '0x148c...b25b', s: '0x5a72...be22' }, { v: 28, r: '0x487s...67bb', s: '0x12ad...2366' }], attester: '0x1D86495b2A7B524D747d2839b3C645Bed32e8CF4', deadline: 1673891048 }])" + } + }, + "multiRevokeByDelegation((bytes32,(bytes32,uint256)[],(uint8,bytes32,bytes32)[],address,uint64)[])": { + "params": { + "multiDelegatedRequests": "The arguments of the delegated multi revocation attestation requests. The requests should be grouped by distinct schema ids to benefit from the best batching optimization. Example: multiRevokeByDelegation([{ schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc', data: [{ uid: '0x211296a1ca0d7f9f2cfebf0daaa575bea9b20e968d81aef4e743d699c6ac4b25', value: 1000 }, { uid: '0xe160ac1bd3606a287b4d53d5d1d6da5895f65b4b4bab6d93aaf5046e48167ade', value: 0 }], signatures: [{ v: 28, r: '0x148c...b25b', s: '0x5a72...be22' }, { v: 28, r: '0x487s...67bb', s: '0x12ad...2366' }], revoker: '0x244934dd3e31bE2c81f84ECf0b3E6329F5381992', deadline: 1673891048 }])" + } + }, + "revokeByDelegation((bytes32,(bytes32,uint256),(uint8,bytes32,bytes32),address,uint64))": { + "params": { + "delegatedRequest": "The arguments of the delegated revocation request. Example: revokeByDelegation({ schema: '0x8e72f5bc0a8d4be6aa98360baa889040c50a0e51f32dbf0baa5199bd93472ebc', data: { uid: '0xcbbc12102578c642a0f7b34fe7111e41afa25683b6cd7b5a14caf90fa14d24ba', value: 0 }, signature: { v: 27, r: '0xb593...7142', s: '0x0f5b...2cce' }, revoker: '0x244934dd3e31bE2c81f84ECf0b3E6329F5381992', deadline: 1673891048 })" + } + }, + "version()": { + "returns": { + "_0": "Semver contract version as a string." + } + } + }, + "title": "EIP712Proxy", + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": { + "attestByDelegation((bytes32,(address,uint64,bool,bytes32,bytes,uint256),(uint8,bytes32,bytes32),address,uint64))": { + "notice": "Attests to a specific schema via the provided EIP712 signature." + }, + "getAttestTypeHash()": { + "notice": "Returns the EIP712 type hash for the attest function." + }, + "getAttester(bytes32)": { + "notice": "Returns the attester for a given uid." + }, + "getDomainSeparator()": { + "notice": "Returns the domain separator used in the encoding of the signatures for attest, and revoke." + }, + "getEAS()": { + "notice": "Returns the EAS." + }, + "getName()": { + "notice": "Returns the EIP712 name." + }, + "getRevokeTypeHash()": { + "notice": "Returns the EIP712 type hash for the revoke function." + }, + "multiAttestByDelegation((bytes32,(address,uint64,bool,bytes32,bytes,uint256)[],(uint8,bytes32,bytes32)[],address,uint64)[])": { + "notice": "Attests to multiple schemas using via provided EIP712 signatures." + }, + "multiRevokeByDelegation((bytes32,(bytes32,uint256)[],(uint8,bytes32,bytes32)[],address,uint64)[])": { + "notice": "Revokes existing attestations to multiple schemas via provided EIP712 signatures." + }, + "revokeByDelegation((bytes32,(bytes32,uint256),(uint8,bytes32,bytes32),address,uint64))": { + "notice": "Revokes an existing attestation to a specific schema via the provided EIP712 signature." + }, + "version()": { + "notice": "Returns the full semver contract version." + } + }, + "notice": "This utility contract an be used to aggregate delegated attestations without requiring a specific order via nonces. The contract doesn't request nonces and implements replay protection by storing ***immalleable*** signatures.", + "version": 1 + }, + "storageLayout": { + "storage": [ + { + "astId": 2559, + "contract": "contracts/eip712/proxy/EIP712Proxy.sol:EIP712Proxy", + "label": "_nameFallback", + "offset": 0, + "slot": "0", + "type": "t_string_storage" + }, + { + "astId": 2561, + "contract": "contracts/eip712/proxy/EIP712Proxy.sol:EIP712Proxy", + "label": "_versionFallback", + "offset": 0, + "slot": "1", + "type": "t_string_storage" + }, + { + "astId": 6788, + "contract": "contracts/eip712/proxy/EIP712Proxy.sol:EIP712Proxy", + "label": "_name", + "offset": 0, + "slot": "2", + "type": "t_string_storage" + }, + { + "astId": 6792, + "contract": "contracts/eip712/proxy/EIP712Proxy.sol:EIP712Proxy", + "label": "_attesters", + "offset": 0, + "slot": "3", + "type": "t_mapping(t_bytes32,t_address)" + }, + { + "astId": 6796, + "contract": "contracts/eip712/proxy/EIP712Proxy.sol:EIP712Proxy", + "label": "_signatures", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_bytes_memory_ptr,t_bool)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes_memory_ptr": { + "encoding": "bytes", + "label": "bytes", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_address)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => address)", + "numberOfBytes": "32", + "value": "t_address" + }, + "t_mapping(t_bytes_memory_ptr,t_bool)": { + "encoding": "mapping", + "key": "t_bytes_memory_ptr", + "label": "mapping(bytes => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_string_storage": { + "encoding": "bytes", + "label": "string", + "numberOfBytes": "32" + } + } + } +} \ No newline at end of file diff --git a/deployments/polygon-mumbai/SchemaRegistry.json b/deployments/polygon-mumbai/SchemaRegistry.json new file mode 100644 index 0000000..8e48dcf --- /dev/null +++ b/deployments/polygon-mumbai/SchemaRegistry.json @@ -0,0 +1,326 @@ +{ + "address": "0x55D26f9ae0203EF95494AE4C170eD35f4Cf77797", + "abi": [ + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [], + "name": "AlreadyExists", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "uid", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "registerer", + "type": "address" + }, + { + "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" + } + ], + "indexed": false, + "internalType": "struct SchemaRecord", + "name": "schema", + "type": "tuple" + } + ], + "name": "Registered", + "type": "event" + }, + { + "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" + }, + { + "inputs": [], + "name": "version", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "transactionHash": "0x709dbe47480752dc1da308608cd42a38c703f6559927fded229b1083683b8350", + "receipt": { + "to": null, + "from": "0x6457B4DB9575DBc1bac391DaE4B239722c4000d0", + "contractAddress": "0x55D26f9ae0203EF95494AE4C170eD35f4Cf77797", + "transactionIndex": 3, + "gasUsed": "631544", + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000800000000001000000000100000000000000000001000000000000000800000000000000000000000080000000000000000000000000000020000001000000000001000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000004000000000000000000001000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000100000", + "blockHash": "0xbfa6e881b8dbb04247f36f16c0eecb1412fc8ab319ffa4a8cec7f18755ca31da", + "transactionHash": "0x709dbe47480752dc1da308608cd42a38c703f6559927fded229b1083683b8350", + "logs": [ + { + "transactionIndex": 3, + "blockNumber": 41442363, + "transactionHash": "0x709dbe47480752dc1da308608cd42a38c703f6559927fded229b1083683b8350", + "address": "0x0000000000000000000000000000000000001010", + "topics": [ + "0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63", + "0x0000000000000000000000000000000000000000000000000000000000001010", + "0x0000000000000000000000006457b4db9575dbc1bac391dae4b239722c4000d0", + "0x0000000000000000000000004cefb7df2ff89a05ddd0176de11e01ef0cf7ed84" + ], + "data": "0x00000000000000000000000000000000000000000000000000035d9431ab88000000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000001cfc42342c34bebcc80000000000000000000000000000000000000000000000000ddd591f75b8780000000000000000000000000000000000000000000000001cfc4591c0666a44c8", + "logIndex": 4, + "blockHash": "0xbfa6e881b8dbb04247f36f16c0eecb1412fc8ab319ffa4a8cec7f18755ca31da" + } + ], + "blockNumber": 41442363, + "cumulativeGasUsed": "1198374", + "status": 1, + "byzantium": true + }, + "args": [], + "numDeployments": 1, + "solcInputHash": "4815fa92859e337c29529f019e92192d", + "metadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyExists\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"uid\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"registerer\",\"type\":\"address\"},{\"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\"}],\"indexed\":false,\"internalType\":\"struct SchemaRecord\",\"name\":\"schema\",\"type\":\"tuple\"}],\"name\":\"Registered\",\"type\":\"event\"},{\"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\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"events\":{\"Registered(bytes32,address,(bytes32,address,bool,string))\":{\"params\":{\"registerer\":\"The address of the account used to register the schema.\",\"schema\":\"The schema data.\",\"uid\":\"The schema UID.\"}}},\"kind\":\"dev\",\"methods\":{\"constructor\":{\"details\":\"Creates a new SchemaRegistry instance.\"},\"getSchema(bytes32)\":{\"params\":{\"uid\":\"The UID of the schema to retrieve.\"},\"returns\":{\"_0\":\"The schema data members.\"}},\"register(string,address,bool)\":{\"params\":{\"resolver\":\"An optional schema resolver.\",\"revocable\":\"Whether the schema allows revocations explicitly.\",\"schema\":\"The schema data schema.\"},\"returns\":{\"_0\":\"The UID of the new schema.\"}},\"version()\":{\"returns\":{\"_0\":\"Semver contract version as a string.\"}}},\"title\":\"SchemaRegistry\",\"version\":1},\"userdoc\":{\"events\":{\"Registered(bytes32,address,(bytes32,address,bool,string))\":{\"notice\":\"Emitted when a new schema has been registered\"}},\"kind\":\"user\",\"methods\":{\"getSchema(bytes32)\":{\"notice\":\"Returns an existing schema by UID\"},\"register(string,address,bool)\":{\"notice\":\"Submits and reserves a new schema\"},\"version()\":{\"notice\":\"Returns the full semver contract version.\"}},\"notice\":\"The global schema registry.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/SchemaRegistry.sol\":\"SchemaRegistry\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/Strings.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"./math/Math.sol\\\";\\nimport \\\"./math/SignedMath.sol\\\";\\n\\n/**\\n * @dev String operations.\\n */\\nlibrary Strings {\\n bytes16 private constant _SYMBOLS = \\\"0123456789abcdef\\\";\\n uint8 private constant _ADDRESS_LENGTH = 20;\\n\\n /**\\n * @dev Converts a `uint256` to its ASCII `string` decimal representation.\\n */\\n function toString(uint256 value) internal pure returns (string memory) {\\n unchecked {\\n uint256 length = Math.log10(value) + 1;\\n string memory buffer = new string(length);\\n uint256 ptr;\\n /// @solidity memory-safe-assembly\\n assembly {\\n ptr := add(buffer, add(32, length))\\n }\\n while (true) {\\n ptr--;\\n /// @solidity memory-safe-assembly\\n assembly {\\n mstore8(ptr, byte(mod(value, 10), _SYMBOLS))\\n }\\n value /= 10;\\n if (value == 0) break;\\n }\\n return buffer;\\n }\\n }\\n\\n /**\\n * @dev Converts a `int256` to its ASCII `string` decimal representation.\\n */\\n function toString(int256 value) internal pure returns (string memory) {\\n return string(abi.encodePacked(value < 0 ? \\\"-\\\" : \\\"\\\", toString(SignedMath.abs(value))));\\n }\\n\\n /**\\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\\n */\\n function toHexString(uint256 value) internal pure returns (string memory) {\\n unchecked {\\n return toHexString(value, Math.log256(value) + 1);\\n }\\n }\\n\\n /**\\n * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\\n */\\n function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {\\n bytes memory buffer = new bytes(2 * length + 2);\\n buffer[0] = \\\"0\\\";\\n buffer[1] = \\\"x\\\";\\n for (uint256 i = 2 * length + 1; i > 1; --i) {\\n buffer[i] = _SYMBOLS[value & 0xf];\\n value >>= 4;\\n }\\n require(value == 0, \\\"Strings: hex length insufficient\\\");\\n return string(buffer);\\n }\\n\\n /**\\n * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.\\n */\\n function toHexString(address addr) internal pure returns (string memory) {\\n return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);\\n }\\n\\n /**\\n * @dev Returns true if the two strings are equal.\\n */\\n function equal(string memory a, string memory b) internal pure returns (bool) {\\n return keccak256(bytes(a)) == keccak256(bytes(b));\\n }\\n}\\n\",\"keccak256\":\"0x3088eb2868e8d13d89d16670b5f8612c4ab9ff8956272837d8e90106c59c14a0\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Standard math utilities missing in the Solidity language.\\n */\\nlibrary Math {\\n enum Rounding {\\n Down, // Toward negative infinity\\n Up, // Toward infinity\\n Zero // Toward zero\\n }\\n\\n /**\\n * @dev Returns the largest of two numbers.\\n */\\n function max(uint256 a, uint256 b) internal pure returns (uint256) {\\n return a > b ? a : b;\\n }\\n\\n /**\\n * @dev Returns the smallest of two numbers.\\n */\\n function min(uint256 a, uint256 b) internal pure returns (uint256) {\\n return a < b ? a : b;\\n }\\n\\n /**\\n * @dev Returns the average of two numbers. The result is rounded towards\\n * zero.\\n */\\n function average(uint256 a, uint256 b) internal pure returns (uint256) {\\n // (a + b) / 2 can overflow.\\n return (a & b) + (a ^ b) / 2;\\n }\\n\\n /**\\n * @dev Returns the ceiling of the division of two numbers.\\n *\\n * This differs from standard division with `/` in that it rounds up instead\\n * of rounding down.\\n */\\n function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {\\n // (a + b - 1) / b can overflow on addition, so we distribute.\\n return a == 0 ? 0 : (a - 1) / b + 1;\\n }\\n\\n /**\\n * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\\n * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)\\n * with further edits by Uniswap Labs also under MIT license.\\n */\\n function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {\\n unchecked {\\n // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use\\n // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\\n // variables such that product = prod1 * 2^256 + prod0.\\n uint256 prod0; // Least significant 256 bits of the product\\n uint256 prod1; // Most significant 256 bits of the product\\n assembly {\\n let mm := mulmod(x, y, not(0))\\n prod0 := mul(x, y)\\n prod1 := sub(sub(mm, prod0), lt(mm, prod0))\\n }\\n\\n // Handle non-overflow cases, 256 by 256 division.\\n if (prod1 == 0) {\\n // Solidity will revert if denominator == 0, unlike the div opcode on its own.\\n // The surrounding unchecked block does not change this fact.\\n // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.\\n return prod0 / denominator;\\n }\\n\\n // Make sure the result is less than 2^256. Also prevents denominator == 0.\\n require(denominator > prod1, \\\"Math: mulDiv overflow\\\");\\n\\n ///////////////////////////////////////////////\\n // 512 by 256 division.\\n ///////////////////////////////////////////////\\n\\n // Make division exact by subtracting the remainder from [prod1 prod0].\\n uint256 remainder;\\n assembly {\\n // Compute remainder using mulmod.\\n remainder := mulmod(x, y, denominator)\\n\\n // Subtract 256 bit number from 512 bit number.\\n prod1 := sub(prod1, gt(remainder, prod0))\\n prod0 := sub(prod0, remainder)\\n }\\n\\n // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.\\n // See https://cs.stackexchange.com/q/138556/92363.\\n\\n // Does not overflow because the denominator cannot be zero at this stage in the function.\\n uint256 twos = denominator & (~denominator + 1);\\n assembly {\\n // Divide denominator by twos.\\n denominator := div(denominator, twos)\\n\\n // Divide [prod1 prod0] by twos.\\n prod0 := div(prod0, twos)\\n\\n // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.\\n twos := add(div(sub(0, twos), twos), 1)\\n }\\n\\n // Shift in bits from prod1 into prod0.\\n prod0 |= prod1 * twos;\\n\\n // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such\\n // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for\\n // four bits. That is, denominator * inv = 1 mod 2^4.\\n uint256 inverse = (3 * denominator) ^ 2;\\n\\n // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works\\n // in modular arithmetic, doubling the correct bits in each step.\\n inverse *= 2 - denominator * inverse; // inverse mod 2^8\\n inverse *= 2 - denominator * inverse; // inverse mod 2^16\\n inverse *= 2 - denominator * inverse; // inverse mod 2^32\\n inverse *= 2 - denominator * inverse; // inverse mod 2^64\\n inverse *= 2 - denominator * inverse; // inverse mod 2^128\\n inverse *= 2 - denominator * inverse; // inverse mod 2^256\\n\\n // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.\\n // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is\\n // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1\\n // is no longer required.\\n result = prod0 * inverse;\\n return result;\\n }\\n }\\n\\n /**\\n * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.\\n */\\n function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {\\n uint256 result = mulDiv(x, y, denominator);\\n if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {\\n result += 1;\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.\\n *\\n * Inspired by Henry S. Warren, Jr.'s \\\"Hacker's Delight\\\" (Chapter 11).\\n */\\n function sqrt(uint256 a) internal pure returns (uint256) {\\n if (a == 0) {\\n return 0;\\n }\\n\\n // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.\\n //\\n // We know that the \\\"msb\\\" (most significant bit) of our target number `a` is a power of 2 such that we have\\n // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.\\n //\\n // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`\\n // \\u2192 `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`\\n // \\u2192 `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`\\n //\\n // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.\\n uint256 result = 1 << (log2(a) >> 1);\\n\\n // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,\\n // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at\\n // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision\\n // into the expected uint128 result.\\n unchecked {\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n result = (result + a / result) >> 1;\\n return min(result, a / result);\\n }\\n }\\n\\n /**\\n * @notice Calculates sqrt(a), following the selected rounding direction.\\n */\\n function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {\\n unchecked {\\n uint256 result = sqrt(a);\\n return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);\\n }\\n }\\n\\n /**\\n * @dev Return the log in base 2, rounded down, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log2(uint256 value) internal pure returns (uint256) {\\n uint256 result = 0;\\n unchecked {\\n if (value >> 128 > 0) {\\n value >>= 128;\\n result += 128;\\n }\\n if (value >> 64 > 0) {\\n value >>= 64;\\n result += 64;\\n }\\n if (value >> 32 > 0) {\\n value >>= 32;\\n result += 32;\\n }\\n if (value >> 16 > 0) {\\n value >>= 16;\\n result += 16;\\n }\\n if (value >> 8 > 0) {\\n value >>= 8;\\n result += 8;\\n }\\n if (value >> 4 > 0) {\\n value >>= 4;\\n result += 4;\\n }\\n if (value >> 2 > 0) {\\n value >>= 2;\\n result += 2;\\n }\\n if (value >> 1 > 0) {\\n result += 1;\\n }\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\\n unchecked {\\n uint256 result = log2(value);\\n return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);\\n }\\n }\\n\\n /**\\n * @dev Return the log in base 10, rounded down, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log10(uint256 value) internal pure returns (uint256) {\\n uint256 result = 0;\\n unchecked {\\n if (value >= 10 ** 64) {\\n value /= 10 ** 64;\\n result += 64;\\n }\\n if (value >= 10 ** 32) {\\n value /= 10 ** 32;\\n result += 32;\\n }\\n if (value >= 10 ** 16) {\\n value /= 10 ** 16;\\n result += 16;\\n }\\n if (value >= 10 ** 8) {\\n value /= 10 ** 8;\\n result += 8;\\n }\\n if (value >= 10 ** 4) {\\n value /= 10 ** 4;\\n result += 4;\\n }\\n if (value >= 10 ** 2) {\\n value /= 10 ** 2;\\n result += 2;\\n }\\n if (value >= 10 ** 1) {\\n result += 1;\\n }\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {\\n unchecked {\\n uint256 result = log10(value);\\n return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);\\n }\\n }\\n\\n /**\\n * @dev Return the log in base 256, rounded down, of a positive value.\\n * Returns 0 if given 0.\\n *\\n * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.\\n */\\n function log256(uint256 value) internal pure returns (uint256) {\\n uint256 result = 0;\\n unchecked {\\n if (value >> 128 > 0) {\\n value >>= 128;\\n result += 16;\\n }\\n if (value >> 64 > 0) {\\n value >>= 64;\\n result += 8;\\n }\\n if (value >> 32 > 0) {\\n value >>= 32;\\n result += 4;\\n }\\n if (value >> 16 > 0) {\\n value >>= 16;\\n result += 2;\\n }\\n if (value >> 8 > 0) {\\n result += 1;\\n }\\n }\\n return result;\\n }\\n\\n /**\\n * @dev Return the log in base 256, following the selected rounding direction, of a positive value.\\n * Returns 0 if given 0.\\n */\\n function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\\n unchecked {\\n uint256 result = log256(value);\\n return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);\\n }\\n }\\n}\\n\",\"keccak256\":\"0xe4455ac1eb7fc497bb7402579e7b4d64d928b846fce7d2b6fde06d366f21c2b3\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/math/SignedMath.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Standard signed math utilities missing in the Solidity language.\\n */\\nlibrary SignedMath {\\n /**\\n * @dev Returns the largest of two signed numbers.\\n */\\n function max(int256 a, int256 b) internal pure returns (int256) {\\n return a > b ? a : b;\\n }\\n\\n /**\\n * @dev Returns the smallest of two signed numbers.\\n */\\n function min(int256 a, int256 b) internal pure returns (int256) {\\n return a < b ? a : b;\\n }\\n\\n /**\\n * @dev Returns the average of two signed numbers without overflow.\\n * The result is rounded towards zero.\\n */\\n function average(int256 a, int256 b) internal pure returns (int256) {\\n // Formula from the book \\\"Hacker's Delight\\\"\\n int256 x = (a & b) + ((a ^ b) >> 1);\\n return x + (int256(uint256(x) >> 255) & (a ^ b));\\n }\\n\\n /**\\n * @dev Returns the absolute unsigned value of a signed value.\\n */\\n function abs(int256 n) internal pure returns (uint256) {\\n unchecked {\\n // must be unchecked in order to support `n = type(int256).min`\\n return uint256(n >= 0 ? n : -n);\\n }\\n }\\n}\\n\",\"keccak256\":\"0xf92515413956f529d95977adc9b0567d583c6203fc31ab1c23824c35187e3ddc\",\"license\":\"MIT\"},\"contracts/Common.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\n// A representation of an empty/uninitialized UID.\\nbytes32 constant EMPTY_UID = 0;\\n\\n// A zero expiration represents an non-expiring attestation.\\nuint64 constant NO_EXPIRATION_TIME = 0;\\n\\nerror AccessDenied();\\nerror DeadlineExpired();\\nerror InvalidEAS();\\nerror InvalidLength();\\nerror InvalidSignature();\\nerror NotFound();\\n\\n/// @notice A struct representing ECDSA signature data.\\nstruct Signature {\\n uint8 v; // The recovery ID.\\n bytes32 r; // The x-coordinate of the nonce R.\\n bytes32 s; // The signature data.\\n}\\n\\n/// @notice A struct representing a single attestation.\\nstruct Attestation {\\n bytes32 uid; // A unique identifier of the attestation.\\n bytes32 schema; // The unique identifier of the schema.\\n uint64 time; // The time when the attestation was created (Unix timestamp).\\n uint64 expirationTime; // The time when the attestation expires (Unix timestamp).\\n uint64 revocationTime; // The time when the attestation was revoked (Unix timestamp).\\n bytes32 refUID; // The UID of the related attestation.\\n address recipient; // The recipient of the attestation.\\n address attester; // The attester/sender of the attestation.\\n bool revocable; // Whether the attestation is revocable.\\n bytes data; // Custom attestation data.\\n}\\n\\n/// @notice A helper function to work with unchecked iterators in loops.\\nfunction uncheckedInc(uint256 i) pure returns (uint256 j) {\\n unchecked {\\n j = i + 1;\\n }\\n}\\n\",\"keccak256\":\"0x957bd2e6d0d6d637f86208b135c29fbaf4412cb08e5e7a61ede16b80561bf685\",\"license\":\"MIT\"},\"contracts/ISchemaRegistry.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport { ISchemaResolver } from \\\"./resolver/ISchemaResolver.sol\\\";\\n\\n/// @notice A struct representing a record for a submitted schema.\\nstruct SchemaRecord {\\n bytes32 uid; // The unique identifier of the schema.\\n ISchemaResolver resolver; // Optional schema resolver.\\n bool revocable; // Whether the schema allows revocations explicitly.\\n string schema; // Custom specification of the schema (e.g., an ABI).\\n}\\n\\n/// @title ISchemaRegistry\\n/// @notice The interface of global attestation schemas for the Ethereum Attestation Service protocol.\\ninterface ISchemaRegistry {\\n /// @notice Emitted when a new schema has been registered\\n /// @param uid The schema UID.\\n /// @param registerer The address of the account used to register the schema.\\n /// @param schema The schema data.\\n event Registered(bytes32 indexed uid, address indexed registerer, SchemaRecord schema);\\n\\n /// @notice Submits and reserves a new schema\\n /// @param schema The schema data schema.\\n /// @param resolver An optional schema resolver.\\n /// @param revocable Whether the schema allows revocations explicitly.\\n /// @return The UID of the new schema.\\n function register(string calldata schema, ISchemaResolver resolver, bool revocable) external returns (bytes32);\\n\\n /// @notice Returns an existing schema by UID\\n /// @param uid The UID of the schema to retrieve.\\n /// @return The schema data members.\\n function getSchema(bytes32 uid) external view returns (SchemaRecord memory);\\n}\\n\",\"keccak256\":\"0x772b1ebcf3e5c93fecb53762e11bbdae75fcb667deea4ac21134fccfe78326e4\",\"license\":\"MIT\"},\"contracts/SchemaRegistry.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity 0.8.19;\\n\\nimport { ISchemaResolver } from \\\"./resolver/ISchemaResolver.sol\\\";\\n\\nimport { EMPTY_UID } from \\\"./Common.sol\\\";\\nimport { Semver } from \\\"./Semver.sol\\\";\\nimport { ISchemaRegistry, SchemaRecord } from \\\"./ISchemaRegistry.sol\\\";\\n\\n/// @title SchemaRegistry\\n/// @notice The global schema registry.\\ncontract SchemaRegistry is ISchemaRegistry, Semver {\\n error AlreadyExists();\\n\\n // The global mapping between schema records and their IDs.\\n mapping(bytes32 uid => SchemaRecord schemaRecord) private _registry;\\n\\n /// @dev Creates a new SchemaRegistry instance.\\n constructor() Semver(1, 2, 0) {}\\n\\n /// @inheritdoc ISchemaRegistry\\n function register(string calldata schema, ISchemaResolver resolver, bool revocable) external returns (bytes32) {\\n SchemaRecord memory schemaRecord = SchemaRecord({\\n uid: EMPTY_UID,\\n schema: schema,\\n resolver: resolver,\\n revocable: revocable\\n });\\n\\n bytes32 uid = _getUID(schemaRecord);\\n if (_registry[uid].uid != EMPTY_UID) {\\n revert AlreadyExists();\\n }\\n\\n schemaRecord.uid = uid;\\n _registry[uid] = schemaRecord;\\n\\n emit Registered(uid, msg.sender, schemaRecord);\\n\\n return uid;\\n }\\n\\n /// @inheritdoc ISchemaRegistry\\n function getSchema(bytes32 uid) external view returns (SchemaRecord memory) {\\n return _registry[uid];\\n }\\n\\n /// @dev Calculates a UID for a given schema.\\n /// @param schemaRecord The input schema.\\n /// @return schema UID.\\n function _getUID(SchemaRecord memory schemaRecord) private pure returns (bytes32) {\\n return keccak256(abi.encodePacked(schemaRecord.schema, schemaRecord.resolver, schemaRecord.revocable));\\n }\\n}\\n\",\"keccak256\":\"0xcb0f2a8edb56bc5bba9d81d7501f3911c257e8dcf905ea7428e37a45c441d901\",\"license\":\"MIT\"},\"contracts/Semver.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.4;\\n\\nimport { Strings } from \\\"@openzeppelin/contracts/utils/Strings.sol\\\";\\n\\n/// @title Semver\\n/// @notice A simple contract for managing contract versions.\\ncontract Semver {\\n // Contract's major version number.\\n uint256 private immutable _major;\\n\\n // Contract's minor version number.\\n uint256 private immutable _minor;\\n\\n // Contract's patch version number.\\n uint256 private immutable _path;\\n\\n /// @dev Create a new Semver instance.\\n /// @param major Major version number.\\n /// @param minor Minor version number.\\n /// @param patch Patch version number.\\n constructor(uint256 major, uint256 minor, uint256 patch) {\\n _major = major;\\n _minor = minor;\\n _path = patch;\\n }\\n\\n /// @notice Returns the full semver contract version.\\n /// @return Semver contract version as a string.\\n function version() external view returns (string memory) {\\n return\\n string(\\n abi.encodePacked(Strings.toString(_major), \\\".\\\", Strings.toString(_minor), \\\".\\\", Strings.toString(_path))\\n );\\n }\\n}\\n\",\"keccak256\":\"0x5883c852730b00d73b10475f3b382afce8f30b89f337078ec03a66c463e048a8\",\"license\":\"MIT\"},\"contracts/resolver/ISchemaResolver.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport { Attestation } from \\\"../Common.sol\\\";\\n\\n/// @title ISchemaResolver\\n/// @notice The interface of an optional schema resolver.\\ninterface ISchemaResolver {\\n /// @notice Checks if the resolver can be sent ETH.\\n /// @return Whether the resolver supports ETH transfers.\\n function isPayable() external pure returns (bool);\\n\\n /// @notice Processes an attestation and verifies whether it's valid.\\n /// @param attestation The new attestation.\\n /// @return Whether the attestation is valid.\\n function attest(Attestation calldata attestation) external payable returns (bool);\\n\\n /// @notice Processes multiple attestations and verifies whether they are valid.\\n /// @param attestations The new attestations.\\n /// @param values Explicit ETH amounts which were sent with each attestation.\\n /// @return Whether all the attestations are valid.\\n function multiAttest(\\n Attestation[] calldata attestations,\\n uint256[] calldata values\\n ) external payable returns (bool);\\n\\n /// @notice Processes an attestation revocation and verifies if it can be revoked.\\n /// @param attestation The existing attestation to be revoked.\\n /// @return Whether the attestation can be revoked.\\n function revoke(Attestation calldata attestation) external payable returns (bool);\\n\\n /// @notice Processes revocation of multiple attestation and verifies they can be revoked.\\n /// @param attestations The existing attestations to be revoked.\\n /// @param values Explicit ETH amounts which were sent with each revocation.\\n /// @return Whether the attestations can be revoked.\\n function multiRevoke(\\n Attestation[] calldata attestations,\\n uint256[] calldata values\\n ) external payable returns (bool);\\n}\\n\",\"keccak256\":\"0xb74b64e20b90b35004750d2c78ceb114a304975d22d71bd9a2a9de0d483f0395\",\"license\":\"MIT\"}},\"version\":1}", + "bytecode": "0x60e060405234801561001057600080fd5b506001608052600260a052600060c05260805160a05160c051610a8461004c600039600060fe0152600060d50152600060ac0152610a846000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806354fd4d501461004657806360d7a27814610064578063a2ea7c6e14610085575b600080fd5b61004e6100a5565b60405161005b9190610683565b60405180910390f35b61007761007236600461069d565b610148565b60405190815260200161005b565b61009861009336600461074f565b61030c565b60405161005b9190610768565b60606100d07f0000000000000000000000000000000000000000000000000000000000000000610434565b6100f97f0000000000000000000000000000000000000000000000000000000000000000610434565b6101227f0000000000000000000000000000000000000000000000000000000000000000610434565b604051602001610134939291906107c1565b604051602081830303815290604052905090565b60008060405180608001604052806000801b81526020018573ffffffffffffffffffffffffffffffffffffffff168152602001841515815260200187878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250939094525092935091506101ca9050826104f2565b60008181526020819052604090205490915015610213576040517f23369fa600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80825260008181526020818152604091829020845181559084015160018201805493860151151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00000000000000000000000000000000000000000090941673ffffffffffffffffffffffffffffffffffffffff9092169190911792909217909155606083015183919060028201906102af9082610908565b509050503373ffffffffffffffffffffffffffffffffffffffff16817fd0b86852e21f9e5fa4bc3b0cff9757ffe243d50c4b43968a42202153d651ea5e846040516102fa9190610768565b60405180910390a39695505050505050565b604080516080810182526000808252602082018190529181019190915260608082015260008281526020818152604091829020825160808101845281548152600182015473ffffffffffffffffffffffffffffffffffffffff8116938201939093527401000000000000000000000000000000000000000090920460ff161515928201929092526002820180549192916060840191906103ab90610866565b80601f01602080910402602001604051908101604052809291908181526020018280546103d790610866565b80156104245780601f106103f957610100808354040283529160200191610424565b820191906000526020600020905b81548152906001019060200180831161040757829003601f168201915b5050505050815250509050919050565b6060600061044183610532565b600101905060008167ffffffffffffffff81111561046157610461610837565b6040519080825280601f01601f19166020018201604052801561048b576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a850494508461049557509392505050565b600081606001518260200151836040015160405160200161051593929190610a22565b604051602081830303815290604052805190602001209050919050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061057b577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef810000000083106105a7576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106105c557662386f26fc10000830492506010015b6305f5e10083106105dd576305f5e100830492506008015b61271083106105f157612710830492506004015b60648310610603576064830492506002015b600a831061060f576001015b92915050565b60005b83811015610630578181015183820152602001610618565b50506000910152565b60008151808452610651816020860160208601610615565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006106966020830184610639565b9392505050565b600080600080606085870312156106b357600080fd5b843567ffffffffffffffff808211156106cb57600080fd5b818701915087601f8301126106df57600080fd5b8135818111156106ee57600080fd5b88602082850101111561070057600080fd5b6020928301965094505085013573ffffffffffffffffffffffffffffffffffffffff8116811461072f57600080fd5b91506040850135801515811461074457600080fd5b939692955090935050565b60006020828403121561076157600080fd5b5035919050565b602081528151602082015273ffffffffffffffffffffffffffffffffffffffff6020830151166040820152604082015115156060820152600060608301516080808401526107b960a0840182610639565b949350505050565b600084516107d3818460208901610615565b80830190507f2e00000000000000000000000000000000000000000000000000000000000000808252855161080f816001850160208a01610615565b6001920191820152835161082a816002840160208801610615565b0160020195945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600181811c9082168061087a57607f821691505b6020821081036108b3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f82111561090357600081815260208120601f850160051c810160208610156108e05750805b601f850160051c820191505b818110156108ff578281556001016108ec565b5050505b505050565b815167ffffffffffffffff81111561092257610922610837565b610936816109308454610866565b846108b9565b602080601f83116001811461098957600084156109535750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b1785556108ff565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b828110156109d6578886015182559484019460019091019084016109b7565b5085821015610a1257878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b60008451610a34818460208901610615565b60609490941b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000169190930190815290151560f81b60148201526015019291505056fea164736f6c6343000813000a", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c806354fd4d501461004657806360d7a27814610064578063a2ea7c6e14610085575b600080fd5b61004e6100a5565b60405161005b9190610683565b60405180910390f35b61007761007236600461069d565b610148565b60405190815260200161005b565b61009861009336600461074f565b61030c565b60405161005b9190610768565b60606100d07f0000000000000000000000000000000000000000000000000000000000000000610434565b6100f97f0000000000000000000000000000000000000000000000000000000000000000610434565b6101227f0000000000000000000000000000000000000000000000000000000000000000610434565b604051602001610134939291906107c1565b604051602081830303815290604052905090565b60008060405180608001604052806000801b81526020018573ffffffffffffffffffffffffffffffffffffffff168152602001841515815260200187878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250939094525092935091506101ca9050826104f2565b60008181526020819052604090205490915015610213576040517f23369fa600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80825260008181526020818152604091829020845181559084015160018201805493860151151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00000000000000000000000000000000000000000090941673ffffffffffffffffffffffffffffffffffffffff9092169190911792909217909155606083015183919060028201906102af9082610908565b509050503373ffffffffffffffffffffffffffffffffffffffff16817fd0b86852e21f9e5fa4bc3b0cff9757ffe243d50c4b43968a42202153d651ea5e846040516102fa9190610768565b60405180910390a39695505050505050565b604080516080810182526000808252602082018190529181019190915260608082015260008281526020818152604091829020825160808101845281548152600182015473ffffffffffffffffffffffffffffffffffffffff8116938201939093527401000000000000000000000000000000000000000090920460ff161515928201929092526002820180549192916060840191906103ab90610866565b80601f01602080910402602001604051908101604052809291908181526020018280546103d790610866565b80156104245780601f106103f957610100808354040283529160200191610424565b820191906000526020600020905b81548152906001019060200180831161040757829003601f168201915b5050505050815250509050919050565b6060600061044183610532565b600101905060008167ffffffffffffffff81111561046157610461610837565b6040519080825280601f01601f19166020018201604052801561048b576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a850494508461049557509392505050565b600081606001518260200151836040015160405160200161051593929190610a22565b604051602081830303815290604052805190602001209050919050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061057b577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef810000000083106105a7576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106105c557662386f26fc10000830492506010015b6305f5e10083106105dd576305f5e100830492506008015b61271083106105f157612710830492506004015b60648310610603576064830492506002015b600a831061060f576001015b92915050565b60005b83811015610630578181015183820152602001610618565b50506000910152565b60008151808452610651816020860160208601610615565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006106966020830184610639565b9392505050565b600080600080606085870312156106b357600080fd5b843567ffffffffffffffff808211156106cb57600080fd5b818701915087601f8301126106df57600080fd5b8135818111156106ee57600080fd5b88602082850101111561070057600080fd5b6020928301965094505085013573ffffffffffffffffffffffffffffffffffffffff8116811461072f57600080fd5b91506040850135801515811461074457600080fd5b939692955090935050565b60006020828403121561076157600080fd5b5035919050565b602081528151602082015273ffffffffffffffffffffffffffffffffffffffff6020830151166040820152604082015115156060820152600060608301516080808401526107b960a0840182610639565b949350505050565b600084516107d3818460208901610615565b80830190507f2e00000000000000000000000000000000000000000000000000000000000000808252855161080f816001850160208a01610615565b6001920191820152835161082a816002840160208801610615565b0160020195945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600181811c9082168061087a57607f821691505b6020821081036108b3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f82111561090357600081815260208120601f850160051c810160208610156108e05750805b601f850160051c820191505b818110156108ff578281556001016108ec565b5050505b505050565b815167ffffffffffffffff81111561092257610922610837565b610936816109308454610866565b846108b9565b602080601f83116001811461098957600084156109535750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b1785556108ff565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b828110156109d6578886015182559484019460019091019084016109b7565b5085821015610a1257878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b60008451610a34818460208901610615565b60609490941b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000169190930190815290151560f81b60148201526015019291505056fea164736f6c6343000813000a", + "devdoc": { + "events": { + "Registered(bytes32,address,(bytes32,address,bool,string))": { + "params": { + "registerer": "The address of the account used to register the schema.", + "schema": "The schema data.", + "uid": "The schema UID." + } + } + }, + "kind": "dev", + "methods": { + "constructor": { + "details": "Creates a new SchemaRegistry instance." + }, + "getSchema(bytes32)": { + "params": { + "uid": "The UID of the schema to retrieve." + }, + "returns": { + "_0": "The schema data members." + } + }, + "register(string,address,bool)": { + "params": { + "resolver": "An optional schema resolver.", + "revocable": "Whether the schema allows revocations explicitly.", + "schema": "The schema data schema." + }, + "returns": { + "_0": "The UID of the new schema." + } + }, + "version()": { + "returns": { + "_0": "Semver contract version as a string." + } + } + }, + "title": "SchemaRegistry", + "version": 1 + }, + "userdoc": { + "events": { + "Registered(bytes32,address,(bytes32,address,bool,string))": { + "notice": "Emitted when a new schema has been registered" + } + }, + "kind": "user", + "methods": { + "getSchema(bytes32)": { + "notice": "Returns an existing schema by UID" + }, + "register(string,address,bool)": { + "notice": "Submits and reserves a new schema" + }, + "version()": { + "notice": "Returns the full semver contract version." + } + }, + "notice": "The global schema registry.", + "version": 1 + }, + "storageLayout": { + "storage": [ + { + "astId": 6182, + "contract": "contracts/SchemaRegistry.sol:SchemaRegistry", + "label": "_registry", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_bytes32,t_struct(SchemaRecord)6125_storage)" + } + ], + "types": { + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(ISchemaResolver)7768": { + "encoding": "inplace", + "label": "contract ISchemaResolver", + "numberOfBytes": "20" + }, + "t_mapping(t_bytes32,t_struct(SchemaRecord)6125_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct SchemaRecord)", + "numberOfBytes": "32", + "value": "t_struct(SchemaRecord)6125_storage" + }, + "t_string_storage": { + "encoding": "bytes", + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(SchemaRecord)6125_storage": { + "encoding": "inplace", + "label": "struct SchemaRecord", + "members": [ + { + "astId": 6117, + "contract": "contracts/SchemaRegistry.sol:SchemaRegistry", + "label": "uid", + "offset": 0, + "slot": "0", + "type": "t_bytes32" + }, + { + "astId": 6120, + "contract": "contracts/SchemaRegistry.sol:SchemaRegistry", + "label": "resolver", + "offset": 0, + "slot": "1", + "type": "t_contract(ISchemaResolver)7768" + }, + { + "astId": 6122, + "contract": "contracts/SchemaRegistry.sol:SchemaRegistry", + "label": "revocable", + "offset": 20, + "slot": "1", + "type": "t_bool" + }, + { + "astId": 6124, + "contract": "contracts/SchemaRegistry.sol:SchemaRegistry", + "label": "schema", + "offset": 0, + "slot": "2", + "type": "t_string_storage" + } + ], + "numberOfBytes": "96" + } + } + } +} \ No newline at end of file diff --git a/deployments/polygon-mumbai/types/contracts/EAS.ts b/deployments/polygon-mumbai/types/contracts/EAS.ts new file mode 100644 index 0000000..62f1239 --- /dev/null +++ b/deployments/polygon-mumbai/types/contracts/EAS.ts @@ -0,0 +1,956 @@ +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +import type { + BaseContract, + BigNumberish, + BytesLike, + FunctionFragment, + Result, + Interface, + EventFragment, + AddressLike, + ContractRunner, + ContractMethod, + Listener, +} from "ethers"; +import type { + TypedContractEvent, + TypedDeferredTopicFilter, + TypedEventLog, + TypedLogDescription, + TypedListener, + TypedContractMethod, +} from "../common"; + +export type AttestationRequestDataStruct = { + recipient: AddressLike; + expirationTime: BigNumberish; + revocable: boolean; + refUID: BytesLike; + data: BytesLike; + value: BigNumberish; +}; + +export type AttestationRequestDataStructOutput = [ + recipient: string, + expirationTime: bigint, + revocable: boolean, + refUID: string, + data: string, + value: bigint +] & { + recipient: string; + expirationTime: bigint; + revocable: boolean; + refUID: string; + data: string; + value: bigint; +}; + +export type AttestationRequestStruct = { + schema: BytesLike; + data: AttestationRequestDataStruct; +}; + +export type AttestationRequestStructOutput = [ + schema: string, + data: AttestationRequestDataStructOutput +] & { schema: string; data: AttestationRequestDataStructOutput }; + +export type SignatureStruct = { v: BigNumberish; r: BytesLike; s: BytesLike }; + +export type SignatureStructOutput = [v: bigint, r: string, s: string] & { + v: bigint; + r: string; + s: string; +}; + +export type DelegatedAttestationRequestStruct = { + schema: BytesLike; + data: AttestationRequestDataStruct; + signature: SignatureStruct; + attester: AddressLike; + deadline: BigNumberish; +}; + +export type DelegatedAttestationRequestStructOutput = [ + schema: string, + data: AttestationRequestDataStructOutput, + signature: SignatureStructOutput, + attester: string, + deadline: bigint +] & { + schema: string; + data: AttestationRequestDataStructOutput; + signature: SignatureStructOutput; + attester: string; + deadline: bigint; +}; + +export type AttestationStruct = { + uid: BytesLike; + schema: BytesLike; + time: BigNumberish; + expirationTime: BigNumberish; + revocationTime: BigNumberish; + refUID: BytesLike; + recipient: AddressLike; + attester: AddressLike; + revocable: boolean; + data: BytesLike; +}; + +export type AttestationStructOutput = [ + uid: string, + schema: string, + time: bigint, + expirationTime: bigint, + revocationTime: bigint, + refUID: string, + recipient: string, + attester: string, + revocable: boolean, + data: string +] & { + uid: string; + schema: string; + time: bigint; + expirationTime: bigint; + revocationTime: bigint; + refUID: string; + recipient: string; + attester: string; + revocable: boolean; + data: string; +}; + +export type MultiAttestationRequestStruct = { + schema: BytesLike; + data: AttestationRequestDataStruct[]; +}; + +export type MultiAttestationRequestStructOutput = [ + schema: string, + data: AttestationRequestDataStructOutput[] +] & { schema: string; data: AttestationRequestDataStructOutput[] }; + +export type MultiDelegatedAttestationRequestStruct = { + schema: BytesLike; + data: AttestationRequestDataStruct[]; + signatures: SignatureStruct[]; + attester: AddressLike; + deadline: BigNumberish; +}; + +export type MultiDelegatedAttestationRequestStructOutput = [ + schema: string, + data: AttestationRequestDataStructOutput[], + signatures: SignatureStructOutput[], + attester: string, + deadline: bigint +] & { + schema: string; + data: AttestationRequestDataStructOutput[]; + signatures: SignatureStructOutput[]; + attester: string; + deadline: bigint; +}; + +export type RevocationRequestDataStruct = { + uid: BytesLike; + value: BigNumberish; +}; + +export type RevocationRequestDataStructOutput = [uid: string, value: bigint] & { + uid: string; + value: bigint; +}; + +export type MultiRevocationRequestStruct = { + schema: BytesLike; + data: RevocationRequestDataStruct[]; +}; + +export type MultiRevocationRequestStructOutput = [ + schema: string, + data: RevocationRequestDataStructOutput[] +] & { schema: string; data: RevocationRequestDataStructOutput[] }; + +export type MultiDelegatedRevocationRequestStruct = { + schema: BytesLike; + data: RevocationRequestDataStruct[]; + signatures: SignatureStruct[]; + revoker: AddressLike; + deadline: BigNumberish; +}; + +export type MultiDelegatedRevocationRequestStructOutput = [ + schema: string, + data: RevocationRequestDataStructOutput[], + signatures: SignatureStructOutput[], + revoker: string, + deadline: bigint +] & { + schema: string; + data: RevocationRequestDataStructOutput[]; + signatures: SignatureStructOutput[]; + revoker: string; + deadline: bigint; +}; + +export type RevocationRequestStruct = { + schema: BytesLike; + data: RevocationRequestDataStruct; +}; + +export type RevocationRequestStructOutput = [ + schema: string, + data: RevocationRequestDataStructOutput +] & { schema: string; data: RevocationRequestDataStructOutput }; + +export type DelegatedRevocationRequestStruct = { + schema: BytesLike; + data: RevocationRequestDataStruct; + signature: SignatureStruct; + revoker: AddressLike; + deadline: BigNumberish; +}; + +export type DelegatedRevocationRequestStructOutput = [ + schema: string, + data: RevocationRequestDataStructOutput, + signature: SignatureStructOutput, + revoker: string, + deadline: bigint +] & { + schema: string; + data: RevocationRequestDataStructOutput; + signature: SignatureStructOutput; + revoker: string; + deadline: bigint; +}; + +export interface EASInterface extends Interface { + getFunction( + nameOrSignature: + | "attest" + | "attestByDelegation" + | "eip712Domain" + | "getAttestTypeHash" + | "getAttestation" + | "getDomainSeparator" + | "getName" + | "getNonce" + | "getRevokeOffchain" + | "getRevokeTypeHash" + | "getSchemaRegistry" + | "getTimestamp" + | "increaseNonce" + | "isAttestationValid" + | "multiAttest" + | "multiAttestByDelegation" + | "multiRevoke" + | "multiRevokeByDelegation" + | "multiRevokeOffchain" + | "multiTimestamp" + | "revoke" + | "revokeByDelegation" + | "revokeOffchain" + | "timestamp" + | "version" + ): FunctionFragment; + + getEvent( + nameOrSignatureOrTopic: + | "Attested" + | "EIP712DomainChanged" + | "NonceIncreased" + | "Revoked" + | "RevokedOffchain" + | "Timestamped" + ): EventFragment; + + encodeFunctionData( + functionFragment: "attest", + values: [AttestationRequestStruct] + ): string; + encodeFunctionData( + functionFragment: "attestByDelegation", + values: [DelegatedAttestationRequestStruct] + ): string; + encodeFunctionData( + functionFragment: "eip712Domain", + values?: undefined + ): string; + encodeFunctionData( + functionFragment: "getAttestTypeHash", + values?: undefined + ): string; + encodeFunctionData( + functionFragment: "getAttestation", + values: [BytesLike] + ): string; + encodeFunctionData( + functionFragment: "getDomainSeparator", + values?: undefined + ): string; + encodeFunctionData(functionFragment: "getName", values?: undefined): string; + encodeFunctionData( + functionFragment: "getNonce", + values: [AddressLike] + ): string; + encodeFunctionData( + functionFragment: "getRevokeOffchain", + values: [AddressLike, BytesLike] + ): string; + encodeFunctionData( + functionFragment: "getRevokeTypeHash", + values?: undefined + ): string; + encodeFunctionData( + functionFragment: "getSchemaRegistry", + values?: undefined + ): string; + encodeFunctionData( + functionFragment: "getTimestamp", + values: [BytesLike] + ): string; + encodeFunctionData( + functionFragment: "increaseNonce", + values: [BigNumberish] + ): string; + encodeFunctionData( + functionFragment: "isAttestationValid", + values: [BytesLike] + ): string; + encodeFunctionData( + functionFragment: "multiAttest", + values: [MultiAttestationRequestStruct[]] + ): string; + encodeFunctionData( + functionFragment: "multiAttestByDelegation", + values: [MultiDelegatedAttestationRequestStruct[]] + ): string; + encodeFunctionData( + functionFragment: "multiRevoke", + values: [MultiRevocationRequestStruct[]] + ): string; + encodeFunctionData( + functionFragment: "multiRevokeByDelegation", + values: [MultiDelegatedRevocationRequestStruct[]] + ): string; + encodeFunctionData( + functionFragment: "multiRevokeOffchain", + values: [BytesLike[]] + ): string; + encodeFunctionData( + functionFragment: "multiTimestamp", + values: [BytesLike[]] + ): string; + encodeFunctionData( + functionFragment: "revoke", + values: [RevocationRequestStruct] + ): string; + encodeFunctionData( + functionFragment: "revokeByDelegation", + values: [DelegatedRevocationRequestStruct] + ): string; + encodeFunctionData( + functionFragment: "revokeOffchain", + values: [BytesLike] + ): string; + encodeFunctionData( + functionFragment: "timestamp", + values: [BytesLike] + ): string; + encodeFunctionData(functionFragment: "version", values?: undefined): string; + + decodeFunctionResult(functionFragment: "attest", data: BytesLike): Result; + decodeFunctionResult( + functionFragment: "attestByDelegation", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "eip712Domain", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "getAttestTypeHash", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "getAttestation", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "getDomainSeparator", + data: BytesLike + ): Result; + decodeFunctionResult(functionFragment: "getName", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getNonce", data: BytesLike): Result; + decodeFunctionResult( + functionFragment: "getRevokeOffchain", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "getRevokeTypeHash", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "getSchemaRegistry", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "getTimestamp", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "increaseNonce", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "isAttestationValid", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "multiAttest", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "multiAttestByDelegation", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "multiRevoke", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "multiRevokeByDelegation", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "multiRevokeOffchain", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "multiTimestamp", + data: BytesLike + ): Result; + decodeFunctionResult(functionFragment: "revoke", data: BytesLike): Result; + decodeFunctionResult( + functionFragment: "revokeByDelegation", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "revokeOffchain", + data: BytesLike + ): Result; + decodeFunctionResult(functionFragment: "timestamp", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "version", data: BytesLike): Result; +} + +export namespace AttestedEvent { + export type InputTuple = [ + recipient: AddressLike, + attester: AddressLike, + uid: BytesLike, + schemaUID: BytesLike + ]; + export type OutputTuple = [ + recipient: string, + attester: string, + uid: string, + schemaUID: string + ]; + export interface OutputObject { + recipient: string; + attester: string; + uid: string; + schemaUID: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export namespace EIP712DomainChangedEvent { + export type InputTuple = []; + export type OutputTuple = []; + export interface OutputObject {} + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export namespace NonceIncreasedEvent { + export type InputTuple = [oldNonce: BigNumberish, newNonce: BigNumberish]; + export type OutputTuple = [oldNonce: bigint, newNonce: bigint]; + export interface OutputObject { + oldNonce: bigint; + newNonce: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export namespace RevokedEvent { + export type InputTuple = [ + recipient: AddressLike, + attester: AddressLike, + uid: BytesLike, + schemaUID: BytesLike + ]; + export type OutputTuple = [ + recipient: string, + attester: string, + uid: string, + schemaUID: string + ]; + export interface OutputObject { + recipient: string; + attester: string; + uid: string; + schemaUID: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export namespace RevokedOffchainEvent { + export type InputTuple = [ + revoker: AddressLike, + data: BytesLike, + timestamp: BigNumberish + ]; + export type OutputTuple = [revoker: string, data: string, timestamp: bigint]; + export interface OutputObject { + revoker: string; + data: string; + timestamp: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export namespace TimestampedEvent { + export type InputTuple = [data: BytesLike, timestamp: BigNumberish]; + export type OutputTuple = [data: string, timestamp: bigint]; + export interface OutputObject { + data: string; + timestamp: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export interface EAS extends BaseContract { + connect(runner?: ContractRunner | null): EAS; + waitForDeployment(): Promise; + + interface: EASInterface; + + queryFilter( + event: TCEvent, + fromBlockOrBlockhash?: string | number | undefined, + toBlock?: string | number | undefined + ): Promise>>; + queryFilter( + filter: TypedDeferredTopicFilter, + fromBlockOrBlockhash?: string | number | undefined, + toBlock?: string | number | undefined + ): Promise>>; + + on( + event: TCEvent, + listener: TypedListener + ): Promise; + on( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; + + once( + event: TCEvent, + listener: TypedListener + ): Promise; + once( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; + + listeners( + event: TCEvent + ): Promise>>; + listeners(eventName?: string): Promise>; + removeAllListeners( + event?: TCEvent + ): Promise; + + attest: TypedContractMethod< + [request: AttestationRequestStruct], + [string], + "payable" + >; + + attestByDelegation: TypedContractMethod< + [delegatedRequest: DelegatedAttestationRequestStruct], + [string], + "payable" + >; + + eip712Domain: TypedContractMethod< + [], + [ + [string, string, string, bigint, string, string, bigint[]] & { + fields: string; + name: string; + version: string; + chainId: bigint; + verifyingContract: string; + salt: string; + extensions: bigint[]; + } + ], + "view" + >; + + getAttestTypeHash: TypedContractMethod<[], [string], "view">; + + getAttestation: TypedContractMethod< + [uid: BytesLike], + [AttestationStructOutput], + "view" + >; + + getDomainSeparator: TypedContractMethod<[], [string], "view">; + + getName: TypedContractMethod<[], [string], "view">; + + getNonce: TypedContractMethod<[account: AddressLike], [bigint], "view">; + + getRevokeOffchain: TypedContractMethod< + [revoker: AddressLike, data: BytesLike], + [bigint], + "view" + >; + + getRevokeTypeHash: TypedContractMethod<[], [string], "view">; + + getSchemaRegistry: TypedContractMethod<[], [string], "view">; + + getTimestamp: TypedContractMethod<[data: BytesLike], [bigint], "view">; + + increaseNonce: TypedContractMethod< + [newNonce: BigNumberish], + [void], + "nonpayable" + >; + + isAttestationValid: TypedContractMethod<[uid: BytesLike], [boolean], "view">; + + multiAttest: TypedContractMethod< + [multiRequests: MultiAttestationRequestStruct[]], + [string[]], + "payable" + >; + + multiAttestByDelegation: TypedContractMethod< + [multiDelegatedRequests: MultiDelegatedAttestationRequestStruct[]], + [string[]], + "payable" + >; + + multiRevoke: TypedContractMethod< + [multiRequests: MultiRevocationRequestStruct[]], + [void], + "payable" + >; + + multiRevokeByDelegation: TypedContractMethod< + [multiDelegatedRequests: MultiDelegatedRevocationRequestStruct[]], + [void], + "payable" + >; + + multiRevokeOffchain: TypedContractMethod< + [data: BytesLike[]], + [bigint], + "nonpayable" + >; + + multiTimestamp: TypedContractMethod< + [data: BytesLike[]], + [bigint], + "nonpayable" + >; + + revoke: TypedContractMethod< + [request: RevocationRequestStruct], + [void], + "payable" + >; + + revokeByDelegation: TypedContractMethod< + [delegatedRequest: DelegatedRevocationRequestStruct], + [void], + "payable" + >; + + revokeOffchain: TypedContractMethod< + [data: BytesLike], + [bigint], + "nonpayable" + >; + + timestamp: TypedContractMethod<[data: BytesLike], [bigint], "nonpayable">; + + version: TypedContractMethod<[], [string], "view">; + + getFunction( + key: string | FunctionFragment + ): T; + + getFunction( + nameOrSignature: "attest" + ): TypedContractMethod< + [request: AttestationRequestStruct], + [string], + "payable" + >; + getFunction( + nameOrSignature: "attestByDelegation" + ): TypedContractMethod< + [delegatedRequest: DelegatedAttestationRequestStruct], + [string], + "payable" + >; + getFunction( + nameOrSignature: "eip712Domain" + ): TypedContractMethod< + [], + [ + [string, string, string, bigint, string, string, bigint[]] & { + fields: string; + name: string; + version: string; + chainId: bigint; + verifyingContract: string; + salt: string; + extensions: bigint[]; + } + ], + "view" + >; + getFunction( + nameOrSignature: "getAttestTypeHash" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "getAttestation" + ): TypedContractMethod<[uid: BytesLike], [AttestationStructOutput], "view">; + getFunction( + nameOrSignature: "getDomainSeparator" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "getName" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "getNonce" + ): TypedContractMethod<[account: AddressLike], [bigint], "view">; + getFunction( + nameOrSignature: "getRevokeOffchain" + ): TypedContractMethod< + [revoker: AddressLike, data: BytesLike], + [bigint], + "view" + >; + getFunction( + nameOrSignature: "getRevokeTypeHash" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "getSchemaRegistry" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "getTimestamp" + ): TypedContractMethod<[data: BytesLike], [bigint], "view">; + getFunction( + nameOrSignature: "increaseNonce" + ): TypedContractMethod<[newNonce: BigNumberish], [void], "nonpayable">; + getFunction( + nameOrSignature: "isAttestationValid" + ): TypedContractMethod<[uid: BytesLike], [boolean], "view">; + getFunction( + nameOrSignature: "multiAttest" + ): TypedContractMethod< + [multiRequests: MultiAttestationRequestStruct[]], + [string[]], + "payable" + >; + getFunction( + nameOrSignature: "multiAttestByDelegation" + ): TypedContractMethod< + [multiDelegatedRequests: MultiDelegatedAttestationRequestStruct[]], + [string[]], + "payable" + >; + getFunction( + nameOrSignature: "multiRevoke" + ): TypedContractMethod< + [multiRequests: MultiRevocationRequestStruct[]], + [void], + "payable" + >; + getFunction( + nameOrSignature: "multiRevokeByDelegation" + ): TypedContractMethod< + [multiDelegatedRequests: MultiDelegatedRevocationRequestStruct[]], + [void], + "payable" + >; + getFunction( + nameOrSignature: "multiRevokeOffchain" + ): TypedContractMethod<[data: BytesLike[]], [bigint], "nonpayable">; + getFunction( + nameOrSignature: "multiTimestamp" + ): TypedContractMethod<[data: BytesLike[]], [bigint], "nonpayable">; + getFunction( + nameOrSignature: "revoke" + ): TypedContractMethod<[request: RevocationRequestStruct], [void], "payable">; + getFunction( + nameOrSignature: "revokeByDelegation" + ): TypedContractMethod< + [delegatedRequest: DelegatedRevocationRequestStruct], + [void], + "payable" + >; + getFunction( + nameOrSignature: "revokeOffchain" + ): TypedContractMethod<[data: BytesLike], [bigint], "nonpayable">; + getFunction( + nameOrSignature: "timestamp" + ): TypedContractMethod<[data: BytesLike], [bigint], "nonpayable">; + getFunction( + nameOrSignature: "version" + ): TypedContractMethod<[], [string], "view">; + + getEvent( + key: "Attested" + ): TypedContractEvent< + AttestedEvent.InputTuple, + AttestedEvent.OutputTuple, + AttestedEvent.OutputObject + >; + getEvent( + key: "EIP712DomainChanged" + ): TypedContractEvent< + EIP712DomainChangedEvent.InputTuple, + EIP712DomainChangedEvent.OutputTuple, + EIP712DomainChangedEvent.OutputObject + >; + getEvent( + key: "NonceIncreased" + ): TypedContractEvent< + NonceIncreasedEvent.InputTuple, + NonceIncreasedEvent.OutputTuple, + NonceIncreasedEvent.OutputObject + >; + getEvent( + key: "Revoked" + ): TypedContractEvent< + RevokedEvent.InputTuple, + RevokedEvent.OutputTuple, + RevokedEvent.OutputObject + >; + getEvent( + key: "RevokedOffchain" + ): TypedContractEvent< + RevokedOffchainEvent.InputTuple, + RevokedOffchainEvent.OutputTuple, + RevokedOffchainEvent.OutputObject + >; + getEvent( + key: "Timestamped" + ): TypedContractEvent< + TimestampedEvent.InputTuple, + TimestampedEvent.OutputTuple, + TimestampedEvent.OutputObject + >; + + filters: { + "Attested(address,address,bytes32,bytes32)": TypedContractEvent< + AttestedEvent.InputTuple, + AttestedEvent.OutputTuple, + AttestedEvent.OutputObject + >; + Attested: TypedContractEvent< + AttestedEvent.InputTuple, + AttestedEvent.OutputTuple, + AttestedEvent.OutputObject + >; + + "EIP712DomainChanged()": TypedContractEvent< + EIP712DomainChangedEvent.InputTuple, + EIP712DomainChangedEvent.OutputTuple, + EIP712DomainChangedEvent.OutputObject + >; + EIP712DomainChanged: TypedContractEvent< + EIP712DomainChangedEvent.InputTuple, + EIP712DomainChangedEvent.OutputTuple, + EIP712DomainChangedEvent.OutputObject + >; + + "NonceIncreased(uint256,uint256)": TypedContractEvent< + NonceIncreasedEvent.InputTuple, + NonceIncreasedEvent.OutputTuple, + NonceIncreasedEvent.OutputObject + >; + NonceIncreased: TypedContractEvent< + NonceIncreasedEvent.InputTuple, + NonceIncreasedEvent.OutputTuple, + NonceIncreasedEvent.OutputObject + >; + + "Revoked(address,address,bytes32,bytes32)": TypedContractEvent< + RevokedEvent.InputTuple, + RevokedEvent.OutputTuple, + RevokedEvent.OutputObject + >; + Revoked: TypedContractEvent< + RevokedEvent.InputTuple, + RevokedEvent.OutputTuple, + RevokedEvent.OutputObject + >; + + "RevokedOffchain(address,bytes32,uint64)": TypedContractEvent< + RevokedOffchainEvent.InputTuple, + RevokedOffchainEvent.OutputTuple, + RevokedOffchainEvent.OutputObject + >; + RevokedOffchain: TypedContractEvent< + RevokedOffchainEvent.InputTuple, + RevokedOffchainEvent.OutputTuple, + RevokedOffchainEvent.OutputObject + >; + + "Timestamped(bytes32,uint64)": TypedContractEvent< + TimestampedEvent.InputTuple, + TimestampedEvent.OutputTuple, + TimestampedEvent.OutputObject + >; + Timestamped: TypedContractEvent< + TimestampedEvent.InputTuple, + TimestampedEvent.OutputTuple, + TimestampedEvent.OutputObject + >; + }; +} diff --git a/deployments/polygon-mumbai/types/contracts/SchemaRegistry.ts b/deployments/polygon-mumbai/types/contracts/SchemaRegistry.ts new file mode 100644 index 0000000..28a82be --- /dev/null +++ b/deployments/polygon-mumbai/types/contracts/SchemaRegistry.ts @@ -0,0 +1,178 @@ +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +import type { + BaseContract, + BytesLike, + FunctionFragment, + Result, + Interface, + EventFragment, + AddressLike, + ContractRunner, + ContractMethod, + Listener, +} from "ethers"; +import type { + TypedContractEvent, + TypedDeferredTopicFilter, + TypedEventLog, + TypedLogDescription, + TypedListener, + TypedContractMethod, +} from "../common"; + +export type SchemaRecordStruct = { + uid: BytesLike; + resolver: AddressLike; + revocable: boolean; + schema: string; +}; + +export type SchemaRecordStructOutput = [ + uid: string, + resolver: string, + revocable: boolean, + schema: string +] & { uid: string; resolver: string; revocable: boolean; schema: string }; + +export interface SchemaRegistryInterface extends Interface { + getFunction( + nameOrSignature: "getSchema" | "register" | "version" + ): FunctionFragment; + + getEvent(nameOrSignatureOrTopic: "Registered"): EventFragment; + + encodeFunctionData( + functionFragment: "getSchema", + values: [BytesLike] + ): string; + encodeFunctionData( + functionFragment: "register", + values: [string, AddressLike, boolean] + ): string; + encodeFunctionData(functionFragment: "version", values?: undefined): string; + + decodeFunctionResult(functionFragment: "getSchema", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "register", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "version", data: BytesLike): Result; +} + +export namespace RegisteredEvent { + export type InputTuple = [ + uid: BytesLike, + registerer: AddressLike, + schema: SchemaRecordStruct + ]; + export type OutputTuple = [ + uid: string, + registerer: string, + schema: SchemaRecordStructOutput + ]; + export interface OutputObject { + uid: string; + registerer: string; + schema: SchemaRecordStructOutput; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export interface SchemaRegistry extends BaseContract { + connect(runner?: ContractRunner | null): SchemaRegistry; + waitForDeployment(): Promise; + + interface: SchemaRegistryInterface; + + queryFilter( + event: TCEvent, + fromBlockOrBlockhash?: string | number | undefined, + toBlock?: string | number | undefined + ): Promise>>; + queryFilter( + filter: TypedDeferredTopicFilter, + fromBlockOrBlockhash?: string | number | undefined, + toBlock?: string | number | undefined + ): Promise>>; + + on( + event: TCEvent, + listener: TypedListener + ): Promise; + on( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; + + once( + event: TCEvent, + listener: TypedListener + ): Promise; + once( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; + + listeners( + event: TCEvent + ): Promise>>; + listeners(eventName?: string): Promise>; + removeAllListeners( + event?: TCEvent + ): Promise; + + getSchema: TypedContractMethod< + [uid: BytesLike], + [SchemaRecordStructOutput], + "view" + >; + + register: TypedContractMethod< + [schema: string, resolver: AddressLike, revocable: boolean], + [string], + "nonpayable" + >; + + version: TypedContractMethod<[], [string], "view">; + + getFunction( + key: string | FunctionFragment + ): T; + + getFunction( + nameOrSignature: "getSchema" + ): TypedContractMethod<[uid: BytesLike], [SchemaRecordStructOutput], "view">; + getFunction( + nameOrSignature: "register" + ): TypedContractMethod< + [schema: string, resolver: AddressLike, revocable: boolean], + [string], + "nonpayable" + >; + getFunction( + nameOrSignature: "version" + ): TypedContractMethod<[], [string], "view">; + + getEvent( + key: "Registered" + ): TypedContractEvent< + RegisteredEvent.InputTuple, + RegisteredEvent.OutputTuple, + RegisteredEvent.OutputObject + >; + + filters: { + "Registered(bytes32,address,tuple)": TypedContractEvent< + RegisteredEvent.InputTuple, + RegisteredEvent.OutputTuple, + RegisteredEvent.OutputObject + >; + Registered: TypedContractEvent< + RegisteredEvent.InputTuple, + RegisteredEvent.OutputTuple, + RegisteredEvent.OutputObject + >; + }; +} diff --git a/deployments/polygon-mumbai/types/contracts/eip712/proxy/EIP712Proxy.ts b/deployments/polygon-mumbai/types/contracts/eip712/proxy/EIP712Proxy.ts new file mode 100644 index 0000000..9d2d7fc --- /dev/null +++ b/deployments/polygon-mumbai/types/contracts/eip712/proxy/EIP712Proxy.ts @@ -0,0 +1,455 @@ +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +import type { + BaseContract, + BigNumberish, + BytesLike, + FunctionFragment, + Result, + Interface, + EventFragment, + AddressLike, + ContractRunner, + ContractMethod, + Listener, +} from "ethers"; +import type { + TypedContractEvent, + TypedDeferredTopicFilter, + TypedEventLog, + TypedLogDescription, + TypedListener, + TypedContractMethod, +} from "../../../common"; + +export type AttestationRequestDataStruct = { + recipient: AddressLike; + expirationTime: BigNumberish; + revocable: boolean; + refUID: BytesLike; + data: BytesLike; + value: BigNumberish; +}; + +export type AttestationRequestDataStructOutput = [ + recipient: string, + expirationTime: bigint, + revocable: boolean, + refUID: string, + data: string, + value: bigint +] & { + recipient: string; + expirationTime: bigint; + revocable: boolean; + refUID: string; + data: string; + value: bigint; +}; + +export type SignatureStruct = { v: BigNumberish; r: BytesLike; s: BytesLike }; + +export type SignatureStructOutput = [v: bigint, r: string, s: string] & { + v: bigint; + r: string; + s: string; +}; + +export type DelegatedProxyAttestationRequestStruct = { + schema: BytesLike; + data: AttestationRequestDataStruct; + signature: SignatureStruct; + attester: AddressLike; + deadline: BigNumberish; +}; + +export type DelegatedProxyAttestationRequestStructOutput = [ + schema: string, + data: AttestationRequestDataStructOutput, + signature: SignatureStructOutput, + attester: string, + deadline: bigint +] & { + schema: string; + data: AttestationRequestDataStructOutput; + signature: SignatureStructOutput; + attester: string; + deadline: bigint; +}; + +export type MultiDelegatedProxyAttestationRequestStruct = { + schema: BytesLike; + data: AttestationRequestDataStruct[]; + signatures: SignatureStruct[]; + attester: AddressLike; + deadline: BigNumberish; +}; + +export type MultiDelegatedProxyAttestationRequestStructOutput = [ + schema: string, + data: AttestationRequestDataStructOutput[], + signatures: SignatureStructOutput[], + attester: string, + deadline: bigint +] & { + schema: string; + data: AttestationRequestDataStructOutput[]; + signatures: SignatureStructOutput[]; + attester: string; + deadline: bigint; +}; + +export type RevocationRequestDataStruct = { + uid: BytesLike; + value: BigNumberish; +}; + +export type RevocationRequestDataStructOutput = [uid: string, value: bigint] & { + uid: string; + value: bigint; +}; + +export type MultiDelegatedProxyRevocationRequestStruct = { + schema: BytesLike; + data: RevocationRequestDataStruct[]; + signatures: SignatureStruct[]; + revoker: AddressLike; + deadline: BigNumberish; +}; + +export type MultiDelegatedProxyRevocationRequestStructOutput = [ + schema: string, + data: RevocationRequestDataStructOutput[], + signatures: SignatureStructOutput[], + revoker: string, + deadline: bigint +] & { + schema: string; + data: RevocationRequestDataStructOutput[]; + signatures: SignatureStructOutput[]; + revoker: string; + deadline: bigint; +}; + +export type DelegatedProxyRevocationRequestStruct = { + schema: BytesLike; + data: RevocationRequestDataStruct; + signature: SignatureStruct; + revoker: AddressLike; + deadline: BigNumberish; +}; + +export type DelegatedProxyRevocationRequestStructOutput = [ + schema: string, + data: RevocationRequestDataStructOutput, + signature: SignatureStructOutput, + revoker: string, + deadline: bigint +] & { + schema: string; + data: RevocationRequestDataStructOutput; + signature: SignatureStructOutput; + revoker: string; + deadline: bigint; +}; + +export interface EIP712ProxyInterface extends Interface { + getFunction( + nameOrSignature: + | "attestByDelegation" + | "eip712Domain" + | "getAttestTypeHash" + | "getAttester" + | "getDomainSeparator" + | "getEAS" + | "getName" + | "getRevokeTypeHash" + | "multiAttestByDelegation" + | "multiRevokeByDelegation" + | "revokeByDelegation" + | "version" + ): FunctionFragment; + + getEvent(nameOrSignatureOrTopic: "EIP712DomainChanged"): EventFragment; + + encodeFunctionData( + functionFragment: "attestByDelegation", + values: [DelegatedProxyAttestationRequestStruct] + ): string; + encodeFunctionData( + functionFragment: "eip712Domain", + values?: undefined + ): string; + encodeFunctionData( + functionFragment: "getAttestTypeHash", + values?: undefined + ): string; + encodeFunctionData( + functionFragment: "getAttester", + values: [BytesLike] + ): string; + encodeFunctionData( + functionFragment: "getDomainSeparator", + values?: undefined + ): string; + encodeFunctionData(functionFragment: "getEAS", values?: undefined): string; + encodeFunctionData(functionFragment: "getName", values?: undefined): string; + encodeFunctionData( + functionFragment: "getRevokeTypeHash", + values?: undefined + ): string; + encodeFunctionData( + functionFragment: "multiAttestByDelegation", + values: [MultiDelegatedProxyAttestationRequestStruct[]] + ): string; + encodeFunctionData( + functionFragment: "multiRevokeByDelegation", + values: [MultiDelegatedProxyRevocationRequestStruct[]] + ): string; + encodeFunctionData( + functionFragment: "revokeByDelegation", + values: [DelegatedProxyRevocationRequestStruct] + ): string; + encodeFunctionData(functionFragment: "version", values?: undefined): string; + + decodeFunctionResult( + functionFragment: "attestByDelegation", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "eip712Domain", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "getAttestTypeHash", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "getAttester", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "getDomainSeparator", + data: BytesLike + ): Result; + decodeFunctionResult(functionFragment: "getEAS", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "getName", data: BytesLike): Result; + decodeFunctionResult( + functionFragment: "getRevokeTypeHash", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "multiAttestByDelegation", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "multiRevokeByDelegation", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "revokeByDelegation", + data: BytesLike + ): Result; + decodeFunctionResult(functionFragment: "version", data: BytesLike): Result; +} + +export namespace EIP712DomainChangedEvent { + export type InputTuple = []; + export type OutputTuple = []; + export interface OutputObject {} + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export interface EIP712Proxy extends BaseContract { + connect(runner?: ContractRunner | null): EIP712Proxy; + waitForDeployment(): Promise; + + interface: EIP712ProxyInterface; + + queryFilter( + event: TCEvent, + fromBlockOrBlockhash?: string | number | undefined, + toBlock?: string | number | undefined + ): Promise>>; + queryFilter( + filter: TypedDeferredTopicFilter, + fromBlockOrBlockhash?: string | number | undefined, + toBlock?: string | number | undefined + ): Promise>>; + + on( + event: TCEvent, + listener: TypedListener + ): Promise; + on( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; + + once( + event: TCEvent, + listener: TypedListener + ): Promise; + once( + filter: TypedDeferredTopicFilter, + listener: TypedListener + ): Promise; + + listeners( + event: TCEvent + ): Promise>>; + listeners(eventName?: string): Promise>; + removeAllListeners( + event?: TCEvent + ): Promise; + + attestByDelegation: TypedContractMethod< + [delegatedRequest: DelegatedProxyAttestationRequestStruct], + [string], + "payable" + >; + + eip712Domain: TypedContractMethod< + [], + [ + [string, string, string, bigint, string, string, bigint[]] & { + fields: string; + name: string; + version: string; + chainId: bigint; + verifyingContract: string; + salt: string; + extensions: bigint[]; + } + ], + "view" + >; + + getAttestTypeHash: TypedContractMethod<[], [string], "view">; + + getAttester: TypedContractMethod<[uid: BytesLike], [string], "view">; + + getDomainSeparator: TypedContractMethod<[], [string], "view">; + + getEAS: TypedContractMethod<[], [string], "view">; + + getName: TypedContractMethod<[], [string], "view">; + + getRevokeTypeHash: TypedContractMethod<[], [string], "view">; + + multiAttestByDelegation: TypedContractMethod< + [multiDelegatedRequests: MultiDelegatedProxyAttestationRequestStruct[]], + [string[]], + "payable" + >; + + multiRevokeByDelegation: TypedContractMethod< + [multiDelegatedRequests: MultiDelegatedProxyRevocationRequestStruct[]], + [void], + "payable" + >; + + revokeByDelegation: TypedContractMethod< + [delegatedRequest: DelegatedProxyRevocationRequestStruct], + [void], + "payable" + >; + + version: TypedContractMethod<[], [string], "view">; + + getFunction( + key: string | FunctionFragment + ): T; + + getFunction( + nameOrSignature: "attestByDelegation" + ): TypedContractMethod< + [delegatedRequest: DelegatedProxyAttestationRequestStruct], + [string], + "payable" + >; + getFunction( + nameOrSignature: "eip712Domain" + ): TypedContractMethod< + [], + [ + [string, string, string, bigint, string, string, bigint[]] & { + fields: string; + name: string; + version: string; + chainId: bigint; + verifyingContract: string; + salt: string; + extensions: bigint[]; + } + ], + "view" + >; + getFunction( + nameOrSignature: "getAttestTypeHash" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "getAttester" + ): TypedContractMethod<[uid: BytesLike], [string], "view">; + getFunction( + nameOrSignature: "getDomainSeparator" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "getEAS" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "getName" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "getRevokeTypeHash" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "multiAttestByDelegation" + ): TypedContractMethod< + [multiDelegatedRequests: MultiDelegatedProxyAttestationRequestStruct[]], + [string[]], + "payable" + >; + getFunction( + nameOrSignature: "multiRevokeByDelegation" + ): TypedContractMethod< + [multiDelegatedRequests: MultiDelegatedProxyRevocationRequestStruct[]], + [void], + "payable" + >; + getFunction( + nameOrSignature: "revokeByDelegation" + ): TypedContractMethod< + [delegatedRequest: DelegatedProxyRevocationRequestStruct], + [void], + "payable" + >; + getFunction( + nameOrSignature: "version" + ): TypedContractMethod<[], [string], "view">; + + getEvent( + key: "EIP712DomainChanged" + ): TypedContractEvent< + EIP712DomainChangedEvent.InputTuple, + EIP712DomainChangedEvent.OutputTuple, + EIP712DomainChangedEvent.OutputObject + >; + + filters: { + "EIP712DomainChanged()": TypedContractEvent< + EIP712DomainChangedEvent.InputTuple, + EIP712DomainChangedEvent.OutputTuple, + EIP712DomainChangedEvent.OutputObject + >; + EIP712DomainChanged: TypedContractEvent< + EIP712DomainChangedEvent.InputTuple, + EIP712DomainChangedEvent.OutputTuple, + EIP712DomainChangedEvent.OutputObject + >; + }; +} diff --git a/deployments/polygon-mumbai/types/factories/contracts/EAS__factory.ts b/deployments/polygon-mumbai/types/factories/contracts/EAS__factory.ts new file mode 100644 index 0000000..7fe3c63 --- /dev/null +++ b/deployments/polygon-mumbai/types/factories/contracts/EAS__factory.ts @@ -0,0 +1,1228 @@ +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +import { + Contract, + ContractFactory, + ContractTransactionResponse, + Interface, +} from "ethers"; +import type { + Signer, + AddressLike, + ContractDeployTransaction, + ContractRunner, +} from "ethers"; +import type { NonPayableOverrides } from "../../common"; +import type { EAS, EASInterface } from "../../contracts/EAS"; + +const _abi = [ + { + inputs: [ + { + internalType: "contract ISchemaRegistry", + name: "registry", + type: "address", + }, + ], + stateMutability: "nonpayable", + type: "constructor", + }, + { + inputs: [], + name: "AccessDenied", + type: "error", + }, + { + inputs: [], + name: "AlreadyRevoked", + type: "error", + }, + { + inputs: [], + name: "AlreadyRevokedOffchain", + type: "error", + }, + { + inputs: [], + name: "AlreadyTimestamped", + type: "error", + }, + { + inputs: [], + name: "DeadlineExpired", + type: "error", + }, + { + inputs: [], + name: "InsufficientValue", + type: "error", + }, + { + inputs: [], + name: "InvalidAttestation", + type: "error", + }, + { + inputs: [], + name: "InvalidAttestations", + type: "error", + }, + { + inputs: [], + name: "InvalidExpirationTime", + type: "error", + }, + { + inputs: [], + name: "InvalidLength", + type: "error", + }, + { + inputs: [], + name: "InvalidNonce", + type: "error", + }, + { + inputs: [], + name: "InvalidOffset", + type: "error", + }, + { + inputs: [], + name: "InvalidRegistry", + type: "error", + }, + { + inputs: [], + name: "InvalidRevocation", + type: "error", + }, + { + inputs: [], + name: "InvalidRevocations", + type: "error", + }, + { + inputs: [], + name: "InvalidSchema", + type: "error", + }, + { + inputs: [], + name: "InvalidShortString", + type: "error", + }, + { + inputs: [], + name: "InvalidSignature", + type: "error", + }, + { + inputs: [], + name: "InvalidVerifier", + type: "error", + }, + { + inputs: [], + name: "Irrevocable", + type: "error", + }, + { + inputs: [], + name: "NotFound", + type: "error", + }, + { + inputs: [], + name: "NotPayable", + type: "error", + }, + { + inputs: [ + { + internalType: "string", + name: "str", + type: "string", + }, + ], + name: "StringTooLong", + type: "error", + }, + { + inputs: [], + name: "WrongSchema", + type: "error", + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: "address", + name: "recipient", + type: "address", + }, + { + indexed: true, + internalType: "address", + name: "attester", + type: "address", + }, + { + indexed: false, + internalType: "bytes32", + name: "uid", + type: "bytes32", + }, + { + indexed: true, + internalType: "bytes32", + name: "schemaUID", + type: "bytes32", + }, + ], + name: "Attested", + type: "event", + }, + { + anonymous: false, + inputs: [], + name: "EIP712DomainChanged", + type: "event", + }, + { + anonymous: false, + inputs: [ + { + indexed: false, + internalType: "uint256", + name: "oldNonce", + type: "uint256", + }, + { + indexed: false, + internalType: "uint256", + name: "newNonce", + type: "uint256", + }, + ], + name: "NonceIncreased", + type: "event", + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: "address", + name: "recipient", + type: "address", + }, + { + indexed: true, + internalType: "address", + name: "attester", + type: "address", + }, + { + indexed: false, + internalType: "bytes32", + name: "uid", + type: "bytes32", + }, + { + indexed: true, + internalType: "bytes32", + name: "schemaUID", + type: "bytes32", + }, + ], + name: "Revoked", + type: "event", + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: "address", + name: "revoker", + type: "address", + }, + { + indexed: true, + internalType: "bytes32", + name: "data", + type: "bytes32", + }, + { + indexed: true, + internalType: "uint64", + name: "timestamp", + type: "uint64", + }, + ], + name: "RevokedOffchain", + type: "event", + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: "bytes32", + name: "data", + type: "bytes32", + }, + { + indexed: true, + internalType: "uint64", + name: "timestamp", + type: "uint64", + }, + ], + name: "Timestamped", + type: "event", + }, + { + inputs: [ + { + components: [ + { + internalType: "bytes32", + name: "schema", + type: "bytes32", + }, + { + components: [ + { + internalType: "address", + name: "recipient", + type: "address", + }, + { + internalType: "uint64", + name: "expirationTime", + type: "uint64", + }, + { + internalType: "bool", + name: "revocable", + type: "bool", + }, + { + internalType: "bytes32", + name: "refUID", + type: "bytes32", + }, + { + internalType: "bytes", + name: "data", + type: "bytes", + }, + { + internalType: "uint256", + name: "value", + type: "uint256", + }, + ], + internalType: "struct AttestationRequestData", + name: "data", + type: "tuple", + }, + ], + internalType: "struct AttestationRequest", + name: "request", + type: "tuple", + }, + ], + name: "attest", + outputs: [ + { + internalType: "bytes32", + name: "", + type: "bytes32", + }, + ], + stateMutability: "payable", + type: "function", + }, + { + inputs: [ + { + components: [ + { + internalType: "bytes32", + name: "schema", + type: "bytes32", + }, + { + components: [ + { + internalType: "address", + name: "recipient", + type: "address", + }, + { + internalType: "uint64", + name: "expirationTime", + type: "uint64", + }, + { + internalType: "bool", + name: "revocable", + type: "bool", + }, + { + internalType: "bytes32", + name: "refUID", + type: "bytes32", + }, + { + internalType: "bytes", + name: "data", + type: "bytes", + }, + { + internalType: "uint256", + name: "value", + type: "uint256", + }, + ], + internalType: "struct AttestationRequestData", + name: "data", + type: "tuple", + }, + { + components: [ + { + internalType: "uint8", + name: "v", + type: "uint8", + }, + { + internalType: "bytes32", + name: "r", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "s", + type: "bytes32", + }, + ], + internalType: "struct Signature", + name: "signature", + type: "tuple", + }, + { + internalType: "address", + name: "attester", + type: "address", + }, + { + internalType: "uint64", + name: "deadline", + type: "uint64", + }, + ], + internalType: "struct DelegatedAttestationRequest", + name: "delegatedRequest", + type: "tuple", + }, + ], + name: "attestByDelegation", + outputs: [ + { + internalType: "bytes32", + name: "", + type: "bytes32", + }, + ], + stateMutability: "payable", + type: "function", + }, + { + inputs: [], + name: "eip712Domain", + outputs: [ + { + internalType: "bytes1", + name: "fields", + type: "bytes1", + }, + { + internalType: "string", + name: "name", + type: "string", + }, + { + internalType: "string", + name: "version", + type: "string", + }, + { + internalType: "uint256", + name: "chainId", + type: "uint256", + }, + { + internalType: "address", + name: "verifyingContract", + type: "address", + }, + { + internalType: "bytes32", + name: "salt", + type: "bytes32", + }, + { + internalType: "uint256[]", + name: "extensions", + type: "uint256[]", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getAttestTypeHash", + outputs: [ + { + internalType: "bytes32", + name: "", + type: "bytes32", + }, + ], + stateMutability: "pure", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "uid", + type: "bytes32", + }, + ], + name: "getAttestation", + outputs: [ + { + components: [ + { + internalType: "bytes32", + name: "uid", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "schema", + type: "bytes32", + }, + { + internalType: "uint64", + name: "time", + type: "uint64", + }, + { + internalType: "uint64", + name: "expirationTime", + type: "uint64", + }, + { + internalType: "uint64", + name: "revocationTime", + type: "uint64", + }, + { + internalType: "bytes32", + name: "refUID", + type: "bytes32", + }, + { + internalType: "address", + name: "recipient", + type: "address", + }, + { + internalType: "address", + name: "attester", + type: "address", + }, + { + internalType: "bool", + name: "revocable", + type: "bool", + }, + { + internalType: "bytes", + name: "data", + type: "bytes", + }, + ], + internalType: "struct Attestation", + name: "", + type: "tuple", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getDomainSeparator", + outputs: [ + { + internalType: "bytes32", + name: "", + type: "bytes32", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getName", + outputs: [ + { + internalType: "string", + name: "", + type: "string", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "account", + type: "address", + }, + ], + name: "getNonce", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "revoker", + type: "address", + }, + { + internalType: "bytes32", + name: "data", + type: "bytes32", + }, + ], + name: "getRevokeOffchain", + outputs: [ + { + internalType: "uint64", + name: "", + type: "uint64", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getRevokeTypeHash", + outputs: [ + { + internalType: "bytes32", + name: "", + type: "bytes32", + }, + ], + stateMutability: "pure", + type: "function", + }, + { + inputs: [], + name: "getSchemaRegistry", + outputs: [ + { + internalType: "contract ISchemaRegistry", + name: "", + type: "address", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "data", + type: "bytes32", + }, + ], + name: "getTimestamp", + outputs: [ + { + internalType: "uint64", + name: "", + type: "uint64", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + internalType: "uint256", + name: "newNonce", + type: "uint256", + }, + ], + name: "increaseNonce", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "uid", + type: "bytes32", + }, + ], + name: "isAttestationValid", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [ + { + components: [ + { + internalType: "bytes32", + name: "schema", + type: "bytes32", + }, + { + components: [ + { + internalType: "address", + name: "recipient", + type: "address", + }, + { + internalType: "uint64", + name: "expirationTime", + type: "uint64", + }, + { + internalType: "bool", + name: "revocable", + type: "bool", + }, + { + internalType: "bytes32", + name: "refUID", + type: "bytes32", + }, + { + internalType: "bytes", + name: "data", + type: "bytes", + }, + { + internalType: "uint256", + name: "value", + type: "uint256", + }, + ], + internalType: "struct AttestationRequestData[]", + name: "data", + type: "tuple[]", + }, + ], + internalType: "struct MultiAttestationRequest[]", + name: "multiRequests", + type: "tuple[]", + }, + ], + name: "multiAttest", + outputs: [ + { + internalType: "bytes32[]", + name: "", + type: "bytes32[]", + }, + ], + stateMutability: "payable", + type: "function", + }, + { + inputs: [ + { + components: [ + { + internalType: "bytes32", + name: "schema", + type: "bytes32", + }, + { + components: [ + { + internalType: "address", + name: "recipient", + type: "address", + }, + { + internalType: "uint64", + name: "expirationTime", + type: "uint64", + }, + { + internalType: "bool", + name: "revocable", + type: "bool", + }, + { + internalType: "bytes32", + name: "refUID", + type: "bytes32", + }, + { + internalType: "bytes", + name: "data", + type: "bytes", + }, + { + internalType: "uint256", + name: "value", + type: "uint256", + }, + ], + internalType: "struct AttestationRequestData[]", + name: "data", + type: "tuple[]", + }, + { + components: [ + { + internalType: "uint8", + name: "v", + type: "uint8", + }, + { + internalType: "bytes32", + name: "r", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "s", + type: "bytes32", + }, + ], + internalType: "struct Signature[]", + name: "signatures", + type: "tuple[]", + }, + { + internalType: "address", + name: "attester", + type: "address", + }, + { + internalType: "uint64", + name: "deadline", + type: "uint64", + }, + ], + internalType: "struct MultiDelegatedAttestationRequest[]", + name: "multiDelegatedRequests", + type: "tuple[]", + }, + ], + name: "multiAttestByDelegation", + outputs: [ + { + internalType: "bytes32[]", + name: "", + type: "bytes32[]", + }, + ], + stateMutability: "payable", + type: "function", + }, + { + inputs: [ + { + components: [ + { + internalType: "bytes32", + name: "schema", + type: "bytes32", + }, + { + components: [ + { + internalType: "bytes32", + name: "uid", + type: "bytes32", + }, + { + internalType: "uint256", + name: "value", + type: "uint256", + }, + ], + internalType: "struct RevocationRequestData[]", + name: "data", + type: "tuple[]", + }, + ], + internalType: "struct MultiRevocationRequest[]", + name: "multiRequests", + type: "tuple[]", + }, + ], + name: "multiRevoke", + outputs: [], + stateMutability: "payable", + type: "function", + }, + { + inputs: [ + { + components: [ + { + internalType: "bytes32", + name: "schema", + type: "bytes32", + }, + { + components: [ + { + internalType: "bytes32", + name: "uid", + type: "bytes32", + }, + { + internalType: "uint256", + name: "value", + type: "uint256", + }, + ], + internalType: "struct RevocationRequestData[]", + name: "data", + type: "tuple[]", + }, + { + components: [ + { + internalType: "uint8", + name: "v", + type: "uint8", + }, + { + internalType: "bytes32", + name: "r", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "s", + type: "bytes32", + }, + ], + internalType: "struct Signature[]", + name: "signatures", + type: "tuple[]", + }, + { + internalType: "address", + name: "revoker", + type: "address", + }, + { + internalType: "uint64", + name: "deadline", + type: "uint64", + }, + ], + internalType: "struct MultiDelegatedRevocationRequest[]", + name: "multiDelegatedRequests", + type: "tuple[]", + }, + ], + name: "multiRevokeByDelegation", + outputs: [], + stateMutability: "payable", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32[]", + name: "data", + type: "bytes32[]", + }, + ], + name: "multiRevokeOffchain", + outputs: [ + { + internalType: "uint64", + name: "", + type: "uint64", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32[]", + name: "data", + type: "bytes32[]", + }, + ], + name: "multiTimestamp", + outputs: [ + { + internalType: "uint64", + name: "", + type: "uint64", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + components: [ + { + internalType: "bytes32", + name: "schema", + type: "bytes32", + }, + { + components: [ + { + internalType: "bytes32", + name: "uid", + type: "bytes32", + }, + { + internalType: "uint256", + name: "value", + type: "uint256", + }, + ], + internalType: "struct RevocationRequestData", + name: "data", + type: "tuple", + }, + ], + internalType: "struct RevocationRequest", + name: "request", + type: "tuple", + }, + ], + name: "revoke", + outputs: [], + stateMutability: "payable", + type: "function", + }, + { + inputs: [ + { + components: [ + { + internalType: "bytes32", + name: "schema", + type: "bytes32", + }, + { + components: [ + { + internalType: "bytes32", + name: "uid", + type: "bytes32", + }, + { + internalType: "uint256", + name: "value", + type: "uint256", + }, + ], + internalType: "struct RevocationRequestData", + name: "data", + type: "tuple", + }, + { + components: [ + { + internalType: "uint8", + name: "v", + type: "uint8", + }, + { + internalType: "bytes32", + name: "r", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "s", + type: "bytes32", + }, + ], + internalType: "struct Signature", + name: "signature", + type: "tuple", + }, + { + internalType: "address", + name: "revoker", + type: "address", + }, + { + internalType: "uint64", + name: "deadline", + type: "uint64", + }, + ], + internalType: "struct DelegatedRevocationRequest", + name: "delegatedRequest", + type: "tuple", + }, + ], + name: "revokeByDelegation", + outputs: [], + stateMutability: "payable", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "data", + type: "bytes32", + }, + ], + name: "revokeOffchain", + outputs: [ + { + internalType: "uint64", + name: "", + type: "uint64", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "data", + type: "bytes32", + }, + ], + name: "timestamp", + outputs: [ + { + internalType: "uint64", + name: "", + type: "uint64", + }, + ], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [], + name: "version", + outputs: [ + { + internalType: "string", + name: "", + type: "string", + }, + ], + stateMutability: "view", + type: "function", + }, +] as const; + +const _bytecode = + "0x6101e06040523480156200001257600080fd5b5060405162004e4a38038062004e4a83398101604081905262000035916200020d565b604080518082018252600381526245415360e81b602080830191909152825180840190935260058352640312e322e360dc1b908301526001608052600260a052600060c0819052909190829082906200009090839062000188565b61018052620000a181600162000188565b6101a052815160208084019190912061014052815190820120610160524661010052620001326101405161016051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60e0525050306101205260026200014a8382620002e4565b5050506001600160a01b03811662000175576040516311a1e69760e01b815260040160405180910390fd5b6001600160a01b03166101c05262000425565b6000602083511015620001a857620001a083620001c1565b9050620001bb565b81620001b58482620002e4565b5060ff90505b92915050565b600080829050601f81511115620001f8578260405163305a27a960e01b8152600401620001ef9190620003b0565b60405180910390fd5b8051620002058262000400565b179392505050565b6000602082840312156200022057600080fd5b81516001600160a01b03811681146200023857600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200026a57607f821691505b6020821081036200028b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002df57600081815260208120601f850160051c81016020861015620002ba5750805b601f850160051c820191505b81811015620002db57828155600101620002c6565b5050505b505050565b81516001600160401b038111156200030057620003006200023f565b620003188162000311845462000255565b8462000291565b602080601f831160018114620003505760008415620003375750858301515b600019600386901b1c1916600185901b178555620002db565b600085815260208120601f198616915b82811015620003815788860151825594840194600190910190840162000360565b5085821015620003a05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083528351808285015260005b81811015620003df57858101830151858201604001528201620003c1565b506000604082860101526040601f19601f8301168501019250505092915050565b805160208083015191908110156200028b5760001960209190910360031b1b16919050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c051614990620004ba60003960008181610538015281816115df0152611f0a01526000610d4f01526000610d25015260006129930152600061296b015260006128c6015260006128f00152600061291a01526000610c3401526000610c0b01526000610be201526149906000f3fe6080604052600436106101965760003560e01c806384b0196e116100e1578063cf190f341161008a578063e71ff36511610064578063e71ff365146104dc578063ed24911d146104fc578063f10b5cc814610511578063f17325e71461056257600080fd5b8063cf190f3414610446578063d45c443514610466578063e30bb5631461049d57600080fd5b8063a6d4dbc7116100bb578063a6d4dbc7146103a6578063b469318d146103b9578063b83010d31461041357600080fd5b806384b0196e1461033e5780639541152514610366578063a3112a641461037957600080fd5b806344adc90e116101435780634d0030701161011d5780634d003070146102e957806354fd4d501461030957806379f7573a1461031e57600080fd5b806344adc90e146102a357806346926267146102c35780634cb7e9e5146102d657600080fd5b806317d7de7c1161017457806317d7de7c1461022b5780632d0335ab1461024d5780633c0427151461029057600080fd5b80630eabf6601461019b57806312b11a17146101b057806313893f61146101f2575b600080fd5b6101ae6101a93660046137be565b610575565b005b3480156101bc57600080fd5b507ff83bb2b0ede93a840239f7e701a54d9bc35f03701f51ae153d601c6947ff3d3f5b6040519081526020015b60405180910390f35b3480156101fe57600080fd5b5061021261020d3660046137be565b61070c565b60405167ffffffffffffffff90911681526020016101e9565b34801561023757600080fd5b50610240610751565b6040516101e9919061386e565b34801561025957600080fd5b506101df6102683660046138ba565b73ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b6101df61029e3660046138d7565b6107e3565b6102b66102b13660046137be565b6108e6565b6040516101e99190613912565b6101ae6102d1366004613956565b610a67565b6101ae6102e43660046137be565b610aeb565b3480156102f557600080fd5b5061021261030436600461396e565b610bce565b34801561031557600080fd5b50610240610bdb565b34801561032a57600080fd5b506101ae61033936600461396e565b610c7e565b34801561034a57600080fd5b50610353610d17565b6040516101e997969594939291906139c2565b6102b66103743660046137be565b610dbb565b34801561038557600080fd5b5061039961039436600461396e565b61102e565b6040516101e99190613b32565b6101ae6103b4366004613b45565b6111f0565b3480156103c557600080fd5b506102126103d4366004613b58565b73ffffffffffffffffffffffffffffffffffffffff919091166000908152600660209081526040808320938352929052205467ffffffffffffffff1690565b34801561041f57600080fd5b507f2d4116d8c9824e4c316453e5c2843a1885580374159ce8768603c49085ef424c6101df565b34801561045257600080fd5b5061021261046136600461396e565b611295565b34801561047257600080fd5b5061021261048136600461396e565b60009081526005602052604090205467ffffffffffffffff1690565b3480156104a957600080fd5b506104cc6104b836600461396e565b600090815260046020526040902054151590565b60405190151581526020016101e9565b3480156104e857600080fd5b506102126104f73660046137be565b6112a3565b34801561050857600080fd5b506101df6112db565b34801561051d57600080fd5b5060405173ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001681526020016101e9565b6101df610570366004613b84565b6112ea565b348160005b81811015610705577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8201811460008686848181106105bb576105bb613bbf565b90506020028101906105cd9190613bee565b6105d690613e84565b60208101518051919250908015806105f357508260400151518114155b1561062a576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b818110156106ce576106c66040518060a001604052808660000151815260200185848151811061065f5761065f613bbf565b602002602001015181526020018660400151848151811061068257610682613bbf565b60200260200101518152602001866060015173ffffffffffffffffffffffffffffffffffffffff168152602001866080015167ffffffffffffffff168152506113a8565b60010161062d565b506106e483600001518385606001518a88611596565b6106ee9088613fae565b9650505050506106fe8160010190565b905061057a565b5050505050565b60004282825b818110156107455761073d3387878481811061073057610730613bbf565b9050602002013585611be7565b600101610712565b50909150505b92915050565b60606002805461076090613fc1565b80601f016020809104026020016040519081016040528092919081815260200182805461078c90613fc1565b80156107d95780601f106107ae576101008083540402835291602001916107d9565b820191906000526020600020905b8154815290600101906020018083116107bc57829003601f168201915b5050505050905090565b60006107f66107f183614130565b611ce6565b604080516001808252818301909252600091816020015b6040805160c081018252600080825260208083018290529282018190526060808301829052608083015260a082015282527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90920191018161080d57905050905061087b60208401846141ab565b610884906141df565b8160008151811061089757610897613bbf565b60209081029190910101526108c08335826108b860c0870160a088016138ba565b346001611e64565b602001516000815181106108d6576108d6613bbf565b6020026020010151915050919050565b60608160008167ffffffffffffffff81111561090457610904613c2c565b60405190808252806020026020018201604052801561093757816020015b60608152602001906001900390816109225790505b509050600034815b84811015610a51577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff850181143689898481811061097f5761097f613bbf565b905060200281019061099191906141eb565b90506109a0602082018261421f565b90506000036109db576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610a0082356109ef602085018561421f565b6109f891614287565b338887611e64565b8051909150610a0f9086613fae565b94508060200151878581518110610a2857610a28613bbf565b602002602001018190525080602001515186019550505050610a4a8160010190565b905061093f565b50610a5c8383612597565b979650505050505050565b604080516001808252818301909252600091816020015b6040805180820190915260008082526020820152815260200190600190039081610a7e579050509050610ab9368390038301602084016142fb565b81600081518110610acc57610acc613bbf565b6020908102919091010152610ae682358233346001611596565b505050565b348160005b81811015610705577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8201811436868684818110610b3057610b30613bbf565b9050602002810190610b4291906141eb565b9050610baf8135610b566020840184614317565b808060200260200160405190810160405280939291908181526020016000905b82821015610ba257610b93604083028601368190038101906142fb565b81526020019060010190610b76565b5050505050338886611596565b610bb99086613fae565b94505050610bc78160010190565b9050610af0565b60004261074b8382612681565b6060610c067f0000000000000000000000000000000000000000000000000000000000000000612743565b610c2f7f0000000000000000000000000000000000000000000000000000000000000000612743565b610c587f0000000000000000000000000000000000000000000000000000000000000000612743565b604051602001610c6a9392919061437f565b604051602081830303815290604052905090565b33600090815260036020526040902054808211610cc7576040517f756688fe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360009081526003602090815260409182902084905581518381529081018490527f57b09af877df9068fd60a69d7b21f5576b8b38955812d6ae4ac52942f1e38fb7910160405180910390a15050565b600060608082808083610d4a7f000000000000000000000000000000000000000000000000000000000000000083612801565b610d757f00000000000000000000000000000000000000000000000000000000000000006001612801565b604080516000808252602082019092527f0f000000000000000000000000000000000000000000000000000000000000009b939a50919850469750309650945092509050565b60608160008167ffffffffffffffff811115610dd957610dd9613c2c565b604051908082528060200260200182016040528015610e0c57816020015b6060815260200190600190039081610df75790505b509050600034815b84811015610a51577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8501811436898984818110610e5457610e54613bbf565b9050602002810190610e669190613bee565b9050366000610e78602084018461421f565b909250905080801580610e995750610e9360408501856143f5565b90508114155b15610ed0576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610fb157610fa96040518060a0016040528087600001358152602001868685818110610f0557610f05613bbf565b9050602002810190610f1791906141ab565b610f20906141df565b8152602001610f3260408901896143f5565b85818110610f4257610f42613bbf565b905060600201803603810190610f58919061445c565b8152602001610f6d6080890160608a016138ba565b73ffffffffffffffffffffffffffffffffffffffff168152602001610f9860a0890160808a01614478565b67ffffffffffffffff169052611ce6565b600101610ed3565b506000610fda8535610fc38587614287565b610fd36080890160608a016138ba565b8b8a611e64565b8051909150610fe99089613fae565b975080602001518a888151811061100257611002613bbf565b6020026020010181905250806020015151890198505050505050506110278160010190565b9050610e14565b604080516101408101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082019290925261012081019190915260008281526004602081815260409283902083516101408101855281548152600182015492810192909252600281015467ffffffffffffffff808216958401959095526801000000000000000081048516606084015270010000000000000000000000000000000090049093166080820152600383015460a08201529082015473ffffffffffffffffffffffffffffffffffffffff90811660c0830152600583015490811660e083015274010000000000000000000000000000000000000000900460ff1615156101008201526006820180549192916101208401919061116790613fc1565b80601f016020809104026020016040519081016040528092919081815260200182805461119390613fc1565b80156111e05780601f106111b5576101008083540402835291602001916111e0565b820191906000526020600020905b8154815290600101906020018083116111c357829003601f168201915b5050505050815250509050919050565b61120761120236839003830183614493565b6113a8565b604080516001808252818301909252600091816020015b604080518082019091526000808252602082015281526020019060019003908161121e579050509050611259368390038301602084016142fb565b8160008151811061126c5761126c613bbf565b6020908102919091010152610ae682358261128d60e0860160c087016138ba565b346001611596565b60004261074b338483611be7565b60004282825b81811015610745576112d38686838181106112c6576112c6613bbf565b9050602002013584612681565b6001016112a9565b60006112e56128ac565b905090565b604080516001808252818301909252600091829190816020015b6040805160c081018252600080825260208083018290529282018190526060808301829052608083015260a082015282527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90920191018161130457905050905061137260208401846141ab565b61137b906141df565b8160008151811061138e5761138e613bbf565b60209081029190910101526108c083358233346001611e64565b608081015167ffffffffffffffff16158015906113dc57504267ffffffffffffffff16816080015167ffffffffffffffff16105b15611413576040517f1ab7da6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6020808201516040808401518451835184860151606088015173ffffffffffffffffffffffffffffffffffffffff166000908152600390975293862080549596939593946114e4947f2d4116d8c9824e4c316453e5c2843a1885580374159ce8768603c49085ef424c9493928761148983614501565b909155506080808b015160408051602081019890985287019590955260608601939093529184015260a083015267ffffffffffffffff1660c082015260e0015b604051602081830303815290604052805190602001206129e4565b905061155a84606001518284602001518560400151866000015160405160200161154693929190928352602083019190915260f81b7fff0000000000000000000000000000000000000000000000000000000000000016604082015260410190565b604051602081830303815290604052612a2c565b611590576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6040517fa2ea7c6e00000000000000000000000000000000000000000000000000000000815260048101869052600090819073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169063a2ea7c6e90602401600060405180830381865afa158015611626573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261166c9190810190614539565b80519091506116a7576040517fbf37b20e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b855160008167ffffffffffffffff8111156116c4576116c4613c2c565b60405190808252806020026020018201604052801561176357816020015b60408051610140810182526000808252602080830182905292820181905260608083018290526080830182905260a0830182905260c0830182905260e0830182905261010083019190915261012082015282527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9092019101816116e25790505b50905060008267ffffffffffffffff81111561178157611781613c2c565b6040519080825280602002602001820160405280156117aa578160200160208202803683370190505b50905060005b83811015611bc95760008a82815181106117cc576117cc613bbf565b6020908102919091018101518051600090815260049092526040909120805491925090611825576040517fc5723b5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8c816001015414611862576040517fbf37b20e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600581015473ffffffffffffffffffffffffffffffffffffffff8c81169116146118b8576040517f4ca8886700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600581015474010000000000000000000000000000000000000000900460ff1661190e576040517f157bd4c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002810154700100000000000000000000000000000000900467ffffffffffffffff1615611968576040517f905e710700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b426002820180547fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff811670010000000000000000000000000000000067ffffffffffffffff948516810291821793849055604080516101408101825287548152600188015460208201529386169286169290921791830191909152680100000000000000008304841660608301529091049091166080820152600382015460a0820152600482015473ffffffffffffffffffffffffffffffffffffffff90811660c0830152600583015490811660e083015274010000000000000000000000000000000000000000900460ff1615156101008201526006820180548391610120840191611a7490613fc1565b80601f0160208091040260200160405190810160405280929190818152602001828054611aa090613fc1565b8015611aed5780601f10611ac257610100808354040283529160200191611aed565b820191906000526020600020905b815481529060010190602001808311611ad057829003601f168201915b505050505081525050858481518110611b0857611b08613bbf565b60200260200101819052508160200151848481518110611b2a57611b2a613bbf565b6020026020010181815250508c8b73ffffffffffffffffffffffffffffffffffffffff16868581518110611b6057611b60613bbf565b602002602001015160c0015173ffffffffffffffffffffffffffffffffffffffff167ff930a6e2523c9cc298691873087a740550b8fc85a0680830414c148ed927f6158560000151604051611bb791815260200190565b60405180910390a450506001016117b0565b50611bd984838360018b8b612aa7565b9a9950505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600660209081526040808320858452918290529091205467ffffffffffffffff1615611c5b576040517fec9d6eeb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008381526020829052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000001667ffffffffffffffff861690811790915590519091859173ffffffffffffffffffffffffffffffffffffffff8816917f92a1f7a41a7c585a8b09e25b195e225b1d43248daca46b0faf9e0792777a222991a450505050565b608081015167ffffffffffffffff1615801590611d1a57504267ffffffffffffffff16816080015167ffffffffffffffff16105b15611d51576040517f1ab7da6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60208082015160408084015184518351848601518486015160608088015160808901518051908b012060a08a0151928c015173ffffffffffffffffffffffffffffffffffffffff1660009081526003909b52978a208054999a979997986114e4987ff83bb2b0ede93a840239f7e701a54d9bc35f03701f51ae153d601c6947ff3d3f989796959491928b611de483614501565b909155506080808f015160408051602081019c909c528b019990995273ffffffffffffffffffffffffffffffffffffffff90971660608a015267ffffffffffffffff9586169689019690965292151560a088015260c087019190915260e086015261010085015261012084019190915216610140820152610160016114c9565b60408051808201909152600081526060602082015284516040805180820190915260008152606060208201528167ffffffffffffffff811115611ea957611ea9613c2c565b604051908082528060200260200182016040528015611ed2578160200160208202803683370190505b5060208201526040517fa2ea7c6e000000000000000000000000000000000000000000000000000000008152600481018990526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063a2ea7c6e90602401600060405180830381865afa158015611f66573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052611fac9190810190614539565b8051909150611fe7576040517fbf37b20e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008367ffffffffffffffff81111561200257612002613c2c565b6040519080825280602002602001820160405280156120a157816020015b60408051610140810182526000808252602080830182905292820181905260608083018290526080830182905260a0830182905260c0830182905260e0830182905261010083019190915261012082015282527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9092019101816120205790505b50905060008467ffffffffffffffff8111156120bf576120bf613c2c565b6040519080825280602002602001820160405280156120e8578160200160208202803683370190505b50905060005b858110156125765760008b828151811061210a5761210a613bbf565b60200260200101519050600067ffffffffffffffff16816020015167ffffffffffffffff161415801561215557504267ffffffffffffffff16816020015167ffffffffffffffff1611155b1561218c576040517f08e8b93700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b846040015115801561219f575080604001515b156121d6576040517f157bd4c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006040518061014001604052806000801b81526020018f81526020016121fa4290565b67ffffffffffffffff168152602001836020015167ffffffffffffffff168152602001600067ffffffffffffffff16815260200183606001518152602001836000015173ffffffffffffffffffffffffffffffffffffffff1681526020018d73ffffffffffffffffffffffffffffffffffffffff16815260200183604001511515815260200183608001518152509050600080600090505b61229c8382612e96565b600081815260046020526040902054909250156122bb57600101612292565b81835260008281526004602081815260409283902086518155908601516001820155918501516002830180546060880151608089015167ffffffffffffffff908116700100000000000000000000000000000000027fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff92821668010000000000000000027fffffffffffffffffffffffffffffffff000000000000000000000000000000009094169190951617919091171691909117905560a0850151600383015560c0850151908201805473ffffffffffffffffffffffffffffffffffffffff9283167fffffffffffffffffffffffff000000000000000000000000000000000000000090911617905560e0850151600583018054610100880151151574010000000000000000000000000000000000000000027fffffffffffffffffffffff0000000000000000000000000000000000000000009091169290931691909117919091179055610120840151849190600682019061243a908261465f565b505050606084015115612491576060840151600090815260046020526040902054612491576040517fc5723b5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b828786815181106124a4576124a4613bbf565b60200260200101819052508360a001518686815181106124c6576124c6613bbf565b60200260200101818152505081896020015186815181106124e9576124e9613bbf565b6020026020010181815250508f8e73ffffffffffffffffffffffffffffffffffffffff16856000015173ffffffffffffffffffffffffffffffffffffffff167f8bf46bf4cfd674fa735a3d63ec1c9ad4153f033c290341f3a588b75685141b358560405161255991815260200190565b60405180910390a45050505061256f8160010190565b90506120ee565b5061258683838360008c8c612aa7565b845250919998505050505050505050565b606060008267ffffffffffffffff8111156125b4576125b4613c2c565b6040519080825280602002602001820160405280156125dd578160200160208202803683370190505b508451909150600090815b8181101561267657600087828151811061260457612604613bbf565b6020026020010151905060008151905060005b818110156126625782818151811061263157612631613bbf565b602002602001015187878151811061264b5761264b613bbf565b602090810291909101015260019586019501612617565b50505061266f8160010190565b90506125e8565b509195945050505050565b60008281526005602052604090205467ffffffffffffffff16156126d1576040517f2e26794600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526005602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000001667ffffffffffffffff85169081179091559051909184917f5aafceeb1c7ad58e4a84898bdee37c02c0fc46e7d24e6b60e8209449f183459f9190a35050565b6060600061275083612ef5565b600101905060008167ffffffffffffffff81111561277057612770613c2c565b6040519080825280601f01601f19166020018201604052801561279a576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85049450846127a457509392505050565b606060ff831461281b5761281483612fd7565b905061074b565b81805461282790613fc1565b80601f016020809104026020016040519081016040528092919081815260200182805461285390613fc1565b80156128a05780601f10612875576101008083540402835291602001916128a0565b820191906000526020600020905b81548152906001019060200180831161288357829003601f168201915b5050505050905061074b565b60003073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614801561291257507f000000000000000000000000000000000000000000000000000000000000000046145b1561293c57507f000000000000000000000000000000000000000000000000000000000000000090565b6112e5604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b600061074b6129f16128ac565b836040517f19010000000000000000000000000000000000000000000000000000000000008152600281019290925260228201526042902090565b6000806000612a3b8585613016565b90925090506000816004811115612a5457612a54614779565b148015612a8c57508573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b80612a9d5750612a9d86868661305b565b9695505050505050565b84516000906001819003612aff57612af78888600081518110612acc57612acc613bbf565b602002602001015188600081518110612ae757612ae7613bbf565b60200260200101518888886131b8565b915050612a9d565b602088015173ffffffffffffffffffffffffffffffffffffffff8116612ba05760005b82811015612b8557878181518110612b3c57612b3c613bbf565b6020026020010151600014612b7d576040517f1574f9f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600101612b22565b508315612b9557612b95856134d7565b600092505050612a9d565b6000808273ffffffffffffffffffffffffffffffffffffffff1663ce46e0466040518163ffffffff1660e01b8152600401602060405180830381865afa158015612bee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c1291906147a8565b905060005b84811015612ccf5760008a8281518110612c3357612c33613bbf565b6020026020010151905080600003612c4b5750612cc7565b82612c82576040517f1574f9f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b88811115612cbc576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b978890039792909201915b600101612c17565b508715612daa576040517f88e5b2d900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416906388e5b2d9908490612d2c908e908e906004016147c5565b60206040518083038185885af1158015612d4a573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612d6f91906147a8565b612da5576040517fbf2f3a8b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612e79565b6040517f91db0b7e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416906391db0b7e908490612e00908e908e906004016147c5565b60206040518083038185885af1158015612e1e573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612e4391906147a8565b612e79576040517fe8bee83900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8515612e8857612e88876134d7565b509998505050505050505050565b60208083015160c084015160e0850151604080870151606088015161010089015160a08a01516101208b01519451600099612ed799989796918c9101614859565b60405160208183030381529060405280519060200120905092915050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612f3e577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310612f6a576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612f8857662386f26fc10000830492506010015b6305f5e1008310612fa0576305f5e100830492506008015b6127108310612fb457612710830492506004015b60648310612fc6576064830492506002015b600a831061074b5760010192915050565b60606000612fe4836134ea565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b600080825160410361304c5760208301516040840151606085015160001a6130408782858561352b565b94509450505050613054565b506000905060025b9250929050565b60008060008573ffffffffffffffffffffffffffffffffffffffff16631626ba7e60e01b8686604051602401613092929190614937565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090941693909317909252905161311b9190614958565b600060405180830381855afa9150503d8060008114613156576040519150601f19603f3d011682016040523d82523d6000602084013e61315b565b606091505b509150915081801561316f57506020815110155b8015612a9d575080517f1626ba7e00000000000000000000000000000000000000000000000000000000906131ad908301602090810190840161496a565b149695505050505050565b602086015160009073ffffffffffffffffffffffffffffffffffffffff811661322c578515613213576040517f1574f9f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b821561322257613222846134d7565b6000915050612a9d565b8515613317578073ffffffffffffffffffffffffffffffffffffffff1663ce46e0466040518163ffffffff1660e01b8152600401602060405180830381865afa15801561327d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132a191906147a8565b6132d7576040517f1574f9f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83861115613311576040517f1101129400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b85840393505b84156133ef576040517fe49617e100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82169063e49617e1908890613371908b90600401613b32565b60206040518083038185885af115801561338f573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906133b491906147a8565b6133ea576040517fccf3bb2700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6134bc565b6040517fe60c350500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82169063e60c3505908890613443908b90600401613b32565b60206040518083038185885af1158015613461573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061348691906147a8565b6134bc576040517fbd8ba84d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82156134cb576134cb846134d7565b50939695505050505050565b80156134e7576134e7338261361a565b50565b600060ff8216601f81111561074b576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156135625750600090506003613611565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156135b6573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811661360a57600060019250925050613611565b9150600090505b94509492505050565b80471015613689576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064015b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d80600081146136e3576040519150601f19603f3d011682016040523d82523d6000602084013e6136e8565b606091505b5050905080610ae6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401613680565b60008083601f84011261378b57600080fd5b50813567ffffffffffffffff8111156137a357600080fd5b6020830191508360208260051b850101111561305457600080fd5b600080602083850312156137d157600080fd5b823567ffffffffffffffff8111156137e857600080fd5b6137f485828601613779565b90969095509350505050565b60005b8381101561381b578181015183820152602001613803565b50506000910152565b6000815180845261383c816020860160208601613800565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006138816020830184613824565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff811681146134e757600080fd5b80356138b581613888565b919050565b6000602082840312156138cc57600080fd5b813561388181613888565b6000602082840312156138e957600080fd5b813567ffffffffffffffff81111561390057600080fd5b820160e0818503121561388157600080fd5b6020808252825182820181905260009190848201906040850190845b8181101561394a5783518352928401929184019160010161392e565b50909695505050505050565b60006060828403121561396857600080fd5b50919050565b60006020828403121561398057600080fd5b5035919050565b600081518084526020808501945080840160005b838110156139b75781518752958201959082019060010161399b565b509495945050505050565b7fff000000000000000000000000000000000000000000000000000000000000008816815260e0602082015260006139fd60e0830189613824565b8281036040840152613a0f8189613824565b905086606084015273ffffffffffffffffffffffffffffffffffffffff861660808401528460a084015282810360c0840152611bd98185613987565b600061014082518452602083015160208501526040830151613a79604086018267ffffffffffffffff169052565b506060830151613a95606086018267ffffffffffffffff169052565b506080830151613ab1608086018267ffffffffffffffff169052565b5060a083015160a085015260c0830151613ae360c086018273ffffffffffffffffffffffffffffffffffffffff169052565b5060e0830151613b0b60e086018273ffffffffffffffffffffffffffffffffffffffff169052565b506101008381015115159085015261012080840151818601839052612a9d83870182613824565b6020815260006138816020830184613a4b565b6000610100828403121561396857600080fd5b60008060408385031215613b6b57600080fd5b8235613b7681613888565b946020939093013593505050565b600060208284031215613b9657600080fd5b813567ffffffffffffffff811115613bad57600080fd5b82016040818503121561388157600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61833603018112613c2257600080fd5b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405160a0810167ffffffffffffffff81118282101715613c7e57613c7e613c2c565b60405290565b60405160c0810167ffffffffffffffff81118282101715613c7e57613c7e613c2c565b6040516080810167ffffffffffffffff81118282101715613c7e57613c7e613c2c565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715613d1157613d11613c2c565b604052919050565b600067ffffffffffffffff821115613d3357613d33613c2c565b5060051b60200190565b600060408284031215613d4f57600080fd5b6040516040810181811067ffffffffffffffff82111715613d7257613d72613c2c565b604052823581526020928301359281019290925250919050565b600060608284031215613d9e57600080fd5b6040516060810181811067ffffffffffffffff82111715613dc157613dc1613c2c565b604052905080823560ff81168114613dd857600080fd5b8082525060208301356020820152604083013560408201525092915050565b600082601f830112613e0857600080fd5b81356020613e1d613e1883613d19565b613cca565b82815260609283028501820192828201919087851115613e3c57600080fd5b8387015b85811015613e5f57613e528982613d8c565b8452928401928101613e40565b5090979650505050505050565b803567ffffffffffffffff811681146138b557600080fd5b600060a08236031215613e9657600080fd5b613e9e613c5b565b8235815260208084013567ffffffffffffffff80821115613ebe57600080fd5b9085019036601f830112613ed157600080fd5b8135613edf613e1882613d19565b81815260069190911b83018401908481019036831115613efe57600080fd5b938501935b82851015613f2757613f153686613d3d565b82528582019150604085019450613f03565b80868801525050506040860135925080831115613f4357600080fd5b5050613f5136828601613df7565b604083015250613f63606084016138aa565b6060820152613f7460808401613e6c565b608082015292915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8181038181111561074b5761074b613f7f565b600181811c90821680613fd557607f821691505b602082108103613968577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b80151581146134e757600080fd5b600067ffffffffffffffff82111561403657614036613c2c565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b600060c0828403121561407457600080fd5b61407c613c84565b9050813561408981613888565b81526020614098838201613e6c565b8183015260408301356140aa8161400e565b604083015260608381013590830152608083013567ffffffffffffffff8111156140d357600080fd5b8301601f810185136140e457600080fd5b80356140f2613e188261401c565b818152868483850101111561410657600080fd5b818484018583013760008483830101528060808601525050505060a082013560a082015292915050565b600060e0823603121561414257600080fd5b61414a613c5b565b82358152602083013567ffffffffffffffff81111561416857600080fd5b61417436828601614062565b6020830152506141873660408501613d8c565b604082015260a083013561419a81613888565b6060820152613f7460c08401613e6c565b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff41833603018112613c2257600080fd5b600061074b3683614062565b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc1833603018112613c2257600080fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261425457600080fd5b83018035915067ffffffffffffffff82111561426f57600080fd5b6020019150600581901b360382131561305457600080fd5b6000614295613e1884613d19565b80848252602080830192508560051b8501368111156142b357600080fd5b855b818110156142ef57803567ffffffffffffffff8111156142d55760008081fd5b6142e136828a01614062565b8652509382019382016142b5565b50919695505050505050565b60006040828403121561430d57600080fd5b6138818383613d3d565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261434c57600080fd5b83018035915067ffffffffffffffff82111561436757600080fd5b6020019150600681901b360382131561305457600080fd5b60008451614391818460208901613800565b80830190507f2e0000000000000000000000000000000000000000000000000000000000000080825285516143cd816001850160208a01613800565b600192019182015283516143e8816002840160208801613800565b0160020195945050505050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261442a57600080fd5b83018035915067ffffffffffffffff82111561444557600080fd5b602001915060608102360382131561305457600080fd5b60006060828403121561446e57600080fd5b6138818383613d8c565b60006020828403121561448a57600080fd5b61388182613e6c565b600061010082840312156144a657600080fd5b6144ae613c5b565b823581526144bf8460208501613d3d565b60208201526144d18460608501613d8c565b604082015260c08301356144e481613888565b60608201526144f560e08401613e6c565b60808201529392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361453257614532613f7f565b5060010190565b6000602080838503121561454c57600080fd5b825167ffffffffffffffff8082111561456457600080fd5b908401906080828703121561457857600080fd5b614580613ca7565b825181528383015161459181613888565b8185015260408301516145a38161400e565b60408201526060830151828111156145ba57600080fd5b80840193505086601f8401126145cf57600080fd5b825191506145df613e188361401c565b82815287858486010111156145f357600080fd5b61460283868301878701613800565b60608201529695505050505050565b601f821115610ae657600081815260208120601f850160051c810160208610156146385750805b601f850160051c820191505b8181101561465757828155600101614644565b505050505050565b815167ffffffffffffffff81111561467957614679613c2c565b61468d816146878454613fc1565b84614611565b602080601f8311600181146146e057600084156146aa5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555614657565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b8281101561472d5788860151825594840194600190910190840161470e565b508582101561476957878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000602082840312156147ba57600080fd5b81516138818161400e565b6000604082016040835280855180835260608501915060608160051b8601019250602080880160005b8381101561483a577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa0888703018552614828868351613a4b565b955093820193908201906001016147ee565b5050858403818701525050506148508185613987565b95945050505050565b89815260007fffffffffffffffffffffffffffffffffffffffff000000000000000000000000808b60601b166020840152808a60601b166034840152507fffffffffffffffff000000000000000000000000000000000000000000000000808960c01b166048840152808860c01b1660508401525085151560f81b605883015284605983015283516148f2816079850160208801613800565b80830190507fffffffff000000000000000000000000000000000000000000000000000000008460e01b166079820152607d81019150509a9950505050505050505050565b8281526040602082015260006149506040830184613824565b949350505050565b60008251613c22818460208701613800565b60006020828403121561497c57600080fd5b505191905056fea164736f6c6343000813000a"; + +type EASConstructorParams = + | [signer?: Signer] + | ConstructorParameters; + +const isSuperArgs = ( + xs: EASConstructorParams +): xs is ConstructorParameters => xs.length > 1; + +export class EAS__factory extends ContractFactory { + constructor(...args: EASConstructorParams) { + if (isSuperArgs(args)) { + super(...args); + } else { + super(_abi, _bytecode, args[0]); + } + } + + override getDeployTransaction( + registry: AddressLike, + overrides?: NonPayableOverrides & { from?: string } + ): Promise { + return super.getDeployTransaction(registry, overrides || {}); + } + override deploy( + registry: AddressLike, + overrides?: NonPayableOverrides & { from?: string } + ) { + return super.deploy(registry, overrides || {}) as Promise< + EAS & { + deploymentTransaction(): ContractTransactionResponse; + } + >; + } + override connect(runner: ContractRunner | null): EAS__factory { + return super.connect(runner) as EAS__factory; + } + + static readonly bytecode = _bytecode; + static readonly abi = _abi; + static createInterface(): EASInterface { + return new Interface(_abi) as EASInterface; + } + static connect(address: string, runner?: ContractRunner | null): EAS { + return new Contract(address, _abi, runner) as unknown as EAS; + } +} diff --git a/deployments/polygon-mumbai/types/factories/contracts/SchemaRegistry__factory.ts b/deployments/polygon-mumbai/types/factories/contracts/SchemaRegistry__factory.ts new file mode 100644 index 0000000..c15c92a --- /dev/null +++ b/deployments/polygon-mumbai/types/factories/contracts/SchemaRegistry__factory.ts @@ -0,0 +1,207 @@ +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +import { + Contract, + ContractFactory, + ContractTransactionResponse, + Interface, +} from "ethers"; +import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; +import type { NonPayableOverrides } from "../../common"; +import type { + SchemaRegistry, + SchemaRegistryInterface, +} from "../../contracts/SchemaRegistry"; + +const _abi = [ + { + inputs: [], + stateMutability: "nonpayable", + type: "constructor", + }, + { + inputs: [], + name: "AlreadyExists", + type: "error", + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: "bytes32", + name: "uid", + type: "bytes32", + }, + { + indexed: true, + internalType: "address", + name: "registerer", + type: "address", + }, + { + 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", + }, + ], + indexed: false, + internalType: "struct SchemaRecord", + name: "schema", + type: "tuple", + }, + ], + name: "Registered", + type: "event", + }, + { + 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", + }, + { + inputs: [], + name: "version", + outputs: [ + { + internalType: "string", + name: "", + type: "string", + }, + ], + stateMutability: "view", + type: "function", + }, +] as const; + +const _bytecode = + "0x60e060405234801561001057600080fd5b506001608052600260a052600060c05260805160a05160c051610a8461004c600039600060fe0152600060d50152600060ac0152610a846000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806354fd4d501461004657806360d7a27814610064578063a2ea7c6e14610085575b600080fd5b61004e6100a5565b60405161005b9190610683565b60405180910390f35b61007761007236600461069d565b610148565b60405190815260200161005b565b61009861009336600461074f565b61030c565b60405161005b9190610768565b60606100d07f0000000000000000000000000000000000000000000000000000000000000000610434565b6100f97f0000000000000000000000000000000000000000000000000000000000000000610434565b6101227f0000000000000000000000000000000000000000000000000000000000000000610434565b604051602001610134939291906107c1565b604051602081830303815290604052905090565b60008060405180608001604052806000801b81526020018573ffffffffffffffffffffffffffffffffffffffff168152602001841515815260200187878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250939094525092935091506101ca9050826104f2565b60008181526020819052604090205490915015610213576040517f23369fa600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80825260008181526020818152604091829020845181559084015160018201805493860151151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00000000000000000000000000000000000000000090941673ffffffffffffffffffffffffffffffffffffffff9092169190911792909217909155606083015183919060028201906102af9082610908565b509050503373ffffffffffffffffffffffffffffffffffffffff16817fd0b86852e21f9e5fa4bc3b0cff9757ffe243d50c4b43968a42202153d651ea5e846040516102fa9190610768565b60405180910390a39695505050505050565b604080516080810182526000808252602082018190529181019190915260608082015260008281526020818152604091829020825160808101845281548152600182015473ffffffffffffffffffffffffffffffffffffffff8116938201939093527401000000000000000000000000000000000000000090920460ff161515928201929092526002820180549192916060840191906103ab90610866565b80601f01602080910402602001604051908101604052809291908181526020018280546103d790610866565b80156104245780601f106103f957610100808354040283529160200191610424565b820191906000526020600020905b81548152906001019060200180831161040757829003601f168201915b5050505050815250509050919050565b6060600061044183610532565b600101905060008167ffffffffffffffff81111561046157610461610837565b6040519080825280601f01601f19166020018201604052801561048b576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a850494508461049557509392505050565b600081606001518260200151836040015160405160200161051593929190610a22565b604051602081830303815290604052805190602001209050919050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061057b577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef810000000083106105a7576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106105c557662386f26fc10000830492506010015b6305f5e10083106105dd576305f5e100830492506008015b61271083106105f157612710830492506004015b60648310610603576064830492506002015b600a831061060f576001015b92915050565b60005b83811015610630578181015183820152602001610618565b50506000910152565b60008151808452610651816020860160208601610615565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006106966020830184610639565b9392505050565b600080600080606085870312156106b357600080fd5b843567ffffffffffffffff808211156106cb57600080fd5b818701915087601f8301126106df57600080fd5b8135818111156106ee57600080fd5b88602082850101111561070057600080fd5b6020928301965094505085013573ffffffffffffffffffffffffffffffffffffffff8116811461072f57600080fd5b91506040850135801515811461074457600080fd5b939692955090935050565b60006020828403121561076157600080fd5b5035919050565b602081528151602082015273ffffffffffffffffffffffffffffffffffffffff6020830151166040820152604082015115156060820152600060608301516080808401526107b960a0840182610639565b949350505050565b600084516107d3818460208901610615565b80830190507f2e00000000000000000000000000000000000000000000000000000000000000808252855161080f816001850160208a01610615565b6001920191820152835161082a816002840160208801610615565b0160020195945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600181811c9082168061087a57607f821691505b6020821081036108b3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f82111561090357600081815260208120601f850160051c810160208610156108e05750805b601f850160051c820191505b818110156108ff578281556001016108ec565b5050505b505050565b815167ffffffffffffffff81111561092257610922610837565b610936816109308454610866565b846108b9565b602080601f83116001811461098957600084156109535750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b1785556108ff565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b828110156109d6578886015182559484019460019091019084016109b7565b5085821015610a1257878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b60008451610a34818460208901610615565b60609490941b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000169190930190815290151560f81b60148201526015019291505056fea164736f6c6343000813000a"; + +type SchemaRegistryConstructorParams = + | [signer?: Signer] + | ConstructorParameters; + +const isSuperArgs = ( + xs: SchemaRegistryConstructorParams +): xs is ConstructorParameters => xs.length > 1; + +export class SchemaRegistry__factory extends ContractFactory { + constructor(...args: SchemaRegistryConstructorParams) { + if (isSuperArgs(args)) { + super(...args); + } else { + super(_abi, _bytecode, args[0]); + } + } + + override getDeployTransaction( + overrides?: NonPayableOverrides & { from?: string } + ): Promise { + return super.getDeployTransaction(overrides || {}); + } + override deploy(overrides?: NonPayableOverrides & { from?: string }) { + return super.deploy(overrides || {}) as Promise< + SchemaRegistry & { + deploymentTransaction(): ContractTransactionResponse; + } + >; + } + override connect(runner: ContractRunner | null): SchemaRegistry__factory { + return super.connect(runner) as SchemaRegistry__factory; + } + + static readonly bytecode = _bytecode; + static readonly abi = _abi; + static createInterface(): SchemaRegistryInterface { + return new Interface(_abi) as SchemaRegistryInterface; + } + static connect( + address: string, + runner?: ContractRunner | null + ): SchemaRegistry { + return new Contract(address, _abi, runner) as unknown as SchemaRegistry; + } +} diff --git a/deployments/polygon-mumbai/types/factories/contracts/eip712/proxy/EIP712Proxy__factory.ts b/deployments/polygon-mumbai/types/factories/contracts/eip712/proxy/EIP712Proxy__factory.ts new file mode 100644 index 0000000..3cb0dd9 --- /dev/null +++ b/deployments/polygon-mumbai/types/factories/contracts/eip712/proxy/EIP712Proxy__factory.ts @@ -0,0 +1,616 @@ +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +import { + Contract, + ContractFactory, + ContractTransactionResponse, + Interface, +} from "ethers"; +import type { + Signer, + AddressLike, + ContractDeployTransaction, + ContractRunner, +} from "ethers"; +import type { NonPayableOverrides } from "../../../../common"; +import type { + EIP712Proxy, + EIP712ProxyInterface, +} from "../../../../contracts/eip712/proxy/EIP712Proxy"; + +const _abi = [ + { + inputs: [ + { + internalType: "contract IEAS", + name: "eas", + type: "address", + }, + { + internalType: "string", + name: "name", + type: "string", + }, + ], + stateMutability: "nonpayable", + type: "constructor", + }, + { + inputs: [], + name: "AccessDenied", + type: "error", + }, + { + inputs: [], + name: "DeadlineExpired", + type: "error", + }, + { + inputs: [], + name: "InvalidEAS", + type: "error", + }, + { + inputs: [], + name: "InvalidLength", + type: "error", + }, + { + inputs: [], + name: "InvalidShortString", + type: "error", + }, + { + inputs: [], + name: "InvalidSignature", + type: "error", + }, + { + inputs: [], + name: "NotFound", + type: "error", + }, + { + inputs: [ + { + internalType: "string", + name: "str", + type: "string", + }, + ], + name: "StringTooLong", + type: "error", + }, + { + inputs: [], + name: "UsedSignature", + type: "error", + }, + { + anonymous: false, + inputs: [], + name: "EIP712DomainChanged", + type: "event", + }, + { + inputs: [ + { + components: [ + { + internalType: "bytes32", + name: "schema", + type: "bytes32", + }, + { + components: [ + { + internalType: "address", + name: "recipient", + type: "address", + }, + { + internalType: "uint64", + name: "expirationTime", + type: "uint64", + }, + { + internalType: "bool", + name: "revocable", + type: "bool", + }, + { + internalType: "bytes32", + name: "refUID", + type: "bytes32", + }, + { + internalType: "bytes", + name: "data", + type: "bytes", + }, + { + internalType: "uint256", + name: "value", + type: "uint256", + }, + ], + internalType: "struct AttestationRequestData", + name: "data", + type: "tuple", + }, + { + components: [ + { + internalType: "uint8", + name: "v", + type: "uint8", + }, + { + internalType: "bytes32", + name: "r", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "s", + type: "bytes32", + }, + ], + internalType: "struct Signature", + name: "signature", + type: "tuple", + }, + { + internalType: "address", + name: "attester", + type: "address", + }, + { + internalType: "uint64", + name: "deadline", + type: "uint64", + }, + ], + internalType: "struct DelegatedProxyAttestationRequest", + name: "delegatedRequest", + type: "tuple", + }, + ], + name: "attestByDelegation", + outputs: [ + { + internalType: "bytes32", + name: "", + type: "bytes32", + }, + ], + stateMutability: "payable", + type: "function", + }, + { + inputs: [], + name: "eip712Domain", + outputs: [ + { + internalType: "bytes1", + name: "fields", + type: "bytes1", + }, + { + internalType: "string", + name: "name", + type: "string", + }, + { + internalType: "string", + name: "version", + type: "string", + }, + { + internalType: "uint256", + name: "chainId", + type: "uint256", + }, + { + internalType: "address", + name: "verifyingContract", + type: "address", + }, + { + internalType: "bytes32", + name: "salt", + type: "bytes32", + }, + { + internalType: "uint256[]", + name: "extensions", + type: "uint256[]", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getAttestTypeHash", + outputs: [ + { + internalType: "bytes32", + name: "", + type: "bytes32", + }, + ], + stateMutability: "pure", + type: "function", + }, + { + inputs: [ + { + internalType: "bytes32", + name: "uid", + type: "bytes32", + }, + ], + name: "getAttester", + outputs: [ + { + internalType: "address", + name: "", + type: "address", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getDomainSeparator", + outputs: [ + { + internalType: "bytes32", + name: "", + type: "bytes32", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getEAS", + outputs: [ + { + internalType: "contract IEAS", + name: "", + type: "address", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getName", + outputs: [ + { + internalType: "string", + name: "", + type: "string", + }, + ], + stateMutability: "view", + type: "function", + }, + { + inputs: [], + name: "getRevokeTypeHash", + outputs: [ + { + internalType: "bytes32", + name: "", + type: "bytes32", + }, + ], + stateMutability: "pure", + type: "function", + }, + { + inputs: [ + { + components: [ + { + internalType: "bytes32", + name: "schema", + type: "bytes32", + }, + { + components: [ + { + internalType: "address", + name: "recipient", + type: "address", + }, + { + internalType: "uint64", + name: "expirationTime", + type: "uint64", + }, + { + internalType: "bool", + name: "revocable", + type: "bool", + }, + { + internalType: "bytes32", + name: "refUID", + type: "bytes32", + }, + { + internalType: "bytes", + name: "data", + type: "bytes", + }, + { + internalType: "uint256", + name: "value", + type: "uint256", + }, + ], + internalType: "struct AttestationRequestData[]", + name: "data", + type: "tuple[]", + }, + { + components: [ + { + internalType: "uint8", + name: "v", + type: "uint8", + }, + { + internalType: "bytes32", + name: "r", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "s", + type: "bytes32", + }, + ], + internalType: "struct Signature[]", + name: "signatures", + type: "tuple[]", + }, + { + internalType: "address", + name: "attester", + type: "address", + }, + { + internalType: "uint64", + name: "deadline", + type: "uint64", + }, + ], + internalType: "struct MultiDelegatedProxyAttestationRequest[]", + name: "multiDelegatedRequests", + type: "tuple[]", + }, + ], + name: "multiAttestByDelegation", + outputs: [ + { + internalType: "bytes32[]", + name: "", + type: "bytes32[]", + }, + ], + stateMutability: "payable", + type: "function", + }, + { + inputs: [ + { + components: [ + { + internalType: "bytes32", + name: "schema", + type: "bytes32", + }, + { + components: [ + { + internalType: "bytes32", + name: "uid", + type: "bytes32", + }, + { + internalType: "uint256", + name: "value", + type: "uint256", + }, + ], + internalType: "struct RevocationRequestData[]", + name: "data", + type: "tuple[]", + }, + { + components: [ + { + internalType: "uint8", + name: "v", + type: "uint8", + }, + { + internalType: "bytes32", + name: "r", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "s", + type: "bytes32", + }, + ], + internalType: "struct Signature[]", + name: "signatures", + type: "tuple[]", + }, + { + internalType: "address", + name: "revoker", + type: "address", + }, + { + internalType: "uint64", + name: "deadline", + type: "uint64", + }, + ], + internalType: "struct MultiDelegatedProxyRevocationRequest[]", + name: "multiDelegatedRequests", + type: "tuple[]", + }, + ], + name: "multiRevokeByDelegation", + outputs: [], + stateMutability: "payable", + type: "function", + }, + { + inputs: [ + { + components: [ + { + internalType: "bytes32", + name: "schema", + type: "bytes32", + }, + { + components: [ + { + internalType: "bytes32", + name: "uid", + type: "bytes32", + }, + { + internalType: "uint256", + name: "value", + type: "uint256", + }, + ], + internalType: "struct RevocationRequestData", + name: "data", + type: "tuple", + }, + { + components: [ + { + internalType: "uint8", + name: "v", + type: "uint8", + }, + { + internalType: "bytes32", + name: "r", + type: "bytes32", + }, + { + internalType: "bytes32", + name: "s", + type: "bytes32", + }, + ], + internalType: "struct Signature", + name: "signature", + type: "tuple", + }, + { + internalType: "address", + name: "revoker", + type: "address", + }, + { + internalType: "uint64", + name: "deadline", + type: "uint64", + }, + ], + internalType: "struct DelegatedProxyRevocationRequest", + name: "delegatedRequest", + type: "tuple", + }, + ], + name: "revokeByDelegation", + outputs: [], + stateMutability: "payable", + type: "function", + }, + { + inputs: [], + name: "version", + outputs: [ + { + internalType: "string", + name: "", + type: "string", + }, + ], + stateMutability: "view", + type: "function", + }, +] as const; + +const _bytecode = + "0x6101e06040523480156200001257600080fd5b5060405162002d7638038062002d7683398101604081905262000035916200022c565b6040805180820190915260058152640312e322e360dc1b60208201526001608052600260a052600060c0819052829190620000729083906200016b565b61018052620000838160016200016b565b6101a052815160208084019190912061014052815190820120610160524661010052620001146101405161016051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60e052505030610120526001600160a01b03821662000146576040516341bc07ff60e11b815260040160405180910390fd5b6001600160a01b0382166101c052600262000162828262000396565b505050620004bc565b60006020835110156200018b576200018383620001a4565b90506200019e565b8162000198848262000396565b5060ff90505b92915050565b600080829050601f81511115620001db578260405163305a27a960e01b8152600401620001d2919062000462565b60405180910390fd5b8051620001e88262000497565b179392505050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200022357818101518382015260200162000209565b50506000910152565b600080604083850312156200024057600080fd5b82516001600160a01b03811681146200025857600080fd5b60208401519092506001600160401b03808211156200027657600080fd5b818501915085601f8301126200028b57600080fd5b815181811115620002a057620002a0620001f0565b604051601f8201601f19908116603f01168101908382118183101715620002cb57620002cb620001f0565b81604052828152886020848701011115620002e557600080fd5b620002f883602083016020880162000206565b80955050505050509250929050565b600181811c908216806200031c57607f821691505b6020821081036200033d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200039157600081815260208120601f850160051c810160208610156200036c5750805b601f850160051c820191505b818110156200038d5782815560010162000378565b5050505b505050565b81516001600160401b03811115620003b257620003b2620001f0565b620003ca81620003c3845462000307565b8462000343565b602080601f831160018114620004025760008415620003e95750858301515b600019600386901b1c1916600185901b1785556200038d565b600085815260208120601f198616915b82811015620004335788860151825594840194600190910190840162000412565b5085821015620004525787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208152600082518060208401526200048381604085016020870162000206565b601f01601f19169190910160400192915050565b805160208083015191908110156200033d5760001960209190910360031b1b16919050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516128176200055f600039600081816101e4015281816104d1015281816105e901528181610a9d0152610c7e015260006107f8015260006107ce015260006113d9015260006113b10152600061130c0152600061133601526000611360015260006107760152600061074d0152600061072401526128176000f3fe6080604052600436106100c75760003560e01c806365c40b9c11610074578063a6d4dbc71161004e578063a6d4dbc714610250578063b83010d314610263578063ed24911d1461029657600080fd5b806365c40b9c146101d557806384b0196e14610208578063954115251461023057600080fd5b806317d7de7c116100a557806317d7de7c1461018b5780633c042715146101ad57806354fd4d50146101c057600080fd5b80630eabf660146100cc57806310d736d5146100e157806312b11a171461014e575b600080fd5b6100df6100da366004611a00565b6102ab565b005b3480156100ed57600080fd5b506101246100fc366004611a42565b60009081526003602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561015a57600080fd5b507f9d3e80e7032dc16815a5f67aa94e851240ae3b24eed13a7431bdac738f8145675b604051908152602001610145565b34801561019757600080fd5b506101a0610540565b6040516101459190611ac9565b61017d6101bb366004611ae3565b6105d2565b3480156101cc57600080fd5b506101a061071d565b3480156101e157600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610124565b34801561021457600080fd5b5061021d6107c0565b6040516101459796959493929190611b1e565b61024361023e366004611a00565b610864565b6040516101459190611bdd565b6100df61025e366004611c21565b610c65565b34801561026f57600080fd5b507fd4e76f924411647a916bb4ae4631b3cf45c44e2da56ed1c63edb18ebc97ba5e461017d565b3480156102a257600080fd5b5061017d610d65565b8060008167ffffffffffffffff8111156102c7576102c7611c3a565b60405190808252806020026020018201604052801561030d57816020015b6040805180820190915260008152606060208201528152602001906001900390816102e55790505b50905060005b8281101561049357600085858381811061032f5761032f611c69565b90506020028101906103419190611c98565b61034a90611f05565b602081015180519192509080158061036757508260400151518114155b1561039e576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b818110156104485760008382815181106103bd576103bd611c69565b6020026020010151905061043f6040518060a0016040528087600001518152602001838152602001876040015185815181106103fb576103fb611c69565b60200260200101518152602001876060015173ffffffffffffffffffffffffffffffffffffffff168152602001876080015167ffffffffffffffff16815250610d74565b506001016103a1565b506040518060400160405280846000015181526020018381525085858151811061047457610474611c69565b602002602001018190525050505061048c8160010190565b9050610313565b506040517f4cb7e9e500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690634cb7e9e5903490610508908590600401612000565b6000604051808303818588803b15801561052157600080fd5b505af1158015610535573d6000803e3d6000fd5b505050505050505050565b60606002805461054f906120cf565b80601f016020809104026020016040519081016040528092919081815260200182805461057b906120cf565b80156105c85780601f1061059d576101008083540402835291602001916105c8565b820191906000526020600020905b8154815290600101906020018083116105ab57829003601f168201915b5050505050905090565b60006105e56105e083612240565b610fb6565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663f17325e73460405180604001604052808760000135815260200187806020019061064991906122b9565b610652906122ed565b8152506040518363ffffffff1660e01b8152600401610671919061236c565b60206040518083038185885af115801561068f573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906106b49190612399565b90506106c660c0840160a085016123b2565b600082815260036020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905592915050565b60606107487f0000000000000000000000000000000000000000000000000000000000000000611189565b6107717f0000000000000000000000000000000000000000000000000000000000000000611189565b61079a7f0000000000000000000000000000000000000000000000000000000000000000611189565b6040516020016107ac939291906123cd565b604051602081830303815290604052905090565b6000606080828080836107f37f000000000000000000000000000000000000000000000000000000000000000083611247565b61081e7f00000000000000000000000000000000000000000000000000000000000000006001611247565b604080516000808252602082019092527f0f000000000000000000000000000000000000000000000000000000000000009b939a50919850469750309650945092509050565b60608160008167ffffffffffffffff81111561088257610882611c3a565b6040519080825280602002602001820160405280156108c857816020015b6040805180820190915260008152606060208201528152602001906001900390816108a05790505b50905060005b82811015610a9857368686838181106108e9576108e9611c69565b90506020028101906108fb9190611c98565b905036600061090d6020840184612443565b90925090508080158061092e575061092860408501856124ab565b90508114155b15610965576040517f947d5a8400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610a4657610a3e6040518060a001604052808760000135815260200186868581811061099a5761099a611c69565b90506020028101906109ac91906122b9565b6109b5906122ed565b81526020016109c760408901896124ab565b858181106109d7576109d7611c69565b9050606002018036038101906109ed9190612512565b8152602001610a026080890160608a016123b2565b73ffffffffffffffffffffffffffffffffffffffff168152602001610a2d60a0890160808a0161252e565b67ffffffffffffffff169052610fb6565b600101610968565b50604080518082019091528435815260208101610a638486612549565b815250868681518110610a7857610a78611c69565b602002602001018190525050505050610a918160010190565b90506108ce565b5060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166344adc90e34846040518363ffffffff1660e01b8152600401610af591906125bd565b60006040518083038185885af1158015610b13573d6000803e3d6000fd5b50505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052610b5a91908101906126b0565b90506000805b84811015610c575736888883818110610b7b57610b7b611c69565b9050602002810190610b8d9190611c98565b9050366000610b9f6020840184612443565b90925090508060005b81811015610c4157610bc060808601606087016123b2565b600360008a8a81518110610bd657610bd6611c69565b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550866001019650610c3a8160010190565b9050610ba8565b5050505050610c508160010190565b9050610b60565b509093505050505b92915050565b610c7c610c7736839003830183612741565b610d74565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663469262673460405180604001604052808560000135815260200185602001803603810190610ce291906127ad565b90526040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815281516004820152602091820151805160248301529091015160448201526064016000604051808303818588803b158015610d4957600080fd5b505af1158015610d5d573d6000803e3d6000fd5b505050505050565b6000610d6f6112f2565b905090565b608081015167ffffffffffffffff1615801590610da857504267ffffffffffffffff16816080015167ffffffffffffffff16105b15610ddf576040517f1ab7da6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60208082015180516000908152600390925260409091205473ffffffffffffffffffffffffffffffffffffffff1680610e44576040517fc5723b5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81163314610e93576040517f4ca8886700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040830151610ea18161142a565b835183516020808601516080880151604051600095610f2d95610f12957fd4e76f924411647a916bb4ae4631b3cf45c44e2da56ed1c63edb18ebc97ba5e495929491930194855260208501939093526040840191909152606083015267ffffffffffffffff16608082015260a00190565b60405160208183030381529060405280519060200120611538565b9050846060015173ffffffffffffffffffffffffffffffffffffffff16610f6282846000015185602001518660400151611580565b73ffffffffffffffffffffffffffffffffffffffff1614610faf576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b608081015167ffffffffffffffff1615801590610fea57504267ffffffffffffffff16816080015167ffffffffffffffff16105b15611021576040517f1ab7da6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b602081015160408201516110348161142a565b60006111017f9d3e80e7032dc16815a5f67aa94e851240ae3b24eed13a7431bdac738f81456760001b856000015185600001518660200151876040015188606001518960800151805190602001208a60a001518c60800151604051602001610f1299989796959493929190988952602089019790975273ffffffffffffffffffffffffffffffffffffffff95909516604088015267ffffffffffffffff9384166060880152911515608087015260a086015260c085015260e0840191909152166101008201526101200190565b9050836060015173ffffffffffffffffffffffffffffffffffffffff1661113682846000015185602001518660400151611580565b73ffffffffffffffffffffffffffffffffffffffff1614611183576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60606000611196836115a8565b600101905060008167ffffffffffffffff8111156111b6576111b6611c3a565b6040519080825280601f01601f1916602001820160405280156111e0576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85049450846111ea57509392505050565b606060ff83146112615761125a8361168a565b9050610c5f565b81805461126d906120cf565b80601f0160208091040260200160405190810160405280929190818152602001828054611299906120cf565b80156112e65780601f106112bb576101008083540402835291602001916112e6565b820191906000526020600020905b8154815290600101906020018083116112c957829003601f168201915b50505050509050610c5f565b60003073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614801561135857507f000000000000000000000000000000000000000000000000000000000000000046145b1561138257507f000000000000000000000000000000000000000000000000000000000000000090565b610d6f604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b8051602080830151604080850151905160f89490941b7fff00000000000000000000000000000000000000000000000000000000000000169284019290925260218301526041820152600090606101604051602081830303815290604052905060048160405161149a91906127c9565b9081526040519081900360200190205460ff16156114e4576040517fcce9a82400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60016004826040516114f691906127c9565b90815260405190819003602001902080549115157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009092169190911790555050565b6000610c5f6115456112f2565b836040517f19010000000000000000000000000000000000000000000000000000000000008152600281019290925260228201526042902090565b6000806000611591878787876116c9565b9150915061159e816117b8565b5095945050505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106115f1577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef8100000000831061161d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061163b57662386f26fc10000830492506010015b6305f5e1008310611653576305f5e100830492506008015b612710831061166757612710830492506004015b60648310611679576064830492506002015b600a8310610c5f5760010192915050565b6060600061169783611973565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561170057506000905060036117af565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611754573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff81166117a8576000600192509250506117af565b9150600090505b94509492505050565b60008160048111156117cc576117cc6127db565b036117d45750565b60018160048111156117e8576117e86127db565b03611854576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064015b60405180910390fd5b6002816004811115611868576118686127db565b036118cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161184b565b60038160048111156118e3576118e36127db565b03611970576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f7565000000000000000000000000000000000000000000000000000000000000606482015260840161184b565b50565b600060ff8216601f811115610c5f576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008083601f8401126119c657600080fd5b50813567ffffffffffffffff8111156119de57600080fd5b6020830191508360208260051b85010111156119f957600080fd5b9250929050565b60008060208385031215611a1357600080fd5b823567ffffffffffffffff811115611a2a57600080fd5b611a36858286016119b4565b90969095509350505050565b600060208284031215611a5457600080fd5b5035919050565b60005b83811015611a76578181015183820152602001611a5e565b50506000910152565b60008151808452611a97816020860160208601611a5b565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611adc6020830184611a7f565b9392505050565b600060208284031215611af557600080fd5b813567ffffffffffffffff811115611b0c57600080fd5b820160e08185031215611adc57600080fd5b7fff00000000000000000000000000000000000000000000000000000000000000881681526000602060e081840152611b5a60e084018a611a7f565b8381036040850152611b6c818a611a7f565b6060850189905273ffffffffffffffffffffffffffffffffffffffff8816608086015260a0850187905284810360c0860152855180825283870192509083019060005b81811015611bcb57835183529284019291840191600101611baf565b50909c9b505050505050505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611c1557835183529284019291840191600101611bf9565b50909695505050505050565b60006101008284031215611c3457600080fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61833603018112611ccc57600080fd5b9190910192915050565b60405160a0810167ffffffffffffffff81118282101715611cf957611cf9611c3a565b60405290565b60405160c0810167ffffffffffffffff81118282101715611cf957611cf9611c3a565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715611d6957611d69611c3a565b604052919050565b600067ffffffffffffffff821115611d8b57611d8b611c3a565b5060051b60200190565b600060408284031215611da757600080fd5b6040516040810181811067ffffffffffffffff82111715611dca57611dca611c3a565b604052823581526020928301359281019290925250919050565b600060608284031215611df657600080fd5b6040516060810181811067ffffffffffffffff82111715611e1957611e19611c3a565b604052905080823560ff81168114611e3057600080fd5b8082525060208301356020820152604083013560408201525092915050565b600082601f830112611e6057600080fd5b81356020611e75611e7083611d71565b611d22565b82815260609283028501820192828201919087851115611e9457600080fd5b8387015b85811015611eb757611eaa8982611de4565b8452928401928101611e98565b5090979650505050505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114611ee857600080fd5b919050565b803567ffffffffffffffff81168114611ee857600080fd5b600060a08236031215611f1757600080fd5b611f1f611cd6565b8235815260208084013567ffffffffffffffff80821115611f3f57600080fd5b9085019036601f830112611f5257600080fd5b8135611f60611e7082611d71565b81815260069190911b83018401908481019036831115611f7f57600080fd5b938501935b82851015611fa857611f963686611d95565b82528582019150604085019450611f84565b80868801525050506040860135925080831115611fc457600080fd5b5050611fd236828601611e4f565b604083015250611fe460608401611ec4565b6060820152611ff560808401611eed565b608082015292915050565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b848110156120c0578984037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0018652825180518552880151888501889052805188860181905290890190839060608701905b808310156120ab5761209782855180518252602090810151910152565b928b019260019290920191908a019061207a565b50978a01979550505091870191600101612028565b50919998505050505050505050565b600181811c908216806120e357607f821691505b602082108103611c34577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600082601f83011261212d57600080fd5b813567ffffffffffffffff81111561214757612147611c3a565b61217860207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601611d22565b81815284602083860101111561218d57600080fd5b816020850160208301376000918101602001919091529392505050565b600060c082840312156121bc57600080fd5b6121c4611cff565b90506121cf82611ec4565b81526121dd60208301611eed565b6020820152604082013580151581146121f557600080fd5b604082015260608281013590820152608082013567ffffffffffffffff81111561221e57600080fd5b61222a8482850161211c565b60808301525060a082013560a082015292915050565b600060e0823603121561225257600080fd5b61225a611cd6565b82358152602083013567ffffffffffffffff81111561227857600080fd5b612284368286016121aa565b6020830152506122973660408501611de4565b60408201526122a860a08401611ec4565b6060820152611ff560c08401611eed565b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff41833603018112611ccc57600080fd5b6000610c5f36836121aa565b73ffffffffffffffffffffffffffffffffffffffff815116825267ffffffffffffffff6020820151166020830152604081015115156040830152606081015160608301526000608082015160c0608085015261235860c0850182611a7f565b60a093840151949093019390935250919050565b60208152815160208201526000602083015160408084015261239160608401826122f9565b949350505050565b6000602082840312156123ab57600080fd5b5051919050565b6000602082840312156123c457600080fd5b611adc82611ec4565b600084516123df818460208901611a5b565b80830190507f2e00000000000000000000000000000000000000000000000000000000000000808252855161241b816001850160208a01611a5b565b60019201918201528351612436816002840160208801611a5b565b0160020195945050505050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261247857600080fd5b83018035915067ffffffffffffffff82111561249357600080fd5b6020019150600581901b36038213156119f957600080fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18436030181126124e057600080fd5b83018035915067ffffffffffffffff8211156124fb57600080fd5b60200191506060810236038213156119f957600080fd5b60006060828403121561252457600080fd5b611adc8383611de4565b60006020828403121561254057600080fd5b611adc82611eed565b6000612557611e7084611d71565b80848252602080830192508560051b85013681111561257557600080fd5b855b818110156125b157803567ffffffffffffffff8111156125975760008081fd5b6125a336828a016121aa565b865250938201938201612577565b50919695505050505050565b602080825282518282018190526000919060409081850190600581811b8701840188860187805b858110156126a0577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08b85030187528251805185528901518985018990528051898601819052908a0190606081881b870181019190870190855b8181101561268a577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa08985030183526126788486516122f9565b948e01949350918d019160010161263e565b505050978a0197945050918801916001016125e4565b50919a9950505050505050505050565b600060208083850312156126c357600080fd5b825167ffffffffffffffff8111156126da57600080fd5b8301601f810185136126eb57600080fd5b80516126f9611e7082611d71565b81815260059190911b8201830190838101908783111561271857600080fd5b928401925b828410156127365783518252928401929084019061271d565b979650505050505050565b6000610100828403121561275457600080fd5b61275c611cd6565b8235815261276d8460208501611d95565b602082015261277f8460608501611de4565b604082015261279060c08401611ec4565b60608201526127a160e08401611eed565b60808201529392505050565b6000604082840312156127bf57600080fd5b611adc8383611d95565b60008251611ccc818460208701611a5b565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea164736f6c6343000813000a"; + +type EIP712ProxyConstructorParams = + | [signer?: Signer] + | ConstructorParameters; + +const isSuperArgs = ( + xs: EIP712ProxyConstructorParams +): xs is ConstructorParameters => xs.length > 1; + +export class EIP712Proxy__factory extends ContractFactory { + constructor(...args: EIP712ProxyConstructorParams) { + if (isSuperArgs(args)) { + super(...args); + } else { + super(_abi, _bytecode, args[0]); + } + } + + override getDeployTransaction( + eas: AddressLike, + name: string, + overrides?: NonPayableOverrides & { from?: string } + ): Promise { + return super.getDeployTransaction(eas, name, overrides || {}); + } + override deploy( + eas: AddressLike, + name: string, + overrides?: NonPayableOverrides & { from?: string } + ) { + return super.deploy(eas, name, overrides || {}) as Promise< + EIP712Proxy & { + deploymentTransaction(): ContractTransactionResponse; + } + >; + } + override connect(runner: ContractRunner | null): EIP712Proxy__factory { + return super.connect(runner) as EIP712Proxy__factory; + } + + static readonly bytecode = _bytecode; + static readonly abi = _abi; + static createInterface(): EIP712ProxyInterface { + return new Interface(_abi) as EIP712ProxyInterface; + } + static connect(address: string, runner?: ContractRunner | null): EIP712Proxy { + return new Contract(address, _abi, runner) as unknown as EIP712Proxy; + } +} diff --git a/hardhat.config.ts b/hardhat.config.ts index 20aed93..fcd1ee7 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -19,6 +19,7 @@ interface EnvOptions { ETHEREUM_OPTIMISM_GOERLI_PROVIDER_URL?: string; ETHEREUM_BASE_GOERLI_PROVIDER_URL?: string; ETHEREUM_ARBITRUM_GOERLI_PROVIDER_URL?: string; + ETHEREUM_POLYGON_MUMBAI_PROVIDER_URL?: string; ETHEREUM_LINEA_GOERLI_PROVIDER_URL?: string; ETHERSCAN_API_KEY?: string; PROFILE?: boolean; @@ -34,6 +35,7 @@ const { ETHEREUM_OPTIMISM_GOERLI_PROVIDER_URL = '', ETHEREUM_BASE_GOERLI_PROVIDER_URL = '', ETHEREUM_ARBITRUM_GOERLI_PROVIDER_URL = '', + ETHEREUM_POLYGON_MUMBAI_PROVIDER_URL = '', ETHEREUM_LINEA_GOERLI_PROVIDER_URL = '', ETHERSCAN_API_KEY, PROFILE: isProfiling @@ -123,6 +125,12 @@ const config: HardhatUserConfig = { saveDeployments: true, live: true }, + [DeploymentNetwork.PolygonMumbai]: { + chainId: 80001, + url: ETHEREUM_POLYGON_MUMBAI_PROVIDER_URL, + saveDeployments: true, + live: true + }, [DeploymentNetwork.LineaGoerli]: { chainId: 59140, url: ETHEREUM_LINEA_GOERLI_PROVIDER_URL, diff --git a/package.json b/package.json index 3c120c3..c44dd63 100755 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "/deployments/optimism-goerli/**/*", "/deployments/base-goerli/**/*", "/deployments/arbitrum-goerli/**/*", + "/deployments/polygon-mumbai/**/*", "/deployments/linea-goerli/**/*" ], "scripts": { @@ -45,6 +46,7 @@ "deploy:optimism-goerli": "HARDHAT_NETWORK=optimism-goerli hardhat deploy", "deploy:base-goerli": "HARDHAT_NETWORK=base-goerli hardhat deploy", "deploy:arbitrum-goerli": "HARDHAT_NETWORK=arbitrum-goerli hardhat deploy", + "deploy:polygon-mumbai": "HARDHAT_NETWORK=polygon-mumbai hardhat deploy", "deploy:linea-goerli": "HARDHAT_NETWORK=linea-goerli hardhat deploy", "verify:mainnet": "HARDHAT_NETWORK=mainnet hardhat etherscan-verify --license MIT", "verify:arbitrum-one": "HARDHAT_NETWORK=arbitrum-one hardhat etherscan-verify --license MIT", @@ -55,6 +57,7 @@ "verify:optimism-goerli": "HARDHAT_NETWORK=optimism-goerli hardhat etherscan-verify --license MIT --api-url https://api-goerli-optimism.etherscan.io", "verify:base-goerli": "HARDHAT_NETWORK=base-goerli hardhat etherscan-verify --license MIT --api-url https://api-goerli.basescan.org", "verify:arbitrum-goerli": "HARDHAT_NETWORK=arbitrum-goerli hardhat etherscan-verify --license MIT", + "verify:polygon-mumbai": "HARDHAT_NETWORK=polygon-mumbai hardhat etherscan-verify --license MIT --api-url https://api-mumbai.polygonscan.com/", "verify:linea-goerli": "HARDHAT_NETWORK=linea-goerli hardhat etherscan-verify --license MIT --api-url https://api-goerli.lineascan.build", "lint": "pnpm lint:sol && pnpm lint:ts", "lint:sol": "solhint --max-warnings 0 contracts/**/*.sol", diff --git a/utils/Constants.ts b/utils/Constants.ts index 59b653f..b214a66 100644 --- a/utils/Constants.ts +++ b/utils/Constants.ts @@ -10,6 +10,7 @@ export enum DeploymentNetwork { OptimismGoerli = 'optimism-goerli', BaseGoerli = 'base-goerli', ArbitrumGoerli = 'arbitrum-goerli', + PolygonMumbai = 'polygon-mumbai', LineaGoerli = 'linea-goerli', Hardhat = 'hardhat' } diff --git a/utils/Deploy.ts b/utils/Deploy.ts index 8cea69f..9640d0d 100644 --- a/utils/Deploy.ts +++ b/utils/Deploy.ts @@ -65,9 +65,10 @@ export const isSepolia = () => getNetworkName() === DeploymentNetwork.Sepolia; export const isOptimismGoerli = () => getNetworkName() === DeploymentNetwork.OptimismGoerli; export const isBaseGoerli = () => getNetworkName() === DeploymentNetwork.BaseGoerli; export const isArbitrumGoerli = () => getNetworkName() === DeploymentNetwork.ArbitrumGoerli; +export const isPolygonMumbai = () => getNetworkName() === DeploymentNetwork.PolygonMumbai; export const isLineaGoerli = () => getNetworkName() === DeploymentNetwork.LineaGoerli; export const isTestnet = () => - isSepolia() || isOptimismGoerli() || isBaseGoerli() || isArbitrumGoerli() || isLineaGoerli(); + isSepolia() || isOptimismGoerli() || isBaseGoerli() || isArbitrumGoerli() || isPolygonMumbai() || isLineaGoerli(); export const isLive = () => isMainnet() || isTestnet(); export const getDeploymentDir = () => {