Is it possible to for a user to interact with a newly deployed instance of a contract with different parameters with the same ABI/UI
See example below;
User adds to inputs via UI (e.g 10, 0x123451234512345) and clicks submit, this prompts metamask, user deploys contract via metamask.
pragma solidity 0.4.18;
// User adds two parameters;
// Stake
// Opponent
contract Betslip {
uint stake;
address opponent;
function Betslip (uint _stake, address _opponent) public {
stake = _stake;
opponent = _opponent;
}
// Rest of contract methods
}
newly deployed contract address: 0x123456789123456789123456789
User navigates to new UI and enters the newly deployed contract address (0x123456789123456789123456789) in the provided input, submits and can now use the same ABI to interact with the new contract.