changeOracle()
changeOracle() onlyOwner external returns (bool succes)
changeOracle() onlyOwner external returns (bool succes)Description
The change oracle function can only be called by the owner. The owner is set on deployment of the contract and can only be changed by the current owner. This function is used to change the oracle address.
input
#The input is the new oracle addresses of the instance.
address payable oracleAddressoutput
#Returns true on succesful execution.
returns (bool success)Last updated
Was this helpful?