View pmEtherBox.sol
pragma solidity ^0.4.17; | |
// https://programtheblockchain.com/posts/2017/12/15/writing-a-contract-that-handles-ether/ | |
// https://colab.research.google.com/drive/1S860CGKebS9MxuzmdaQjpnbpBnYc0Ag3?usp=sharing | |
contract pmEtherBox { | |
string msgWithdrawn = 'Withdrawn'; | |
string msgDeposit = 'Deposit'; | |
string msgBalance = 'Current Balance'; |
View pmCrudCon.sol
pragma solidity ^0.4.6; | |
// https://medium.com/robhitchens/solidity-crud-part-1-824ffa69509a | |
// https://bitbucket.org/rhitchens2/soliditycrud/src/master/contracts/SolidityCRUD-part1.sol | |
// | |
// the python client for this contract is available at | |
// https://colab.research.google.com/drive/1JQAze2ZxRF1_AsGbdyQWr82XsFWPP3gk?usp=sharing | |
// | |
contract pmCrudCon { |
View pmConOne.sol
pragma solidity ^0.4.24; | |
// https://www.dappuniversity.com/articles/solidity-tutorial | |
contract pmConOne { | |
string pmValue; | |
function get() public view returns(string) { | |
return pmValue; | |
} |