Below is the simple code written by me
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.16 ;
contract blue
{
string first ;
uint age ;
function sett ( string memory fn , uint um) public returns (string memory, uint )
{
first = fn ;
age = um ;
}
I want that the value passed by me should be showed in remix console. However , when I enter values , txn is successful but values are not shown even though I am returning the values in function using returns
. Can anyone please tell me what am I missing. I want that after I enter values and upon pressing Transact button , the values shall display .
Even in the decoded output my inputs are not being shown . What is the mistake being made by me