-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
9 lines (8 loc) · 10.7 KB
/
config.php
1
2
3
4
5
6
7
8
9
<?php
define('CONTRACT_ADDRESS','0x3EaD4663a3DEF68858Db3dcE0981Bd40aCd2230a');
define('CONTRACT_ABI','[{"constant":false,"inputs":[{"name":"_currentVendorAddress","type":"address"},{"name":"_newVendorAddress","type":"address"}],"name":"updateVendor","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_employeeAddress","type":"address"}],"name":"addNewEmployeeWallet","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalLicences","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"businessesMapping","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_currentEmployeeAddress","type":"address"},{"name":"_newEmployeeAddress","type":"address"}],"name":"updateEmployeeWallet","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"businessWallet","type":"address"},{"name":"employeeWallet","type":"address"}],"name":"getTotalLicenceNumberOfEmployee","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_vendorAddress","type":"address"}],"name":"addNewVendor","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newBusinessAddress","type":"address"}],"name":"updateBusinessWallet","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"businessWallet","type":"address"},{"name":"index","type":"uint256"}],"name":"businessLicences","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"employeesMapping","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"employee_","type":"address"},{"name":"licenceKey_","type":"string"},{"name":"businessName_","type":"string"},{"name":"licenceIssueDate_","type":"uint256"},{"name":"licenceRenewDate_","type":"uint256"},{"name":"status_","type":"string"}],"name":"addNewLicenseData","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"business","type":"address"},{"name":"employee","type":"address"},{"name":"licenceKey","type":"string"}],"name":"readLicenceInformation","outputs":[{"name":"","type":"string"},{"name":"","type":"string"},{"name":"","type":"address"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_businessAddress","type":"address"}],"name":"addNewBusinessWallet","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"businessWallet","type":"address"}],"name":"getTotalLicenceNumberOfBusiness","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"businessWallet","type":"address"},{"name":"employeeWallet","type":"address"},{"name":"index","type":"uint256"}],"name":"employeesLicences","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]');
/*efine('CONTRACT_ADDRESS','0xdcd44e035e03c4c2a1cce44f03d48c7582e1ee0d');
define('CONTRACT_ABI','[{"constant":true,"inputs":[{"name":"business","type":"address"}],"name":"getLicenceDataOfEmployee","outputs":[{"name":"","type":"bytes32[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_currentVendorAddress","type":"address"},{"name":"_newVendorAddress","type":"address"}],"name":"updateVendor","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_employeeAddress","type":"address"}],"name":"addNewEmployeeWallet","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"employee_","type":"address"},{"name":"licenceKey_","type":"bytes32"},{"name":"businessName_","type":"string"},{"name":"businessWallet_","type":"address"},{"name":"licenceIssueDate_","type":"uint256"},{"name":"licenceRenewDate_","type":"uint256"},{"name":"status_","type":"string"}],"name":"addNewLicenseData","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_currentEmployeeAddress","type":"address"},{"name":"_newEmployeeAddress","type":"address"}],"name":"updateEmployeeWallet","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_vendorAddress","type":"address"}],"name":"addNewVendor","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newBusinessAddress","type":"address"}],"name":"updateBusinessWallet","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"uint256"}],"name":"businessLicences","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"business","type":"address"},{"name":"employee","type":"address"},{"name":"licenceKey","type":"bytes32"}],"name":"readLicenceInformation","outputs":[{"name":"","type":"bytes32"},{"name":"","type":"string"},{"name":"","type":"address"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getLicenceDataOfBusiness","outputs":[{"name":"","type":"bytes32[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_businessAddress","type":"address"}],"name":"addNewBusinessWallet","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"},{"name":"","type":"uint256"}],"name":"employeesLicences","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]');
/*define('CONTRACT_ADDRESS','0x87A4c53F3eBBEcE81a914490792e0783757Ebba9');
define('CONTRACT_ABI','[{"constant":false,"inputs":[{"name":"_currentVendorAddress","type":"address"},{"name":"_newVendorAddress","type":"address"}],"name":"updateVendor","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_employeeAddress","type":"address"}],"name":"addNewEmployeeWallet","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_currentEmployeeAddress","type":"address"},{"name":"_newEmployeeAddress","type":"address"}],"name":"updateEmployeeWallet","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_vendorAddress","type":"address"}],"name":"addNewVendor","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newBusinessAddress","type":"address"}],"name":"updateBusinessWallet","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_businessAddress","type":"address"}],"name":"addNewBusinessWallet","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"saID_","type":"uint256"},{"name":"businessName_","type":"string"},{"name":"businessWallet_","type":"address"},{"name":"licenceIssueDate_","type":"uint256"},{"name":"licenceRenewDate_","type":"uint256"},{"name":"status_","type":"string"}],"name":"addNewLicenseData","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"business","type":"address"},{"name":"saID","type":"uint256"}],"name":"readSoftwareInformation","outputs":[{"name":"","type":"uint256"},{"name":"","type":"string"},{"name":"","type":"string"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]');*/
?>