From da357087abaf6bd539e0ca8b6cb046696e45ad62 Mon Sep 17 00:00:00 2001 From: qedk <1994constant@gmail.com> Date: Wed, 17 Nov 2021 19:20:34 +0530 Subject: [PATCH] chore: Export to react-app package --- .../contracts/hardhat_contracts.json | 134 +++++++++--------- 1 file changed, 68 insertions(+), 66 deletions(-) diff --git a/packages/react-app/contracts/hardhat_contracts.json b/packages/react-app/contracts/hardhat_contracts.json index af776d8..9faf9e9 100644 --- a/packages/react-app/contracts/hardhat_contracts.json +++ b/packages/react-app/contracts/hardhat_contracts.json @@ -596,19 +596,6 @@ "stateMutability": "view", "type": "function" }, - { - "inputs": [], - "name": "getLastTokenId", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [ { @@ -1096,7 +1083,7 @@ "chainId": "80001", "contracts": { "DRecruitV1": { - "address": "0x1f2Bd43C681386d99b7D134B68Ef0065C48E03FC", + "address": "0x9d70D8DF17e40Ec9b0870Fe8f2A41D77380137dB", "abi": [ { "inputs": [], @@ -1604,30 +1591,6 @@ "stateMutability": "view", "type": "function" }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "balances", - "outputs": [ - { - "internalType": "address", - "name": "submitter", - "type": "address" - }, - { - "internalType": "uint256", - "name": "fees", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [ { @@ -1687,19 +1650,6 @@ "stateMutability": "view", "type": "function" }, - { - "inputs": [], - "name": "getLastTokenId", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [ { @@ -1786,6 +1736,11 @@ "internalType": "uint256", "name": "_fee", "type": "uint256" + }, + { + "internalType": "contract IERC20", + "name": "_token", + "type": "address" } ], "name": "initialize", @@ -1821,7 +1776,7 @@ "inputs": [ { "internalType": "string", - "name": "_tokenUri", + "name": "tokenUri", "type": "string" }, { @@ -1835,6 +1790,25 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "owners", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [], "name": "pause", @@ -1915,6 +1889,11 @@ "internalType": "uint256", "name": "id", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "stake", + "type": "uint256" } ], "name": "request", @@ -1946,6 +1925,35 @@ "stateMutability": "view", "type": "function" }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "resumes", + "outputs": [ + { + "internalType": "address", + "name": "submitter", + "type": "address" + }, + { + "internalType": "uint256", + "name": "fees", + "type": "uint256" + }, + { + "internalType": "string", + "name": "uri", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -2082,33 +2090,27 @@ }, { "inputs": [], - "name": "tokenId", + "name": "token", "outputs": [ { - "internalType": "uint256", - "name": "_value", - "type": "uint256" + "internalType": "contract IERC20", + "name": "", + "type": "address" } ], "stateMutability": "view", "type": "function" }, { - "inputs": [ + "inputs": [], + "name": "tokenId", + "outputs": [ { "internalType": "uint256", - "name": "", + "name": "_value", "type": "uint256" } ], - "name": "tokenUris", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], "stateMutability": "view", "type": "function" },