mirror of
https://github.com/selfxyz/self.git
synced 2026-04-27 03:01:15 -04:00
Feat/update contract scripts (#1212)
* chore: add a verifier script * chore: remove expirty and add update registry script * chore: change script to the new aadhaar contract * chore: add new deployed addresses * fix: tests * feat: add scripts for registries and the hub * feat: add aadhaar registry * feat: add more scripts * chore: rm logs * fix: hardhat config * update scripts * fix: test * accept proofs 1 day in the future * fix: prettier formatting issues in contracts and circuits --------- Co-authored-by: ayman <aymanshaik1015@gmail.com> Co-authored-by: Ayman Mohammed <ayman@Aymans-MacBook-Pro.local>
This commit is contained in:
@@ -32,14 +32,14 @@
|
||||
"signature": "NoVerifierSet()",
|
||||
"selector": "0x0ee78d58",
|
||||
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
||||
"line": 136
|
||||
"line": 139
|
||||
},
|
||||
{
|
||||
"name": "InvalidAttestationId",
|
||||
"signature": "InvalidAttestationId()",
|
||||
"selector": "0x12ec75fe",
|
||||
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
||||
"line": 168
|
||||
"line": 171
|
||||
},
|
||||
{
|
||||
"name": "InvalidAttestationId",
|
||||
@@ -60,7 +60,7 @@
|
||||
"signature": "InvalidDscProof()",
|
||||
"selector": "0x1644e049",
|
||||
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
||||
"line": 148
|
||||
"line": 151
|
||||
},
|
||||
{
|
||||
"name": "InvalidYearRange",
|
||||
@@ -88,7 +88,7 @@
|
||||
"signature": "HUB_ADDRESS_ZERO()",
|
||||
"selector": "0x22697ffa",
|
||||
"file": "contracts/registry/IdentityRegistryAadhaarImplV1.sol",
|
||||
"line": 138
|
||||
"line": 136
|
||||
},
|
||||
{
|
||||
"name": "RegisteredNullifier",
|
||||
@@ -123,7 +123,7 @@
|
||||
"signature": "InvalidPubkey()",
|
||||
"selector": "0x422cc3b7",
|
||||
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
||||
"line": 196
|
||||
"line": 199
|
||||
},
|
||||
{
|
||||
"name": "InvalidOlderThan",
|
||||
@@ -137,7 +137,7 @@
|
||||
"signature": "InvalidDscCommitmentRoot()",
|
||||
"selector": "0x4cb305bb",
|
||||
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
||||
"line": 160
|
||||
"line": 163
|
||||
},
|
||||
{
|
||||
"name": "HUB_NOT_SET",
|
||||
@@ -200,7 +200,7 @@
|
||||
"signature": "CrossChainIsNotSupportedYet()",
|
||||
"selector": "0x61296fbb",
|
||||
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
||||
"line": 176
|
||||
"line": 179
|
||||
},
|
||||
{
|
||||
"name": "AlreadyClaimed",
|
||||
@@ -221,14 +221,14 @@
|
||||
"signature": "InputTooShort()",
|
||||
"selector": "0x65ec0cf1",
|
||||
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
||||
"line": 180
|
||||
"line": 183
|
||||
},
|
||||
{
|
||||
"name": "InvalidRegisterProof",
|
||||
"signature": "InvalidRegisterProof()",
|
||||
"selector": "0x67b61dc7",
|
||||
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
||||
"line": 144
|
||||
"line": 147
|
||||
},
|
||||
{
|
||||
"name": "RegistrationNotClosed",
|
||||
@@ -251,6 +251,13 @@
|
||||
"file": "contracts/example/Airdrop.sol",
|
||||
"line": 72
|
||||
},
|
||||
{
|
||||
"name": "InvalidUidaiTimestamp",
|
||||
"signature": "InvalidUidaiTimestamp(uint256,uint256)",
|
||||
"selector": "0x6f26ab8d",
|
||||
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
||||
"line": 203
|
||||
},
|
||||
{
|
||||
"name": "INVALID_OFAC",
|
||||
"signature": "INVALID_OFAC()",
|
||||
@@ -258,13 +265,6 @@
|
||||
"file": "contracts/IdentityVerificationHubImplV1.sol",
|
||||
"line": 146
|
||||
},
|
||||
{
|
||||
"name": "InvalidUidaiTimestamp",
|
||||
"signature": "InvalidUidaiTimestamp()",
|
||||
"selector": "0x72b3dac6",
|
||||
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
||||
"line": 200
|
||||
},
|
||||
{
|
||||
"name": "InvalidForbiddenCountries",
|
||||
"signature": "InvalidForbiddenCountries()",
|
||||
@@ -319,7 +319,7 @@
|
||||
"signature": "InvalidCscaRoot()",
|
||||
"selector": "0x8f1b44c7",
|
||||
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
||||
"line": 164
|
||||
"line": 167
|
||||
},
|
||||
{
|
||||
"name": "INVALID_REGISTER_PROOF",
|
||||
@@ -333,7 +333,7 @@
|
||||
"signature": "UserContextDataTooShort()",
|
||||
"selector": "0x94ec3503",
|
||||
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
||||
"line": 184
|
||||
"line": 187
|
||||
},
|
||||
{
|
||||
"name": "NotWithinBirthdayWindow",
|
||||
@@ -361,7 +361,7 @@
|
||||
"signature": "ConfigNotSet()",
|
||||
"selector": "0xace124bc",
|
||||
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
||||
"line": 192
|
||||
"line": 195
|
||||
},
|
||||
{
|
||||
"name": "InvalidDateLength",
|
||||
@@ -410,21 +410,14 @@
|
||||
"signature": "InvalidOfacRoots()",
|
||||
"selector": "0xc67a44d2",
|
||||
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
||||
"line": 208
|
||||
},
|
||||
{
|
||||
"name": "EXPIRY_IN_PAST",
|
||||
"signature": "EXPIRY_IN_PAST()",
|
||||
"selector": "0xca5d75dd",
|
||||
"file": "contracts/registry/IdentityRegistryAadhaarImplV1.sol",
|
||||
"line": 136
|
||||
"line": 211
|
||||
},
|
||||
{
|
||||
"name": "CurrentDateNotInValidRange",
|
||||
"signature": "CurrentDateNotInValidRange()",
|
||||
"selector": "0xcf46551c",
|
||||
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
||||
"line": 140
|
||||
"line": 143
|
||||
},
|
||||
{
|
||||
"name": "INVALID_VC_AND_DISCLOSE_PROOF",
|
||||
@@ -438,14 +431,14 @@
|
||||
"signature": "AttestationIdMismatch()",
|
||||
"selector": "0xd7ca437d",
|
||||
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
||||
"line": 204
|
||||
"line": 207
|
||||
},
|
||||
{
|
||||
"name": "InvalidVcAndDiscloseProof",
|
||||
"signature": "InvalidVcAndDiscloseProof()",
|
||||
"selector": "0xda7bd3a6",
|
||||
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
||||
"line": 152
|
||||
"line": 155
|
||||
},
|
||||
{
|
||||
"name": "INVALID_REVEALED_DATA_TYPE",
|
||||
@@ -459,14 +452,14 @@
|
||||
"signature": "ScopeMismatch()",
|
||||
"selector": "0xe7bee380",
|
||||
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
||||
"line": 172
|
||||
"line": 175
|
||||
},
|
||||
{
|
||||
"name": "InvalidUserIdentifierInProof",
|
||||
"signature": "InvalidUserIdentifierInProof()",
|
||||
"selector": "0xebbcc178",
|
||||
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
||||
"line": 188
|
||||
"line": 191
|
||||
},
|
||||
{
|
||||
"name": "CURRENT_DATE_NOT_IN_VALID_RANGE",
|
||||
@@ -508,13 +501,13 @@
|
||||
"signature": "InvalidIdentityCommitmentRoot()",
|
||||
"selector": "0xf53393a7",
|
||||
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
||||
"line": 156
|
||||
"line": 159
|
||||
},
|
||||
{
|
||||
"name": "LengthMismatch",
|
||||
"signature": "LengthMismatch()",
|
||||
"selector": "0xff633a38",
|
||||
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
||||
"line": 132
|
||||
"line": 135
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user