-
Notifications
You must be signed in to change notification settings - Fork 30
/
1.0.0.json
79 lines (79 loc) · 3.08 KB
/
1.0.0.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"lockfile_version": "1",
"version": "1.0.0",
"package_name": "safe-math-lib",
"sources": {
"./contracts/SafeMathLib.sol": "ipfs://QmVN1p6MmMLYcSq1VTmaSDLC3xWuAUwEFBFtinfzpmtzQG"
},
"contract_types": {
"SafeMathLib": {
"bytecode": "0x606060405234610000575b60a9806100176000396000f36504062dabbdf050606060405260e060020a6000350463a293d1e88114602e578063e6cb901314604c575b6000565b603a600435602435606a565b60408051918252519081900360200190f35b603a6004356024356088565b60408051918252519081900360200190f35b6000828211602a57508082036081566081565b6000565b5b92915050565b6000828284011115602a57508181016081566081565b6000565b5b9291505056",
"runtime_bytecode": "0x6504062dabbdf050606060405260e060020a6000350463a293d1e88114602e578063e6cb901314604c575b6000565b603a600435602435606a565b60408051918252519081900360200190f35b603a6004356024356088565b60408051918252519081900360200190f35b6000828211602a57508082036081566081565b6000565b5b92915050565b6000828284011115602a57508181016081566081565b6000565b5b9291505056",
"abi": [
{
"constant": false,
"inputs": [
{"name": "a","type": "uint256"},
{"name": "b","type": "uint256"}
],
"name": "safeSub",
"outputs": [
{"name": "","type": "uint256"}
],
"payable": false,
"type": "function"
},
{
"constant": false,
"inputs": [
{"name": "a","type": "uint256"},
{"name": "b","type": "uint256"}
],
"name": "safeAdd",
"outputs": [
{"name": "","type": "uint256"}
],
"payable": false,
"type": "function"
}
],
"compiler": {
"type": "solc",
"version": "0.4.6+commit.2dabbdf0.Darwin.appleclang",
"settings": {
"optimize": true
}
},
"natspec": {
"title": "Safe Math Library",
"author": "Piper Merriam <pipermerriam@gmail.com>",
"methods": {
"safeAdd(uint256,uint256)": {
"details": "Subtracts b from a, throwing an error if the operation would cause an underflow.",
"params": {
"a": "The number to be subtracted from",
"b": "The amount that should be subtracted"
}
},
"safeSub(uint256,uint256)": {
"details": "Adds a and b, throwing an error if the operation would cause an overflow.",
"params": {
"a": "The first number to add",
"b": "The second number to add"
}
}
}
}
}
},
"deployments": {
"blockchain://41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d/block/1e96de11320c83cca02e8b9caf3e489497e8e432befe5379f2f08599f8aecede": {
"SafeMathLib": {
"contract_type": "SafeMathLib",
"address": "0x8d2c532d7d211816a2807a411f947b211569b68c",
"transaction": "0xaceef751507a79c2dee6aa0e9d8f759aa24aab081f6dcf6835d792770541cb2b",
"block": "0x420cb2b2bd634ef42f9082e1ee87a8d4aeeaf506ea5cdeddaa8ff7cbf911810c"
}
}
}
}