Skip to content

Commit

Permalink
reset deployedContracts.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mpascualach committed Oct 18, 2023
1 parent 06ccb7c commit 909cd5f
Show file tree
Hide file tree
Showing 2 changed files with 105 additions and 24 deletions.
128 changes: 104 additions & 24 deletions packages/nextjs/generated/deployedContracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ const contracts = {
},
{
inputs: [],
name: "companiesCounter",
name: "barcodesTotal",
outputs: [
{
internalType: "uint256",
Expand All @@ -384,7 +384,35 @@ const contracts = {
type: "address",
},
],
name: "companyPrefix",
name: "companies",
outputs: [
{
internalType: "uint64",
name: "taxNumber",
type: "uint64",
},
{
internalType: "address",
name: "companyOwner",
type: "address",
},
{
internalType: "string",
name: "name",
type: "string",
},
{
internalType: "string",
name: "addr",
type: "string",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "companiesTotal",
outputs: [
{
internalType: "uint256",
Expand Down Expand Up @@ -441,9 +469,14 @@ const contracts = {
{
inputs: [
{
internalType: "uint256",
name: "id",
type: "uint256",
internalType: "string",
name: "name",
type: "string",
},
{
internalType: "string",
name: "description",
type: "string",
},
{
internalType: "uint256",
Expand All @@ -453,25 +486,7 @@ const contracts = {
],
name: "mint",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "uint256[]",
name: "ids",
type: "uint256[]",
},
{
internalType: "uint256[]",
name: "amounts",
type: "uint256[]",
},
],
name: "mintBatch",
outputs: [],
stateMutability: "nonpayable",
stateMutability: "payable",
type: "function",
},
{
Expand Down Expand Up @@ -520,6 +535,71 @@ const contracts = {
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
name: "products",
outputs: [
{
internalType: "address",
name: "productOwner",
type: "address",
},
{
internalType: "string",
name: "name",
type: "string",
},
{
internalType: "string",
name: "description",
type: "string",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "productsTotal",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "uint64",
name: "taxNumber",
type: "uint64",
},
{
internalType: "string",
name: "name",
type: "string",
},
{
internalType: "string",
name: "addr",
type: "string",
},
],
name: "register",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [],
name: "renounceOwnership",
Expand Down
1 change: 1 addition & 0 deletions packages/nextjs/pages/debug.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const Debug: NextPage = () => {
if (!contractNames.includes(selectedContract)) {
setSelectedContract(contractNames[0]);
}
console.log("Contract names: ", contractNames);
}, [selectedContract, setSelectedContract]);

return (
Expand Down

0 comments on commit 909cd5f

Please sign in to comment.