Skip to content

Commit

Permalink
Integration with blockchain
Browse files Browse the repository at this point in the history
  • Loading branch information
sharayu committed Aug 11, 2024
1 parent 595b56e commit 26f89ec
Show file tree
Hide file tree
Showing 17 changed files with 987 additions and 375 deletions.
3 changes: 3 additions & 0 deletions next-app/.env
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ VERCEL_URL=https://altinvest.vercel.app
NEXTAUTH_SECRET=ea965be99a62236097ffe6262f5c7993
MORALIS_API_KEY=GR7Ec67gro7mwF5JWmAslOCJxG4E288DDhV8DfgzoYuw1VeIxVptNzZNRJV0zTXN
JWT_SECRET=7D722A1A23FF39883312AD2134A73EC61CFD1557395F63BB02450D5647F80112

LISK_TESTNET_ADDRESS=0xD0bC1E61B6130FFB3681BdA3F42fB8514e21D150
OPTIMISM_SEPOLIA_FINAL_ADDRESS=0xa95E81dEE8E4cD3C37130e2396000DF6a69Ee723
161 changes: 160 additions & 1 deletion next-app/blockend/build/invoice-factory.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,67 @@
[
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "activeInvoices",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_factor",
"type": "address"
}
],
"name": "addFactor",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "contractAddress",
"type": "address"
}
],
"name": "addSignedContract",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "admin",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand All @@ -8,7 +71,13 @@
}
],
"name": "createID",
"outputs": [],
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
Expand All @@ -31,6 +100,25 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "factors",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getDeployedContracts",
Expand All @@ -43,5 +131,76 @@
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getSignedContracts",
"outputs": [
{
"internalType": "address[]",
"name": "",
"type": "address[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "contractAddress",
"type": "address"
}
],
"name": "markinvoiceInactive",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_factor",
"type": "address"
}
],
"name": "removeFactor",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "contractAddress",
"type": "address"
}
],
"name": "removeSignedContract",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "signedContracts",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
]
Loading

0 comments on commit 26f89ec

Please sign in to comment.