Skip to content

Commit

Permalink
app: updating onchain config for baseGoerli (passportxyz#1977)
Browse files Browse the repository at this point in the history
  • Loading branch information
nutrina authored Dec 10, 2023
1 parent cf791cf commit 77afd17
Show file tree
Hide file tree
Showing 4 changed files with 156 additions and 8 deletions.
123 changes: 123 additions & 0 deletions deployments/abi/GitcoinPassportDecoder.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
{
"0xe704": [
"error ProviderAlreadyExists(string provider)",
"event AdminChanged(address previousAdmin, address newAdmin)",
"event BeaconUpgraded(address indexed beacon)",
"event Initialized(uint8 version)",
"event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)",
"event Paused(address account)",
"event Unpaused(address account)",
"event Upgraded(address indexed implementation)",
"function addProviders(string[] providers)",
"function createNewVersion(string[] providerNames)",
"function currentVersion() view returns (uint32)",
"function eas() view returns (address)",
"function getAttestation(bytes32 attestationUID) view returns (tuple(bytes32 uid, bytes32 schema, uint64 time, uint64 expirationTime, uint64 revocationTime, bytes32 refUID, address recipient, address attester, bool revocable, bytes data))",
"function getEASContract() view returns (address)",
"function getPassport(address userAddress) view returns (tuple(string provider, bytes32 hash, uint64 issuanceDate, uint64 expirationDate)[])",
"function gitcoinResolver() view returns (address)",
"function initialize()",
"function owner() view returns (address)",
"function pause()",
"function paused() view returns (bool)",
"function providerVersions(uint32, uint256) view returns (string)",
"function proxiableUUID() view returns (bytes32)",
"function renounceOwnership()",
"function savedProviders(string) view returns (uint256)",
"function schemaUID() view returns (bytes32)",
"function setEASAddress(address _easContractAddress)",
"function setGitcoinResolver(address _gitcoinResolver)",
"function setSchemaUID(bytes32 _schemaUID)",
"function transferOwnership(address newOwner)",
"function unpause()",
"function upgradeTo(address newImplementation)",
"function upgradeToAndCall(address newImplementation, bytes data) payable"
],
"0x1a4": [
"event AdminChanged(address previousAdmin, address newAdmin)",
"event BeaconUpgraded(address indexed beacon)",
"event Initialized(uint8 version)",
"event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)",
"event Paused(address account)",
"event Unpaused(address account)",
"event Upgraded(address indexed implementation)",
"function addProvider(string provider)",
"function createNewVersion(string[] providerNames)",
"function currentVersion() view returns (uint32)",
"function getAttestation(bytes32 attestationUID) view returns (tuple(bytes32 uid, bytes32 schema, uint64 time, uint64 expirationTime, uint64 revocationTime, bytes32 refUID, address recipient, address attester, bool revocable, bytes data))",
"function getPassport(address userAddress) view returns (tuple(string provider, bytes32 hash, uint64 issuanceDate, uint64 expirationDate)[])",
"function gitcoinResolver() view returns (address)",
"function initialize()",
"function owner() view returns (address)",
"function pause()",
"function paused() view returns (bool)",
"function providerVersions(uint32, uint256) view returns (string)",
"function proxiableUUID() view returns (bytes32)",
"function renounceOwnership()",
"function schemaUID() view returns (bytes32)",
"function setEASAddress(address _easContractAddress)",
"function setGitcoinResolver(address _gitcoinResolver)",
"function setSchemaUID(bytes32 _schemaUID)",
"function transferOwnership(address newOwner)",
"function unpause()",
"function upgradeTo(address newImplementation)",
"function upgradeToAndCall(address newImplementation, bytes data) payable"
],
"0x14a33": [
"error AttestationExpired(uint64 expirationTime)",
"error AttestationNotFound()",
"error EmptyProvider()",
"error ProviderAlreadyExists(string provider)",
"error ScoreDoesNotMeetThreshold(uint256 score)",
"error ZeroMaxScoreAge()",
"error ZeroThreshold()",
"error ZeroValue()",
"event AdminChanged(address previousAdmin, address newAdmin)",
"event BeaconUpgraded(address indexed beacon)",
"event EASSet(address easAddress)",
"event Initialized(uint8 version)",
"event MaxScoreAgeSet(uint256 maxScoreAge)",
"event NewVersionCreated()",
"event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)",
"event Paused(address account)",
"event ProvidersAdded(string[] providers)",
"event ResolverSet(address resolverAddress)",
"event SchemaSet(bytes32 schemaUID)",
"event ThresholdSet(uint256 threshold)",
"event Unpaused(address account)",
"event Upgraded(address indexed implementation)",
"function addProviders(string[] providers)",
"function createNewVersion(string[] providers)",
"function currentVersion() view returns (uint32)",
"function eas() view returns (address)",
"function getAttestation(bytes32 attestationUID) view returns (tuple(bytes32 uid, bytes32 schema, uint64 time, uint64 expirationTime, uint64 revocationTime, bytes32 refUID, address recipient, address attester, bool revocable, bytes data))",
"function getEASAddress() view returns (address)",
"function getPassport(address user) view returns (tuple(string provider, bytes32 hash, uint64 time, uint64 expirationTime)[])",
"function getProviders(uint32 version) view returns (string[])",
"function getScore(address user) view returns (uint256)",
"function gitcoinResolver() view returns (address)",
"function initialize()",
"function isHuman(address user) view returns (bool)",
"function maxScoreAge() view returns (uint64)",
"function owner() view returns (address)",
"function passportSchemaUID() view returns (bytes32)",
"function pause()",
"function paused() view returns (bool)",
"function providerVersions(uint32, uint256) view returns (string)",
"function proxiableUUID() view returns (bytes32)",
"function renounceOwnership()",
"function reversedMappingVersions(uint32, string) view returns (uint256)",
"function scoreSchemaUID() view returns (bytes32)",
"function setEASAddress(address _easContractAddress)",
"function setGitcoinResolver(address _gitcoinResolver)",
"function setMaxScoreAge(uint64 _maxScoreAge)",
"function setPassportSchemaUID(bytes32 _schemaUID)",
"function setScoreSchemaUID(bytes32 _schemaUID)",
"function setThreshold(uint256 _threshold)",
"function threshold() view returns (uint256)",
"function transferOwnership(address newOwner)",
"function unpause()",
"function upgradeTo(address newImplementation)",
"function upgradeToAndCall(address newImplementation, bytes data) payable"
]
}
9 changes: 8 additions & 1 deletion deployments/abi/GitcoinResolver.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"0x14a33": [
"error AccessDenied()",
"error InsufficientValue()",
"error InvalidAttester()",
"error InvalidEAS()",
"error NotAllowlisted()",
"error NotPayable()",
"event AdminChanged(address previousAdmin, address newAdmin)",
"event BeaconUpgraded(address indexed beacon)",
Expand All @@ -13,8 +15,11 @@
"event Upgraded(address indexed implementation)",
"function _eas() view returns (address)",
"function _gitcoinAttester() view returns (address)",
"function aNewPublicVairable() view returns (uint256)",
"function addToAllowlist(address addr)",
"function allowlist(address) view returns (bool)",
"function attest(tuple(bytes32 uid, bytes32 schema, uint64 time, uint64 expirationTime, uint64 revocationTime, bytes32 refUID, address recipient, address attester, bool revocable, bytes data) attestation) payable returns (bool)",
"function getCachedScore(address user) view returns (tuple(uint32 score, uint64 time, uint64 expirationTime))",
"function getUserAttestation(address user, bytes32 schema) view returns (bytes32)",
"function initialize(address eas, address gitcoinAttester)",
"function isPayable() pure returns (bool)",
"function multiAttest(tuple(bytes32 uid, bytes32 schema, uint64 time, uint64 expirationTime, uint64 revocationTime, bytes32 refUID, address recipient, address attester, bool revocable, bytes data)[] attestations, uint256[]) payable returns (bool)",
Expand All @@ -23,8 +28,10 @@
"function pause()",
"function paused() view returns (bool)",
"function proxiableUUID() view returns (bytes32)",
"function removeFromAllowlist(address addr)",
"function renounceOwnership()",
"function revoke(tuple(bytes32 uid, bytes32 schema, uint64 time, uint64 expirationTime, uint64 revocationTime, bytes32 refUID, address recipient, address attester, bool revocable, bytes data) attestation) payable returns (bool)",
"function setScoreSchema(bytes32 _schema)",
"function transferOwnership(address newOwner)",
"function unpause()",
"function upgradeTo(address newImplementation)",
Expand Down
3 changes: 3 additions & 0 deletions deployments/abi/GitcoinVerifier.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"0x14a33": [
"error InsufficientFee()",
"error InvalidNonce()",
"error InvalidSignature()",
"event AdminChanged(address previousAdmin, address newAdmin)",
"event BeaconUpgraded(address indexed beacon)",
"event Initialized(uint8 version)",
Expand Down
29 changes: 22 additions & 7 deletions deployments/onchainInfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,30 @@
"address": "0x5f603Ed913738d9105bAf3BD981AA4750016B167"
},
"EAS": {
"address": "0xAcfE09Fd03f7812F022FBf636700AdEA18Fd2A7A"
"address": "0x4200000000000000000000000000000000000021"
},
"EASSchemaRegistry": {
"address": "0x4200000000000000000000000000000000000020"
},
"GitcoinResolver": {
"address": "0xA10606c17d94a4DBDc4dD804d1B88fF5030aeE94"
"address": "0xA07c1A85B51dA271128A0D8D518d3c8cce8fa040"
},
"GitcoinVerifier": {
"address": "0x5bC95C6e11520D25BE8c7bDf7AAc3E2eEAbD8564"
"address": "0xDDF163c916Af6d65893299AD4DAF5F00200078dC"
},
"GitcoinAttester": {
"address": "0x5bbbc733e12f50e6834c40a90066f2f9ffb820e0"
"address": "0x848e645776315bB3880CDb47Aa6007124fb9F134"
},
"easSchemas": {
"passport": {
"uid": "0x9d43e5c201404b9ab0913bcd6475c78e32d32a4d78233b2c309e9b6828f59e45"
"uid": "0x4c753bbc4c61802c2fb59a729938e7b3a25f61fbd1ce38495d8bc4399cf30759"
},
"score": {
"uid": "0xf72ba57b5fb4c12a5f967574bc44a11efb8be76bcfbf47ced36e1afe226ba702"
"uid": "0xa88619d54906d6b78e7b237e17c0f14505ca25f2ca3a2dbcfb97887c18bcf3a4"
}
},
"GitcoinPassportDecoder": {
"address": "0xC18cd1D2ED2C76655a10d869BAbb1f599f5ff403"
}
},
"0xa": {
Expand All @@ -31,6 +37,9 @@
"EAS": {
"address": "0x4200000000000000000000000000000000000021"
},
"EASSchemaRegistry": {
"address": "0x4200000000000000000000000000000000000020"
},
"GitcoinAttester": {
"address": "0x843829986e895facd330486a61Ebee9E1f1adB1a"
},
Expand All @@ -56,6 +65,9 @@
"EAS": {
"address": "0xaEF4103A04090071165F78D45D83A0C0782c2B2a"
},
"EASSchemaRegistry": {
"address": "0x55D26f9ae0203EF95494AE4C170eD35f4Cf77797"
},
"GitcoinAttester": {
"address": "0x336b1ffcAD1eA410a305bec99C55bA297c8C98a2"
},
Expand Down Expand Up @@ -97,6 +109,9 @@
"EAS": {
"address": "0xaEF4103A04090071165F78D45D83A0C0782c2B2a"
},
"EASSchemaRegistry": {
"address": "0x55D26f9ae0203EF95494AE4C170eD35f4Cf77797"
},
"GitcoinAttester": {
"address": "0xBC778313E52b1184A15D163b5d3a72AEF8d510A2"
},
Expand Down Expand Up @@ -131,4 +146,4 @@
"address": "0xCAa9E817f02486cE076560B77A86235Ef91c5d5D"
}
}
}
}

0 comments on commit 77afd17

Please sign in to comment.