-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aff7e1c
commit 4057863
Showing
9 changed files
with
31 additions
and
508 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export const INFURA_ID = '2717afb6bf164045b5d5468031b93f87' | ||
export const INFURA_ID = '7624b6b795d248809eabd3dd3eaaf9f7' | ||
export const ETHERSCAN_URL = 'https://goerli.etherscan.io' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,221 +1 @@ | ||
[ | ||
{ | ||
"inputs": [ | ||
{ "internalType": "uint256", "name": "feePerBill", "type": "uint256" }, | ||
{ "internalType": "address", "name": "daiContractAddress", "type": "address" } | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "constructor" | ||
}, | ||
{ "inputs": [], "name": "CryptoMoney__FeeNotMet", "type": "error" }, | ||
{ "inputs": [], "name": "CryptoMoney__InvalidCode", "type": "error" }, | ||
{ "inputs": [], "name": "CryptoMoney__InvalidWord", "type": "error" }, | ||
{ "inputs": [], "name": "CryptoMoney__NoFeesToWithdraw", "type": "error" }, | ||
{ "inputs": [], "name": "CryptoMoney__NotApproved", "type": "error" }, | ||
{ "inputs": [], "name": "CryptoMoney__TransferFailed", "type": "error" }, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ "indexed": true, "internalType": "uint256", "name": "billId", "type": "uint256" }, | ||
{ "indexed": true, "internalType": "address", "name": "funder", "type": "address" }, | ||
{ "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } | ||
], | ||
"name": "BillFunded", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ "indexed": true, "internalType": "uint256", "name": "billId", "type": "uint256" }, | ||
{ "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } | ||
], | ||
"name": "BillIssued", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ "indexed": true, "internalType": "uint256", "name": "billId", "type": "uint256" }, | ||
{ "indexed": true, "internalType": "address", "name": "redeemer", "type": "address" }, | ||
{ "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } | ||
], | ||
"name": "BillRedeemed", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ "indexed": true, "internalType": "uint256", "name": "requestId", "type": "uint256" }, | ||
{ "indexed": true, "internalType": "address", "name": "requester", "type": "address" }, | ||
{ "indexed": false, "internalType": "uint256", "name": "amountPerBill", "type": "uint256" }, | ||
{ "indexed": false, "internalType": "uint256", "name": "billCount", "type": "uint256" } | ||
], | ||
"name": "NewRequest", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, | ||
{ "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } | ||
], | ||
"name": "OwnershipTransferred", | ||
"type": "event" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "claimFees", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "uint256", "name": "billId", "type": "uint256" }, | ||
{ "internalType": "uint256", "name": "amount", "type": "uint256" }, | ||
{ "internalType": "bytes", "name": "wordHash", "type": "bytes" } | ||
], | ||
"name": "fund", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "getDaiContract", | ||
"outputs": [{ "internalType": "contract IERC20", "name": "", "type": "address" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "getFeePerBill", | ||
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "getNextBillId", | ||
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "getNextRequestId", | ||
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "uint256", "name": "billId", "type": "uint256" }], | ||
"name": "getOneBillFromBillId", | ||
"outputs": [ | ||
{ | ||
"components": [ | ||
{ "internalType": "uint256", "name": "id", "type": "uint256" }, | ||
{ "internalType": "uint256", "name": "value", "type": "uint256" }, | ||
{ "internalType": "bytes32", "name": "wordHash", "type": "bytes32" }, | ||
{ "internalType": "bytes32", "name": "codeHash", "type": "bytes32" }, | ||
{ "internalType": "bool", "name": "isFunded", "type": "bool" }, | ||
{ "internalType": "bool", "name": "isRedeemed", "type": "bool" } | ||
], | ||
"internalType": "struct CryptoMoney.Bill", | ||
"name": "", | ||
"type": "tuple" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "uint256", "name": "requestId", "type": "uint256" }], | ||
"name": "getOneRequest", | ||
"outputs": [ | ||
{ | ||
"components": [ | ||
{ "internalType": "uint256", "name": "amountPerBill", "type": "uint256" }, | ||
{ "internalType": "uint256", "name": "billCount", "type": "uint256" }, | ||
{ "internalType": "bool", "name": "isIssued", "type": "bool" }, | ||
{ "internalType": "address", "name": "requester", "type": "address" } | ||
], | ||
"internalType": "struct CryptoMoney.Request", | ||
"name": "", | ||
"type": "tuple" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "uint256", "name": "requestId", "type": "uint256" }, | ||
{ "internalType": "bytes[]", "name": "codeHash", "type": "bytes[]" } | ||
], | ||
"name": "issueBills", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "owner", | ||
"outputs": [{ "internalType": "address", "name": "", "type": "address" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "uint256", "name": "billId", "type": "uint256" }, | ||
{ "internalType": "string", "name": "code", "type": "string" }, | ||
{ "internalType": "string", "name": "word", "type": "string" }, | ||
{ "internalType": "address", "name": "redeemAddress", "type": "address" } | ||
], | ||
"name": "redeem", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "renounceOwnership", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "uint256", "name": "amountPerBill", "type": "uint256" }, | ||
{ "internalType": "uint256", "name": "billCount", "type": "uint256" } | ||
], | ||
"name": "requestBills", | ||
"outputs": [], | ||
"stateMutability": "payable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], | ||
"name": "transferOwnership", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "uint256", "name": "updatedFee", "type": "uint256" }], | ||
"name": "updateFee", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "uint256", "name": "billId", "type": "uint256" }, | ||
{ "internalType": "string", "name": "word", "type": "string" } | ||
], | ||
"name": "verifyWord", | ||
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
} | ||
] | ||
[{"inputs":[{"internalType":"uint256","name":"feePerBill","type":"uint256"},{"internalType":"address","name":"daiContractAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"CryptoMoney__FeeNotMet","type":"error"},{"inputs":[],"name":"CryptoMoney__InvalidCode","type":"error"},{"inputs":[],"name":"CryptoMoney__InvalidWord","type":"error"},{"inputs":[],"name":"CryptoMoney__NoFeesToWithdraw","type":"error"},{"inputs":[],"name":"CryptoMoney__NotApproved","type":"error"},{"inputs":[],"name":"CryptoMoney__TransferFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"billId","type":"uint256"},{"indexed":true,"internalType":"address","name":"funder","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"BillFunded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"billId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"BillIssued","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"billId","type":"uint256"},{"indexed":true,"internalType":"address","name":"redeemer","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"BillRedeemed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"requestId","type":"uint256"},{"indexed":true,"internalType":"address","name":"requester","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountPerBill","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"billCount","type":"uint256"}],"name":"NewRequest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"claimFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"billId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"wordHash","type":"bytes"}],"name":"fund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getDaiContract","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFeePerBill","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNextBillId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNextRequestId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"billId","type":"uint256"}],"name":"getOneBillFromBillId","outputs":[{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes32","name":"wordHash","type":"bytes32"},{"internalType":"bytes32","name":"codeHash","type":"bytes32"},{"internalType":"bool","name":"isFunded","type":"bool"},{"internalType":"bool","name":"isRedeemed","type":"bool"}],"internalType":"struct CryptoMoney.Bill","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"requestId","type":"uint256"}],"name":"getOneRequest","outputs":[{"components":[{"internalType":"uint256","name":"amountPerBill","type":"uint256"},{"internalType":"uint256","name":"billCount","type":"uint256"},{"internalType":"bool","name":"isIssued","type":"bool"},{"internalType":"address","name":"requester","type":"address"}],"internalType":"struct CryptoMoney.Request","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"requestId","type":"uint256"},{"internalType":"bytes[]","name":"codeHash","type":"bytes[]"}],"name":"issueBills","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"billId","type":"uint256"},{"internalType":"string","name":"code","type":"string"},{"internalType":"string","name":"word","type":"string"},{"internalType":"address","name":"redeemAddress","type":"address"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountPerBill","type":"uint256"},{"internalType":"uint256","name":"billCount","type":"uint256"}],"name":"requestBills","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"updatedFee","type":"uint256"}],"name":"updateFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"billId","type":"uint256"},{"internalType":"string","name":"word","type":"string"}],"name":"verifyWord","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}] |
Oops, something went wrong.
4057863
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
allyu-frontend – ./
allyu-frontend-git-main-allyu.vercel.app
allyu-frontend-allyu.vercel.app
allyu-frontend.vercel.app
4057863
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
allyu-frontend-ncur – ./
allyu-frontend-ncur-allyu.vercel.app
www.allyu.xyz
allyu.xyz
allyu-frontend-ncur.vercel.app
allyu-frontend-ncur-git-main-allyu.vercel.app