This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.24; | |
contract UnderflowCheck { | |
uint256 public value; | |
constructor(uint256 _value) public { | |
require(_value >= 0); | |
value = _value; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[derive(Debug, PartialEq)] | |
enum Error { | |
TooBig | |
} | |
type Bytes = [u8]; | |
struct Fixed { | |
length: u32 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[derive(Debug, PartialEq)] | |
enum Error { | |
TooBig | |
} | |
type Bytes = [u8]; | |
struct Fixed { | |
length: u32 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TypeError: chunk.hasRuntime is not a function | |
at chunk (/Users/aakilfernandes/projects/safemarket/ux/node_modules/prepack-webpack-plugin/dist/PrepackPlugin.js:27:16) | |
at Compilation.compilation.plugin (/Users/aakilfernandes/projects/safemarket/ux/node_modules/prepack-webpack-plugin/dist/PrepackPlugin.js:56:26) | |
at Compilation.applyPluginsAsync (/Users/aakilfernandes/projects/safemarket/ux/node_modules/tapable/lib/Tapable.js:71:13) | |
at Compilation.<anonymous> (/Users/aakilfernandes/projects/safemarket/ux/node_modules/webpack/lib/Compilation.js:567:9) | |
at Compilation.applyPluginsAsync (/Users/aakilfernandes/projects/safemarket/ux/node_modules/tapable/lib/Tapable.js:60:69) | |
at Compilation.<anonymous> (/Users/aakilfernandes/projects/safemarket/ux/node_modules/webpack/lib/Compilation.js:563:8) | |
at Compilation.applyPluginsAsync (/Users/aakilfernandes/projects/safemarket/ux/node_modules/tapable/lib/Tapable.js:60:69) | |
at Compilation.seal (/Users/aakilfernandes/projects/safemarket/ux/node_modu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.4; | |
contract Sunsets { | |
uint256 public sunset; | |
event Sunset(uint256 sunset); | |
modifier sunsets() { | |
if (sunset > 0) { | |
Sunset(sunset); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ { jsonrpc: '2.0', | |
id: 0, | |
method: 'eth_getTransactionCount', | |
params: [ '0x6b42b5cab8e052e7965395fa78b2b1e6e6b1ad0f', 'latest' ], | |
external: true }, | |
{ jsonrpc: '2.0', | |
id: 1, | |
method: 'eth_estimateGas', | |
params: [ [Object] ], | |
external: true }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ { jsonrpc: '2.0', | |
id: 0, | |
method: 'eth_getTransactionCount', | |
params: [ '0x6b42b5cab8e052e7965395fa78b2b1e6e6b1ad0f', 'latest' ], | |
external: true }, | |
{ jsonrpc: '2.0', | |
id: 1, | |
method: 'eth_estimateGas', | |
params: [ [Object] ], | |
external: true }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
["abandon","ability","able","about","above","absent","absorb","abstract","absurd","abuse","access","accident","account","accuse","achieve","acid","acoustic","acquire","across","act","action","actor","actress","actual","adapt","add","addict","address","adjust","admit","adult","advance","advice","aerobic","affair","afford","afraid","again","age","agent","agree","ahead","aim","air","airport","aisle","alarm","album","alcohol","alert","alien","all","alley","allow","almost","alone","alpha","already","also","alter","always","amateur","amazing","among","amount","amused","analyst","anchor","ancient","anger","angle","angry","animal","ankle","announce","annual","another","answer","antenna","antique","anxiety","any","apart","apology","appear","apple","approve","april","arch","arctic","area","arena","argue","arm","armed","armor","army","around","arrange","arrest","arrive","arrow","art","artefact","artist","artwork","ask","aspect","assault","asset","assist","assume","asthma","athlete","atom","attack","attend","attitude","a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
storageContract | |
✓ should deploy (1223ms) | |
✓ should have correct code (114ms) | |
✓ should have correct value (112ms) | |
eth | |
getBalance | |
✓ should be fulfilled (131ms) | |
✓ should be array of 10 Amorphs | |
getStorageAt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package safemarket; | |
syntax = "proto3"; | |
message Store { | |
required string name = 1; | |
required string base = 2; | |
required string info = 3; | |
repeated StoreProduct products = 4; | |
repeated StoreTransport transports = 5; | |
} |
NewerOlder