Skip to content

Commit

Permalink
adding fellowfund contract to ERC7730
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianferno committed Nov 16, 2024
1 parent 5f4bed3 commit 76ddf61
Showing 1 changed file with 186 additions and 0 deletions.
186 changes: 186 additions & 0 deletions registry/fellow-fund/eip712-fellow-fund.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
{

Check warning on line 1 in registry/fellow-fund/eip712-fellow-fund.json

View workflow job for this annotation

GitHub Actions / 🔎 validate descriptors

Could not fetch ABI

Fetching reference ABI for chain id 1 failed, descriptor ABIs will not be validated: Received unexpected response from https://api.etherscan.io/v2/api: Missing/Invalid API Key

Check warning on line 1 in registry/fellow-fund/eip712-fellow-fund.json

View workflow job for this annotation

GitHub Actions / 🔎 validate descriptors

Missing Display field

No display field is defined for path `#.proof.[]` in function 0xdd204af3. If intentionally excluded, please add it to `excluded` list to avoid this warning.
"$schema": "../../specs/erc7730-v1.schema.json",
"context": {
"$id": "FellowFund",
"contract": {
"abi": [
{
"inputs": [
{
"name": "_metadata",
"type": "string"
},
{
"name": "_funds",
"type": "uint256"
},
{
"name": "_applicationDeadline",
"type": "uint256"
},
{
"name": "_marketDeadline",
"type": "uint256"
},
{
"name": "_epochDeadline",
"type": "uint256"
}
],
"name": "createFellowship",
"type": "function"
},
{
"inputs": [
{
"name": "fellowshipId",
"type": "uint256"
},
{
"name": "metadata",
"type": "string"
}
],
"name": "applyToFellowship",
"type": "function"
},
{
"inputs": [
{
"name": "fellowshipId",
"type": "uint256"
},
{
"name": "applicationId",
"type": "uint256"
},
{
"name": "achieved",
"type": "bool"
},
{
"name": "proof",
"type": "bytes"
}
],
"name": "setApplicantImpact",
"type": "function"
}
],
"deployments": [
{
"chainId": 1,
"address": "0x25d598CBB74fa73290e74697616DE2740d280745"
}
]
}
},
"metadata": {
"owner": "FellowFund",
"info": {
"legalName": "FellowFund",
"url": "https://fellow-fund.vercel.app",
"lastUpdate": "2024-03-14T00:00:00Z"
}
},
"display": {
"formats": {
"createFellowship(string _metadata,uint256 _funds,uint256 _applicationDeadline,uint256 _marketDeadline,uint256 _epochDeadline)": {
"intent": "Create Fellowship Program",
"fields": [
{
"path": "_metadata",
"label": "Program Details",
"format": "raw"
},
{
"path": "_funds",
"label": "Total Funding",
"format": "amount"
},
{
"path": "_applicationDeadline",
"label": "Application Deadline",
"format": "date",
"params": {
"encoding": "timestamp"
}
},
{
"path": "_marketDeadline",
"label": "Market Phase Deadline",
"format": "date",
"params": {
"encoding": "timestamp"
}
},
{
"path": "_epochDeadline",
"label": "Program End Date",
"format": "date",
"params": {
"encoding": "timestamp"
}
}
],
"required": [
"_metadata",
"_funds",
"_applicationDeadline",
"_marketDeadline",
"_epochDeadline"
]
},
"applyToFellowship(uint256 fellowshipId,string metadata)": {
"intent": "Apply to Fellowship Program",
"fields": [
{
"path": "fellowshipId",
"label": "Fellowship Program ID",
"format": "raw"
},
{
"path": "metadata",
"label": "Application Details",
"format": "raw"
}
],
"required": [
"fellowshipId",
"metadata"
]
},
"setApplicantImpact(uint256 fellowshipId,uint256 applicationId,bool achieved,bytes proof)": {
"intent": "Verify Fellowship Impact",
"fields": [
{
"path": "fellowshipId",
"label": "Fellowship Program ID",
"format": "raw"
},
{
"path": "applicationId",
"label": "Application ID",
"format": "raw"
},
{
"path": "achieved",
"label": "Impact Achieved",
"format": "raw"
},
{
"path": "proof",
"label": "Verification Proof",
"format": "raw"
}
],
"required": [
"fellowshipId",
"applicationId",
"achieved",
"proof"
]
}
}
}
}

0 comments on commit 76ddf61

Please sign in to comment.