Skip to content

externalStorage.sol#6

Open
yuscopefly wants to merge 5 commits intomasterfrom
test
Open

externalStorage.sol#6
yuscopefly wants to merge 5 commits intomasterfrom
test

Conversation

@yuscopefly
Copy link
Copy Markdown
Collaborator

pragma solidity >=0.4.17 < 0.6.0;

contract ExternalStorage {

mapping(address => Rhombus) public Rhombus;

struct RhombusCalc {
    string Area;
    uint base;
    uint height 
 }

function RhombusCalc (unit base, unit height) public pure returns (unit area, unit rhombus){
	Area = base * height;
	hombus = (base * height)/2
	
}

}

justCharlz and others added 5 commits January 6, 2020 08:03
callingcontract - contractUpgrader
I have removed the duplicate _transferOwnership function
After taking a closer look, I discovered that _transferOwnership wasn't a duplicate after all. I have re-added the function to the code and the _transferOwnership function will run internally when owner calls the transferOwnership function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants