Summary of the symbols in the Ethereum Yellow Paper.
Can be used as a reference and support for building and Ethereum client.
Symbol | Symbol name (in Math or plain english) | Meaning in the yellow paper |
---|---|---|
mu | Machine state | |
sigma | World State |
{ | |
"author" : "Jean Cavallera", | |
"details" : "All function calls are currently implemented without side effects", | |
"methods" : | |
{ | |
"calculateHypothenuse(uint256,uint256)" : | |
{ | |
"details" : "Not working as it returns integers and not float", | |
"params" : | |
{ |
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
/** | |
* @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. | |
* | |
* These functions can be used to verify that a message was signed by the holder | |
* of the private keys of a given address. | |
*/ |
pragma solidity =0.5.17; | |
// import statements ... | |
/** | |
* @title Sablier | |
* @author Sablier | |
* @notice Money streaming. | |
*/ | |
contract Sablier is ISablier, ReentrancyGuard, CarefulMath { |
pragma solidity =0.5.17; | |
// import statements (omitted for brievity) ... | |
/** | |
* @title Sablier | |
* @author Sablier | |
* @notice Money streaming. | |
*/ | |
contract Sablier is ISablier, ReentrancyGuard, CarefulMath { |
pragma solidity =0.5.17; | |
// import statements (omitted for brievity) ... | |
/** | |
* @title Sablier | |
* @author Sablier | |
* @notice Money streaming. | |
*/ | |
contract Sablier is ISablier, ReentrancyGuard, CarefulMath { |
// SPDX-License-Identifier: Apache-2.0 | |
pragma solidity ^0.8.6; | |
// imports and errors declarations omitted for brievity ... | |
/** | |
* @title Core implementation of a contract acting as a controller of an ERC725 Account, using permissions stored in the ERC725Y storage | |
* @author Fabian Vogelsteller, Jean Cavallera | |
* @dev all the permissions can be set on the ERC725 Account using `setData(...)` with the keys constants below | |
*/ |
pragma solidity ^0.8.0; | |
/// THIS IS STILL A NEGATIVE EXAMPLE! DO NOT USE! | |
contract Voting { | |
mapping(address => uint) voteWeight; | |
address[] yesVotes; | |
uint requiredWeight; |
// SPDX-License-Identifier: GPL-2.0-or-later | |
pragma solidity ^0.7.6; | |
/// @title HexStrings | |
/// Based on https://github.com/OpenZeppelin/openzeppelin-contracts/blob/8dd744fc1843d285c38e54e9d439dea7f6b93495/contracts/utils/Strings.sol | |
library HexStrings { | |
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; | |
/// @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. |