Verified contractPartialMIT
SimpleStorage
Address0x366c951d9e53ae3e0eddfc8ce9dcfde9712c29cd
- Balance
0 ETH
- Transactions
1
- Compiler
solc 0.8.30
- Same code
Only this contract
Details
- Compiler
- solc 0.8.30+commit.73712a01
- Language
- solidity
- Optimization
- No
- License
- MIT
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 24,554,215
- Creation transaction
- 0x21fb58cb38…aedf3f1009
flashloan1.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;
contract SimpleStorage {
// Define a string called storeTheSentence. This is a state variable, which will be permanently stored in the blockchain.
string storeTheSentence;
constructor(string memory initialSentence) {
// Assign the value of initialSentence to the storeTheSentence variable
storeTheSentence = initialSentence;
}
// Declares a function called getSentence
// Solidity funcions visibility: public, private, internal and external
// Solidity view functions: https://www.geeksforgeeks.org/solidity-view-and-pure-functions/
function getSentence() public view returns (string memory) {
return storeTheSentence;
}
// Declare a function called setSentence
// The function takes 1 input parameter, a string named newSentence, with the calldata data location in the Ethereum Virtual Machine
function setSentence(string calldata newSentence) external {
// Assign the value of newSentence to the storeTheSentence variable
storeTheSentence = newSentence;
}
}Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": false
},
"remappings": []
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.