-
Notifications
You must be signed in to change notification settings - Fork 1
/
contractArtifacts.js
5 lines (5 loc) · 6.98 KB
/
contractArtifacts.js
1
2
3
4
5
module.exports = {
bytecode: `0x608060405234801561001057600080fd5b50610ac9806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806303e9e6091461003b578063cff9b3261461006d575b600080fd5b61004e610049366004610648565b610082565b6040516100649a999897969594939291906106a7565b60405180910390f35b61008061007b3660046107fb565b610527565b005b606080606060008060608060606000606060008060008d8152602001908152602001600020604051806101400160405290816000820180546100c39061094a565b80601f01602080910402602001604051908101604052809291908181526020018280546100ef9061094a565b801561013c5780601f106101115761010080835404028352916020019161013c565b820191906000526020600020905b81548152906001019060200180831161011f57829003601f168201915b505050505081526020016001820180546101559061094a565b80601f01602080910402602001604051908101604052809291908181526020018280546101819061094a565b80156101ce5780601f106101a3576101008083540402835291602001916101ce565b820191906000526020600020905b8154815290600101906020018083116101b157829003601f168201915b505050505081526020016002820180546101e79061094a565b80601f01602080910402602001604051908101604052809291908181526020018280546102139061094a565b80156102605780601f1061023557610100808354040283529160200191610260565b820191906000526020600020905b81548152906001019060200180831161024357829003601f168201915b50505050508152602001600382015481526020016004820154815260200160058201805461028d9061094a565b80601f01602080910402602001604051908101604052809291908181526020018280546102b99061094a565b80156103065780601f106102db57610100808354040283529160200191610306565b820191906000526020600020905b8154815290600101906020018083116102e957829003601f168201915b5050505050815260200160068201805461031f9061094a565b80601f016020809104026020016040519081016040528092919081815260200182805461034b9061094a565b80156103985780601f1061036d57610100808354040283529160200191610398565b820191906000526020600020905b81548152906001019060200180831161037b57829003601f168201915b505050505081526020016007820180546103b19061094a565b80601f01602080910402602001604051908101604052809291908181526020018280546103dd9061094a565b801561042a5780601f106103ff5761010080835404028352916020019161042a565b820191906000526020600020905b81548152906001019060200180831161040d57829003601f168201915b505050505081526020016008820154815260200160098201805461044d9061094a565b80601f01602080910402602001604051908101604052809291908181526020018280546104799061094a565b80156104c65780601f1061049b576101008083540402835291602001916104c6565b820191906000526020600020905b8154815290600101906020018083116104a957829003601f168201915b5050505050815250509050806000015181602001518260400151836060015184608001518560a001518660c001518760e001518861010001518961012001519a509a509a509a509a509a509a509a509a509a50509193959799509193959799565b60006040518061014001604052808c81526020018b81526020018a8152602001898152602001888152602001878152602001868152602001858152602001848152602001838152509050806000808e8152602001908152602001600020600082015181600001908161059991906109d3565b50602082015160018201906105ae90826109d3565b50604082015160028201906105c390826109d3565b50606082015160038201556080820151600482015560a082015160058201906105ec90826109d3565b5060c0820151600682019061060190826109d3565b5060e0820151600782019061061690826109d3565b506101008201516008820155610120820151600982019061063790826109d3565b505050505050505050505050505050565b60006020828403121561065a57600080fd5b5035919050565b6000815180845260005b818110156106875760208185018101518683018201520161066b565b506000602082860101526020601f19601f83011685010191505092915050565b60006101408083526106bb8184018e610661565b905082810360208401526106cf818d610661565b905082810360408401526106e3818c610661565b905089606084015288608084015282810360a08401526107038189610661565b905082810360c08401526107178188610661565b905082810360e084015261072b8187610661565b9050846101008401528281036101208401526107478185610661565b9d9c50505050505050505050505050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261077f57600080fd5b813567ffffffffffffffff8082111561079a5761079a610758565b604051601f8301601f19908116603f011681019082821181831017156107c2576107c2610758565b816040528381528660208588010111156107db57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060008060008060006101608c8e03121561081d57600080fd5b8b359a5067ffffffffffffffff8060208e0135111561083b57600080fd5b61084b8e60208f01358f0161076e565b9a508060408e0135111561085e57600080fd5b61086e8e60408f01358f0161076e565b99508060608e0135111561088157600080fd5b6108918e60608f01358f0161076e565b985060808d0135975060a08d013596508060c08e013511156108b257600080fd5b6108c28e60c08f01358f0161076e565b95508060e08e013511156108d557600080fd5b6108e58e60e08f01358f0161076e565b9450806101008e013511156108f957600080fd5b61090a8e6101008f01358f0161076e565b93506101208d01359250806101408e0135111561092657600080fd5b506109388d6101408e01358e0161076e565b90509295989b509295989b9093969950565b600181811c9082168061095e57607f821691505b60208210810361097e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156109ce57600081815260208120601f850160051c810160208610156109ab5750805b601f850160051c820191505b818110156109ca578281556001016109b7565b5050505b505050565b815167ffffffffffffffff8111156109ed576109ed610758565b610a01816109fb845461094a565b84610984565b602080601f831160018114610a365760008415610a1e5750858301515b600019600386901b1c1916600185901b1785556109ca565b600085815260208120601f198616915b82811015610a6557888601518255948401946001909101908401610a46565b5085821015610a835787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea26469706673582212205fb29745915b718b984c09651f64c65ea68549132835b771eae8fdaf8a00d14364736f6c63430008130033`,
abi: `[{"inputs":[{"internalType":"uint256","name":"recordId","type":"uint256"},{"internalType":"string","name":"patientName","type":"string"},{"internalType":"string","name":"hospitalName","type":"string"},{"internalType":"string","name":"doctorName","type":"string"},{"internalType":"uint256","name":"year","type":"uint256"},{"internalType":"uint256","name":"date","type":"uint256"},{"internalType":"string","name":"vitalStatistics","type":"string"},{"internalType":"string","name":"symptoms","type":"string"},{"internalType":"string","name":"treatment","type":"string"},{"internalType":"uint256","name":"nextCheckupDate","type":"uint256"},{"internalType":"string","name":"extraNote","type":"string"}],"name":"addRecord","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"recordId","type":"uint256"}],"name":"getRecord","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]`,
address: `0x97c85177F87A665a2775D45ED5a00be8B09FaD79`,
};