Pull from dev
This commit is contained in:
commit
f7ad8f3c96
|
@ -1,5 +1,6 @@
|
||||||
if: (branch = development) OR (branch = master) OR (type = pull_request) OR (tag IS present)
|
if: (branch = development) OR (branch = master) OR (type = pull_request) OR (tag IS present)
|
||||||
sudo: required
|
sudo: required
|
||||||
|
dist: xenial
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
language: node_js
|
language: node_js
|
||||||
|
@ -23,6 +24,8 @@ before_install:
|
||||||
# Needed to deploy pull request and releases
|
# Needed to deploy pull request and releases
|
||||||
- sudo apt-get -y install python-pip python-dev
|
- sudo apt-get -y install python-pip python-dev
|
||||||
- pip install awscli --upgrade --user
|
- pip install awscli --upgrade --user
|
||||||
|
# Install truffle
|
||||||
|
- yarn global add truffle
|
||||||
before_script:
|
before_script:
|
||||||
# Used in the tests of the project
|
# Used in the tests of the project
|
||||||
- export NODE_ENV=testing
|
- export NODE_ENV=testing
|
||||||
|
|
|
@ -66,8 +66,9 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@gnosis.pm/util-contracts": "2.0.1",
|
"@gnosis.pm/util-contracts": "2.0.1",
|
||||||
"@material-ui/core": "^3.9.3",
|
"@gnosis.pm/safe-contracts": "^1.0.0",
|
||||||
"@material-ui/icons": "^3.0.1",
|
"@material-ui/core": "4.0.0",
|
||||||
|
"@material-ui/icons": "4.0.0",
|
||||||
"@welldone-software/why-did-you-render": "^3.0.9",
|
"@welldone-software/why-did-you-render": "^3.0.9",
|
||||||
"axios": "^0.18.0",
|
"axios": "^0.18.0",
|
||||||
"bignumber.js": "^8.1.1",
|
"bignumber.js": "^8.1.1",
|
||||||
|
|
|
@ -14,7 +14,6 @@ What things you need to install the software and how to install them
|
||||||
yarn add truffle // recommended usage of -g flag
|
yarn add truffle // recommended usage of -g flag
|
||||||
yarn add ganache-cli // recommended usage of -g flag
|
yarn add ganache-cli // recommended usage of -g flag
|
||||||
yarn add flow-type // recommended usage of -g flag
|
yarn add flow-type // recommended usage of -g flag
|
||||||
git clone https://github.com/gnosis/safe-contracts.git
|
|
||||||
```
|
```
|
||||||
|
|
||||||
We use [yarn](https://yarnpkg.com) in our infrastacture, so we decided to go with yarn in the README
|
We use [yarn](https://yarnpkg.com) in our infrastacture, so we decided to go with yarn in the README
|
||||||
|
@ -30,7 +29,6 @@ ganache-cli -b 3
|
||||||
|
|
||||||
Start the project in the other one
|
Start the project in the other one
|
||||||
```
|
```
|
||||||
cd safe-contracts && truffle compile && truffle migrate && cd ..
|
|
||||||
yarn install
|
yarn install
|
||||||
yarn start
|
yarn start
|
||||||
```
|
```
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -1,666 +0,0 @@
|
||||||
{
|
|
||||||
"contractName": "DelegateConstructorProxy",
|
|
||||||
"abi": [
|
|
||||||
{
|
|
||||||
"constant": true,
|
|
||||||
"inputs": [],
|
|
||||||
"name": "proxyType",
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"name": "",
|
|
||||||
"type": "uint256"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"payable": false,
|
|
||||||
"stateMutability": "pure",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"constant": true,
|
|
||||||
"inputs": [],
|
|
||||||
"name": "implementation",
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"name": "",
|
|
||||||
"type": "address"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"payable": false,
|
|
||||||
"stateMutability": "view",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"name": "_masterCopy",
|
|
||||||
"type": "address"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "initializer",
|
|
||||||
"type": "bytes"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"payable": false,
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"type": "constructor"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"payable": true,
|
|
||||||
"stateMutability": "payable",
|
|
||||||
"type": "fallback"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"bytecode": "0x608060405234801561001057600080fd5b506040516102fc3803806102fc83398101806040528101908080519060200190929190805182019291905050508160008173ffffffffffffffffffffffffffffffffffffffff16141515156100f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001807f496e76616c6964206d617374657220636f707920616464726573732070726f7681526020017f696465640000000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506000815111156101805773ffffffffffffffffffffffffffffffffffffffff60005416600080835160208501846127105a03f46040513d6000823e600082141561017c573d81fd5b5050505b505061016b806101916000396000f30060806040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680634555d5c91461008b5780635c60da1b146100b6575b73ffffffffffffffffffffffffffffffffffffffff600054163660008037600080366000845af43d6000803e6000811415610086573d6000fd5b3d6000f35b34801561009757600080fd5b506100a061010d565b6040518082815260200191505060405180910390f35b3480156100c257600080fd5b506100cb610116565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60006002905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050905600a165627a7a72305820b2de5726e0943c0fae0f20300b651ccee9090eab24beaf21fd7dbc55f5eef5970029",
|
|
||||||
"deployedBytecode": "0x60806040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680634555d5c91461008b5780635c60da1b146100b6575b73ffffffffffffffffffffffffffffffffffffffff600054163660008037600080366000845af43d6000803e6000811415610086573d6000fd5b3d6000f35b34801561009757600080fd5b506100a061010d565b6040518082815260200191505060405180910390f35b3480156100c257600080fd5b506100cb610116565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60006002905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050905600a165627a7a72305820b2de5726e0943c0fae0f20300b651ccee9090eab24beaf21fd7dbc55f5eef5970029",
|
|
||||||
"sourceMap": "355:882:21:-;;;610:625;8:9:-1;5:2;;;30:1;27;20:12;5:2;610:625:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;668:11;593:1:23;578:11;:16;;;;570:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;658:11;645:10;;:24;;;;;;;;;;;;;;;;;;508:168;735:1:21;714:11;:18;:22;710:519;;;879:42;875:1;869:8;865:57;1043:1;1040;1026:11;1020:18;1013:4;1000:11;996:22;984:10;976:5;971:3;967:15;954:91;1079:4;1073:11;1124:14;1121:1;1116:3;1101:38;1171:1;1162:7;1159:14;1156:2;;;1188:14;1183:3;1176:27;1156:2;829:390;;;;610:625;;355:882;;;;;;",
|
|
||||||
"deployedSourceMap": "355:882:21:-;;;;;;;;;;;;;;;;;;;;;;;;;;955:42:23;951:1;945:8;941:57;1030:14;1027:1;1024;1011:34;1125:1;1122;1106:14;1103:1;1091:10;1086:3;1073:54;1161:16;1158:1;1155;1140:38;1206:1;1197:7;1194:14;1191:2;;;1221:16;1218:1;1211:27;1191:2;1263:16;1260:1;1253:27;1426:104;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1426:104:23;;;;;;;;;;;;;;;;;;;;;;;1302:118;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1302:118:23;;;;;;;;;;;;;;;;;;;;;;;;;;;1426:104;1492:7;1522:1;1515:8;;1426:104;:::o;1302:118::-;1373:7;1403:10;;;;;;;;;;;1396:17;;1302:118;:::o",
|
|
||||||
"source": "pragma solidity 0.4.24;\nimport \"./Proxy.sol\";\n\n\n/// @title Delegate Constructor Proxy - Generic proxy contract allows to execute all transactions applying the code of a master contract. It is possible to send along initialization data with the constructor.\n/// @author Stefan George - <stefan@gnosis.pm>\n/// @author Richard Meissner - <richard@gnosis.pm>\ncontract DelegateConstructorProxy is Proxy {\n\n /// @dev Constructor function sets address of master copy contract.\n /// @param _masterCopy Master copy address.\n /// @param initializer Data used for a delegate call to initialize the contract.\n constructor(address _masterCopy, bytes initializer) Proxy(_masterCopy)\n public\n {\n if (initializer.length > 0) {\n // solium-disable-next-line security/no-inline-assembly\n assembly {\n let masterCopy := and(sload(0), 0xffffffffffffffffffffffffffffffffffffffff)\n let success := delegatecall(sub(gas, 10000), masterCopy, add(initializer, 0x20), mload(initializer), 0, 0)\n let ptr := mload(0x40)\n returndatacopy(ptr, 0, returndatasize)\n if eq(success, 0) { revert(ptr, returndatasize) }\n }\n }\n }\n}\n",
|
|
||||||
"sourcePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/proxies/DelegateConstructorProxy.sol",
|
|
||||||
"ast": {
|
|
||||||
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/proxies/DelegateConstructorProxy.sol",
|
|
||||||
"exportedSymbols": {
|
|
||||||
"DelegateConstructorProxy": [
|
|
||||||
2740
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": 2741,
|
|
||||||
"nodeType": "SourceUnit",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"id": 2718,
|
|
||||||
"literals": [
|
|
||||||
"solidity",
|
|
||||||
"0.4",
|
|
||||||
".24"
|
|
||||||
],
|
|
||||||
"nodeType": "PragmaDirective",
|
|
||||||
"src": "0:23:21"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/proxies/Proxy.sol",
|
|
||||||
"file": "./Proxy.sol",
|
|
||||||
"id": 2719,
|
|
||||||
"nodeType": "ImportDirective",
|
|
||||||
"scope": 2741,
|
|
||||||
"sourceUnit": 2841,
|
|
||||||
"src": "24:21:21",
|
|
||||||
"symbolAliases": [],
|
|
||||||
"unitAlias": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"baseContracts": [
|
|
||||||
{
|
|
||||||
"arguments": null,
|
|
||||||
"baseName": {
|
|
||||||
"contractScope": null,
|
|
||||||
"id": 2720,
|
|
||||||
"name": "Proxy",
|
|
||||||
"nodeType": "UserDefinedTypeName",
|
|
||||||
"referencedDeclaration": 2840,
|
|
||||||
"src": "392:5:21",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_contract$_Proxy_$2840",
|
|
||||||
"typeString": "contract Proxy"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"id": 2721,
|
|
||||||
"nodeType": "InheritanceSpecifier",
|
|
||||||
"src": "392:5:21"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"contractDependencies": [
|
|
||||||
2840
|
|
||||||
],
|
|
||||||
"contractKind": "contract",
|
|
||||||
"documentation": "@title Delegate Constructor Proxy - Generic proxy contract allows to execute all transactions applying the code of a master contract. It is possible to send along initialization data with the constructor.\n @author Stefan George - <stefan@gnosis.pm>\n @author Richard Meissner - <richard@gnosis.pm>",
|
|
||||||
"fullyImplemented": true,
|
|
||||||
"id": 2740,
|
|
||||||
"linearizedBaseContracts": [
|
|
||||||
2740,
|
|
||||||
2840
|
|
||||||
],
|
|
||||||
"name": "DelegateConstructorProxy",
|
|
||||||
"nodeType": "ContractDefinition",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"body": {
|
|
||||||
"id": 2738,
|
|
||||||
"nodeType": "Block",
|
|
||||||
"src": "700:535:21",
|
|
||||||
"statements": [
|
|
||||||
{
|
|
||||||
"condition": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"commonType": {
|
|
||||||
"typeIdentifier": "t_uint256",
|
|
||||||
"typeString": "uint256"
|
|
||||||
},
|
|
||||||
"id": 2734,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": false,
|
|
||||||
"lValueRequested": false,
|
|
||||||
"leftExpression": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"expression": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 2731,
|
|
||||||
"name": "initializer",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [],
|
|
||||||
"referencedDeclaration": 2725,
|
|
||||||
"src": "714:11:21",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bytes_memory_ptr",
|
|
||||||
"typeString": "bytes memory"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"id": 2732,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": false,
|
|
||||||
"lValueRequested": false,
|
|
||||||
"memberName": "length",
|
|
||||||
"nodeType": "MemberAccess",
|
|
||||||
"referencedDeclaration": null,
|
|
||||||
"src": "714:18:21",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_uint256",
|
|
||||||
"typeString": "uint256"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nodeType": "BinaryOperation",
|
|
||||||
"operator": ">",
|
|
||||||
"rightExpression": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"hexValue": "30",
|
|
||||||
"id": 2733,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": true,
|
|
||||||
"kind": "number",
|
|
||||||
"lValueRequested": false,
|
|
||||||
"nodeType": "Literal",
|
|
||||||
"src": "735:1:21",
|
|
||||||
"subdenomination": null,
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_rational_0_by_1",
|
|
||||||
"typeString": "int_const 0"
|
|
||||||
},
|
|
||||||
"value": "0"
|
|
||||||
},
|
|
||||||
"src": "714:22:21",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bool",
|
|
||||||
"typeString": "bool"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"falseBody": null,
|
|
||||||
"id": 2737,
|
|
||||||
"nodeType": "IfStatement",
|
|
||||||
"src": "710:519:21",
|
|
||||||
"trueBody": {
|
|
||||||
"id": 2736,
|
|
||||||
"nodeType": "Block",
|
|
||||||
"src": "738:491:21",
|
|
||||||
"statements": [
|
|
||||||
{
|
|
||||||
"externalReferences": [
|
|
||||||
{
|
|
||||||
"initializer": {
|
|
||||||
"declaration": 2725,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "1026:11:21",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"initializer": {
|
|
||||||
"declaration": 2725,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "1000:11:21",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"id": 2735,
|
|
||||||
"nodeType": "InlineAssembly",
|
|
||||||
"operations": "{\n let masterCopy := and(sload(0), 0xffffffffffffffffffffffffffffffffffffffff)\n let success := delegatecall(sub(gas(), 10000), masterCopy, add(initializer, 0x20), mload(initializer), 0, 0)\n let ptr := mload(0x40)\n returndatacopy(ptr, 0, returndatasize())\n if eq(success, 0)\n {\n revert(ptr, returndatasize())\n }\n}",
|
|
||||||
"src": "820:409:21"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"documentation": "@dev Constructor function sets address of master copy contract.\n @param _masterCopy Master copy address.\n @param initializer Data used for a delegate call to initialize the contract.",
|
|
||||||
"id": 2739,
|
|
||||||
"implemented": true,
|
|
||||||
"isConstructor": true,
|
|
||||||
"isDeclaredConst": false,
|
|
||||||
"modifiers": [
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
{
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 2728,
|
|
||||||
"name": "_masterCopy",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [],
|
|
||||||
"referencedDeclaration": 2723,
|
|
||||||
"src": "668:11:21",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"id": 2729,
|
|
||||||
"modifierName": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 2727,
|
|
||||||
"name": "Proxy",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [],
|
|
||||||
"referencedDeclaration": 2840,
|
|
||||||
"src": "662:5:21",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_type$_t_contract$_Proxy_$2840_$",
|
|
||||||
"typeString": "type(contract Proxy)"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nodeType": "ModifierInvocation",
|
|
||||||
"src": "662:18:21"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "",
|
|
||||||
"nodeType": "FunctionDefinition",
|
|
||||||
"parameters": {
|
|
||||||
"id": 2726,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 2723,
|
|
||||||
"name": "_masterCopy",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 2739,
|
|
||||||
"src": "622:19:21",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 2722,
|
|
||||||
"name": "address",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "622:7:21",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 2725,
|
|
||||||
"name": "initializer",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 2739,
|
|
||||||
"src": "643:17:21",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bytes_memory_ptr",
|
|
||||||
"typeString": "bytes"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 2724,
|
|
||||||
"name": "bytes",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "643:5:21",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bytes_storage_ptr",
|
|
||||||
"typeString": "bytes"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "621:40:21"
|
|
||||||
},
|
|
||||||
"payable": false,
|
|
||||||
"returnParameters": {
|
|
||||||
"id": 2730,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [],
|
|
||||||
"src": "700:0:21"
|
|
||||||
},
|
|
||||||
"scope": 2740,
|
|
||||||
"src": "610:625:21",
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"superFunction": null,
|
|
||||||
"visibility": "public"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"scope": 2741,
|
|
||||||
"src": "355:882:21"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "0:1238:21"
|
|
||||||
},
|
|
||||||
"legacyAST": {
|
|
||||||
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/proxies/DelegateConstructorProxy.sol",
|
|
||||||
"exportedSymbols": {
|
|
||||||
"DelegateConstructorProxy": [
|
|
||||||
2740
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": 2741,
|
|
||||||
"nodeType": "SourceUnit",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"id": 2718,
|
|
||||||
"literals": [
|
|
||||||
"solidity",
|
|
||||||
"0.4",
|
|
||||||
".24"
|
|
||||||
],
|
|
||||||
"nodeType": "PragmaDirective",
|
|
||||||
"src": "0:23:21"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/proxies/Proxy.sol",
|
|
||||||
"file": "./Proxy.sol",
|
|
||||||
"id": 2719,
|
|
||||||
"nodeType": "ImportDirective",
|
|
||||||
"scope": 2741,
|
|
||||||
"sourceUnit": 2841,
|
|
||||||
"src": "24:21:21",
|
|
||||||
"symbolAliases": [],
|
|
||||||
"unitAlias": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"baseContracts": [
|
|
||||||
{
|
|
||||||
"arguments": null,
|
|
||||||
"baseName": {
|
|
||||||
"contractScope": null,
|
|
||||||
"id": 2720,
|
|
||||||
"name": "Proxy",
|
|
||||||
"nodeType": "UserDefinedTypeName",
|
|
||||||
"referencedDeclaration": 2840,
|
|
||||||
"src": "392:5:21",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_contract$_Proxy_$2840",
|
|
||||||
"typeString": "contract Proxy"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"id": 2721,
|
|
||||||
"nodeType": "InheritanceSpecifier",
|
|
||||||
"src": "392:5:21"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"contractDependencies": [
|
|
||||||
2840
|
|
||||||
],
|
|
||||||
"contractKind": "contract",
|
|
||||||
"documentation": "@title Delegate Constructor Proxy - Generic proxy contract allows to execute all transactions applying the code of a master contract. It is possible to send along initialization data with the constructor.\n @author Stefan George - <stefan@gnosis.pm>\n @author Richard Meissner - <richard@gnosis.pm>",
|
|
||||||
"fullyImplemented": true,
|
|
||||||
"id": 2740,
|
|
||||||
"linearizedBaseContracts": [
|
|
||||||
2740,
|
|
||||||
2840
|
|
||||||
],
|
|
||||||
"name": "DelegateConstructorProxy",
|
|
||||||
"nodeType": "ContractDefinition",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"body": {
|
|
||||||
"id": 2738,
|
|
||||||
"nodeType": "Block",
|
|
||||||
"src": "700:535:21",
|
|
||||||
"statements": [
|
|
||||||
{
|
|
||||||
"condition": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"commonType": {
|
|
||||||
"typeIdentifier": "t_uint256",
|
|
||||||
"typeString": "uint256"
|
|
||||||
},
|
|
||||||
"id": 2734,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": false,
|
|
||||||
"lValueRequested": false,
|
|
||||||
"leftExpression": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"expression": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 2731,
|
|
||||||
"name": "initializer",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [],
|
|
||||||
"referencedDeclaration": 2725,
|
|
||||||
"src": "714:11:21",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bytes_memory_ptr",
|
|
||||||
"typeString": "bytes memory"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"id": 2732,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": false,
|
|
||||||
"lValueRequested": false,
|
|
||||||
"memberName": "length",
|
|
||||||
"nodeType": "MemberAccess",
|
|
||||||
"referencedDeclaration": null,
|
|
||||||
"src": "714:18:21",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_uint256",
|
|
||||||
"typeString": "uint256"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nodeType": "BinaryOperation",
|
|
||||||
"operator": ">",
|
|
||||||
"rightExpression": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"hexValue": "30",
|
|
||||||
"id": 2733,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": true,
|
|
||||||
"kind": "number",
|
|
||||||
"lValueRequested": false,
|
|
||||||
"nodeType": "Literal",
|
|
||||||
"src": "735:1:21",
|
|
||||||
"subdenomination": null,
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_rational_0_by_1",
|
|
||||||
"typeString": "int_const 0"
|
|
||||||
},
|
|
||||||
"value": "0"
|
|
||||||
},
|
|
||||||
"src": "714:22:21",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bool",
|
|
||||||
"typeString": "bool"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"falseBody": null,
|
|
||||||
"id": 2737,
|
|
||||||
"nodeType": "IfStatement",
|
|
||||||
"src": "710:519:21",
|
|
||||||
"trueBody": {
|
|
||||||
"id": 2736,
|
|
||||||
"nodeType": "Block",
|
|
||||||
"src": "738:491:21",
|
|
||||||
"statements": [
|
|
||||||
{
|
|
||||||
"externalReferences": [
|
|
||||||
{
|
|
||||||
"initializer": {
|
|
||||||
"declaration": 2725,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "1026:11:21",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"initializer": {
|
|
||||||
"declaration": 2725,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "1000:11:21",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"id": 2735,
|
|
||||||
"nodeType": "InlineAssembly",
|
|
||||||
"operations": "{\n let masterCopy := and(sload(0), 0xffffffffffffffffffffffffffffffffffffffff)\n let success := delegatecall(sub(gas(), 10000), masterCopy, add(initializer, 0x20), mload(initializer), 0, 0)\n let ptr := mload(0x40)\n returndatacopy(ptr, 0, returndatasize())\n if eq(success, 0)\n {\n revert(ptr, returndatasize())\n }\n}",
|
|
||||||
"src": "820:409:21"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"documentation": "@dev Constructor function sets address of master copy contract.\n @param _masterCopy Master copy address.\n @param initializer Data used for a delegate call to initialize the contract.",
|
|
||||||
"id": 2739,
|
|
||||||
"implemented": true,
|
|
||||||
"isConstructor": true,
|
|
||||||
"isDeclaredConst": false,
|
|
||||||
"modifiers": [
|
|
||||||
{
|
|
||||||
"arguments": [
|
|
||||||
{
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 2728,
|
|
||||||
"name": "_masterCopy",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [],
|
|
||||||
"referencedDeclaration": 2723,
|
|
||||||
"src": "668:11:21",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"id": 2729,
|
|
||||||
"modifierName": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 2727,
|
|
||||||
"name": "Proxy",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [],
|
|
||||||
"referencedDeclaration": 2840,
|
|
||||||
"src": "662:5:21",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_type$_t_contract$_Proxy_$2840_$",
|
|
||||||
"typeString": "type(contract Proxy)"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nodeType": "ModifierInvocation",
|
|
||||||
"src": "662:18:21"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "",
|
|
||||||
"nodeType": "FunctionDefinition",
|
|
||||||
"parameters": {
|
|
||||||
"id": 2726,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 2723,
|
|
||||||
"name": "_masterCopy",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 2739,
|
|
||||||
"src": "622:19:21",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 2722,
|
|
||||||
"name": "address",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "622:7:21",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 2725,
|
|
||||||
"name": "initializer",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 2739,
|
|
||||||
"src": "643:17:21",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bytes_memory_ptr",
|
|
||||||
"typeString": "bytes"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 2724,
|
|
||||||
"name": "bytes",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "643:5:21",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bytes_storage_ptr",
|
|
||||||
"typeString": "bytes"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "621:40:21"
|
|
||||||
},
|
|
||||||
"payable": false,
|
|
||||||
"returnParameters": {
|
|
||||||
"id": 2730,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [],
|
|
||||||
"src": "700:0:21"
|
|
||||||
},
|
|
||||||
"scope": 2740,
|
|
||||||
"src": "610:625:21",
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"superFunction": null,
|
|
||||||
"visibility": "public"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"scope": 2741,
|
|
||||||
"src": "355:882:21"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "0:1238:21"
|
|
||||||
},
|
|
||||||
"compiler": {
|
|
||||||
"name": "solc",
|
|
||||||
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
|
|
||||||
},
|
|
||||||
"networks": {},
|
|
||||||
"schemaVersion": "2.0.0",
|
|
||||||
"updatedAt": "2018-10-05T14:25:58.944Z"
|
|
||||||
}
|
|
|
@ -1,151 +0,0 @@
|
||||||
{
|
|
||||||
"contractName": "Enum",
|
|
||||||
"abi": [],
|
|
||||||
"bytecode": "0x6080604052348015600f57600080fd5b50603580601d6000396000f3006080604052600080fd00a165627a7a72305820e8f35ac07bd2a835eacbee7ba38b086a012b371f6bdc0da93abfb72fe3b38ec20029",
|
|
||||||
"deployedBytecode": "0x6080604052600080fd00a165627a7a72305820e8f35ac07bd2a835eacbee7ba38b086a012b371f6bdc0da93abfb72fe3b38ec20029",
|
|
||||||
"sourceMap": "115:95:7:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;115:95:7;;;;;;;",
|
|
||||||
"deployedSourceMap": "115:95:7:-;;;;;",
|
|
||||||
"source": "pragma solidity 0.4.24;\n\n\n/// @title Enum - Collection of enums\n/// @author Richard Meissner - <richard@gnosis.pm>\ncontract Enum {\n enum Operation {\n Call,\n DelegateCall,\n Create\n }\n}\n",
|
|
||||||
"sourcePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/common/Enum.sol",
|
|
||||||
"ast": {
|
|
||||||
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/common/Enum.sol",
|
|
||||||
"exportedSymbols": {
|
|
||||||
"Enum": [
|
|
||||||
1659
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": 1660,
|
|
||||||
"nodeType": "SourceUnit",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"id": 1654,
|
|
||||||
"literals": [
|
|
||||||
"solidity",
|
|
||||||
"0.4",
|
|
||||||
".24"
|
|
||||||
],
|
|
||||||
"nodeType": "PragmaDirective",
|
|
||||||
"src": "0:23:7"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"baseContracts": [],
|
|
||||||
"contractDependencies": [],
|
|
||||||
"contractKind": "contract",
|
|
||||||
"documentation": "@title Enum - Collection of enums\n @author Richard Meissner - <richard@gnosis.pm>",
|
|
||||||
"fullyImplemented": true,
|
|
||||||
"id": 1659,
|
|
||||||
"linearizedBaseContracts": [
|
|
||||||
1659
|
|
||||||
],
|
|
||||||
"name": "Enum",
|
|
||||||
"nodeType": "ContractDefinition",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"canonicalName": "Enum.Operation",
|
|
||||||
"id": 1658,
|
|
||||||
"members": [
|
|
||||||
{
|
|
||||||
"id": 1655,
|
|
||||||
"name": "Call",
|
|
||||||
"nodeType": "EnumValue",
|
|
||||||
"src": "160:4:7"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": 1656,
|
|
||||||
"name": "DelegateCall",
|
|
||||||
"nodeType": "EnumValue",
|
|
||||||
"src": "174:12:7"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": 1657,
|
|
||||||
"name": "Create",
|
|
||||||
"nodeType": "EnumValue",
|
|
||||||
"src": "196:6:7"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "Operation",
|
|
||||||
"nodeType": "EnumDefinition",
|
|
||||||
"src": "135:73:7"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"scope": 1660,
|
|
||||||
"src": "115:95:7"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "0:211:7"
|
|
||||||
},
|
|
||||||
"legacyAST": {
|
|
||||||
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/common/Enum.sol",
|
|
||||||
"exportedSymbols": {
|
|
||||||
"Enum": [
|
|
||||||
1659
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": 1660,
|
|
||||||
"nodeType": "SourceUnit",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"id": 1654,
|
|
||||||
"literals": [
|
|
||||||
"solidity",
|
|
||||||
"0.4",
|
|
||||||
".24"
|
|
||||||
],
|
|
||||||
"nodeType": "PragmaDirective",
|
|
||||||
"src": "0:23:7"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"baseContracts": [],
|
|
||||||
"contractDependencies": [],
|
|
||||||
"contractKind": "contract",
|
|
||||||
"documentation": "@title Enum - Collection of enums\n @author Richard Meissner - <richard@gnosis.pm>",
|
|
||||||
"fullyImplemented": true,
|
|
||||||
"id": 1659,
|
|
||||||
"linearizedBaseContracts": [
|
|
||||||
1659
|
|
||||||
],
|
|
||||||
"name": "Enum",
|
|
||||||
"nodeType": "ContractDefinition",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"canonicalName": "Enum.Operation",
|
|
||||||
"id": 1658,
|
|
||||||
"members": [
|
|
||||||
{
|
|
||||||
"id": 1655,
|
|
||||||
"name": "Call",
|
|
||||||
"nodeType": "EnumValue",
|
|
||||||
"src": "160:4:7"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": 1656,
|
|
||||||
"name": "DelegateCall",
|
|
||||||
"nodeType": "EnumValue",
|
|
||||||
"src": "174:12:7"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": 1657,
|
|
||||||
"name": "Create",
|
|
||||||
"nodeType": "EnumValue",
|
|
||||||
"src": "196:6:7"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "Operation",
|
|
||||||
"nodeType": "EnumDefinition",
|
|
||||||
"src": "135:73:7"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"scope": 1660,
|
|
||||||
"src": "115:95:7"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "0:211:7"
|
|
||||||
},
|
|
||||||
"compiler": {
|
|
||||||
"name": "solc",
|
|
||||||
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
|
|
||||||
},
|
|
||||||
"networks": {},
|
|
||||||
"schemaVersion": "2.0.0",
|
|
||||||
"updatedAt": "2018-10-05T14:25:58.921Z"
|
|
||||||
}
|
|
|
@ -1,171 +0,0 @@
|
||||||
{
|
|
||||||
"contractName": "EtherPaymentFallback",
|
|
||||||
"abi": [
|
|
||||||
{
|
|
||||||
"payable": true,
|
|
||||||
"stateMutability": "payable",
|
|
||||||
"type": "fallback"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"bytecode": "0x6080604052348015600f57600080fd5b50603280601d6000396000f30060806040520000a165627a7a723058200c4d2e3a714c9a462ec30383030f16e7035d8647c8e18373ebc02f115b5a1d690029",
|
|
||||||
"deployedBytecode": "0x60806040520000a165627a7a723058200c4d2e3a714c9a462ec30383030f16e7035d8647c8e18373ebc02f115b5a1d690029",
|
|
||||||
"sourceMap": "167:155:8:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;167:155:8;;;;;;;",
|
|
||||||
"deployedSourceMap": "167:155:8:-;;;",
|
|
||||||
"source": "pragma solidity 0.4.24;\n\n\n/// @title EtherPaymentFallback - A contract that has a fallback to accept ether payments\n/// @author Richard Meissner - <richard@gnosis.pm>\ncontract EtherPaymentFallback {\n\n /// @dev Fallback function accepts Ether transactions.\n function ()\n external\n payable\n {\n\n }\n}\n",
|
|
||||||
"sourcePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/common/EtherPaymentFallback.sol",
|
|
||||||
"ast": {
|
|
||||||
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/common/EtherPaymentFallback.sol",
|
|
||||||
"exportedSymbols": {
|
|
||||||
"EtherPaymentFallback": [
|
|
||||||
1666
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": 1667,
|
|
||||||
"nodeType": "SourceUnit",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"id": 1661,
|
|
||||||
"literals": [
|
|
||||||
"solidity",
|
|
||||||
"0.4",
|
|
||||||
".24"
|
|
||||||
],
|
|
||||||
"nodeType": "PragmaDirective",
|
|
||||||
"src": "0:23:8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"baseContracts": [],
|
|
||||||
"contractDependencies": [],
|
|
||||||
"contractKind": "contract",
|
|
||||||
"documentation": "@title EtherPaymentFallback - A contract that has a fallback to accept ether payments\n @author Richard Meissner - <richard@gnosis.pm>",
|
|
||||||
"fullyImplemented": true,
|
|
||||||
"id": 1666,
|
|
||||||
"linearizedBaseContracts": [
|
|
||||||
1666
|
|
||||||
],
|
|
||||||
"name": "EtherPaymentFallback",
|
|
||||||
"nodeType": "ContractDefinition",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"body": {
|
|
||||||
"id": 1664,
|
|
||||||
"nodeType": "Block",
|
|
||||||
"src": "312:8:8",
|
|
||||||
"statements": []
|
|
||||||
},
|
|
||||||
"documentation": "@dev Fallback function accepts Ether transactions.",
|
|
||||||
"id": 1665,
|
|
||||||
"implemented": true,
|
|
||||||
"isConstructor": false,
|
|
||||||
"isDeclaredConst": false,
|
|
||||||
"modifiers": [],
|
|
||||||
"name": "",
|
|
||||||
"nodeType": "FunctionDefinition",
|
|
||||||
"parameters": {
|
|
||||||
"id": 1662,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [],
|
|
||||||
"src": "272:2:8"
|
|
||||||
},
|
|
||||||
"payable": true,
|
|
||||||
"returnParameters": {
|
|
||||||
"id": 1663,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [],
|
|
||||||
"src": "312:0:8"
|
|
||||||
},
|
|
||||||
"scope": 1666,
|
|
||||||
"src": "263:57:8",
|
|
||||||
"stateMutability": "payable",
|
|
||||||
"superFunction": null,
|
|
||||||
"visibility": "external"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"scope": 1667,
|
|
||||||
"src": "167:155:8"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "0:323:8"
|
|
||||||
},
|
|
||||||
"legacyAST": {
|
|
||||||
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/common/EtherPaymentFallback.sol",
|
|
||||||
"exportedSymbols": {
|
|
||||||
"EtherPaymentFallback": [
|
|
||||||
1666
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": 1667,
|
|
||||||
"nodeType": "SourceUnit",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"id": 1661,
|
|
||||||
"literals": [
|
|
||||||
"solidity",
|
|
||||||
"0.4",
|
|
||||||
".24"
|
|
||||||
],
|
|
||||||
"nodeType": "PragmaDirective",
|
|
||||||
"src": "0:23:8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"baseContracts": [],
|
|
||||||
"contractDependencies": [],
|
|
||||||
"contractKind": "contract",
|
|
||||||
"documentation": "@title EtherPaymentFallback - A contract that has a fallback to accept ether payments\n @author Richard Meissner - <richard@gnosis.pm>",
|
|
||||||
"fullyImplemented": true,
|
|
||||||
"id": 1666,
|
|
||||||
"linearizedBaseContracts": [
|
|
||||||
1666
|
|
||||||
],
|
|
||||||
"name": "EtherPaymentFallback",
|
|
||||||
"nodeType": "ContractDefinition",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"body": {
|
|
||||||
"id": 1664,
|
|
||||||
"nodeType": "Block",
|
|
||||||
"src": "312:8:8",
|
|
||||||
"statements": []
|
|
||||||
},
|
|
||||||
"documentation": "@dev Fallback function accepts Ether transactions.",
|
|
||||||
"id": 1665,
|
|
||||||
"implemented": true,
|
|
||||||
"isConstructor": false,
|
|
||||||
"isDeclaredConst": false,
|
|
||||||
"modifiers": [],
|
|
||||||
"name": "",
|
|
||||||
"nodeType": "FunctionDefinition",
|
|
||||||
"parameters": {
|
|
||||||
"id": 1662,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [],
|
|
||||||
"src": "272:2:8"
|
|
||||||
},
|
|
||||||
"payable": true,
|
|
||||||
"returnParameters": {
|
|
||||||
"id": 1663,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [],
|
|
||||||
"src": "312:0:8"
|
|
||||||
},
|
|
||||||
"scope": 1666,
|
|
||||||
"src": "263:57:8",
|
|
||||||
"stateMutability": "payable",
|
|
||||||
"superFunction": null,
|
|
||||||
"visibility": "external"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"scope": 1667,
|
|
||||||
"src": "167:155:8"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "0:323:8"
|
|
||||||
},
|
|
||||||
"compiler": {
|
|
||||||
"name": "solc",
|
|
||||||
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
|
|
||||||
},
|
|
||||||
"networks": {},
|
|
||||||
"schemaVersion": "2.0.0",
|
|
||||||
"updatedAt": "2018-10-05T14:25:58.922Z"
|
|
||||||
}
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -1,339 +0,0 @@
|
||||||
{
|
|
||||||
"contractName": "ISignatureValidator",
|
|
||||||
"abi": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"name": "_data",
|
|
||||||
"type": "bytes"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "_signature",
|
|
||||||
"type": "bytes"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "isValidSignature",
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"name": "isValid",
|
|
||||||
"type": "bool"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"payable": false,
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"type": "function"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"bytecode": "0x",
|
|
||||||
"deployedBytecode": "0x",
|
|
||||||
"sourceMap": "",
|
|
||||||
"deployedSourceMap": "",
|
|
||||||
"source": "pragma solidity 0.4.24;\n\ncontract ISignatureValidator {\n /**\n * @dev Should return whether the signature provided is valid for the provided data\n * @param _data Arbitrary length data signed on the behalf of address(this)\n * @param _signature Signature byte array associated with _data\n *\n * MUST return a bool upon valid or invalid signature with corresponding _data\n * MUST take (bytes, bytes) as arguments\n */ \n function isValidSignature(\n bytes _data, \n bytes _signature)\n public\n returns (bool isValid); \n}",
|
|
||||||
"sourcePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/interfaces/ISignatureValidator.sol",
|
|
||||||
"ast": {
|
|
||||||
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/interfaces/ISignatureValidator.sol",
|
|
||||||
"exportedSymbols": {
|
|
||||||
"ISignatureValidator": [
|
|
||||||
1803
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": 1804,
|
|
||||||
"nodeType": "SourceUnit",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"id": 1793,
|
|
||||||
"literals": [
|
|
||||||
"solidity",
|
|
||||||
"0.4",
|
|
||||||
".24"
|
|
||||||
],
|
|
||||||
"nodeType": "PragmaDirective",
|
|
||||||
"src": "0:23:13"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"baseContracts": [],
|
|
||||||
"contractDependencies": [],
|
|
||||||
"contractKind": "contract",
|
|
||||||
"documentation": null,
|
|
||||||
"fullyImplemented": false,
|
|
||||||
"id": 1803,
|
|
||||||
"linearizedBaseContracts": [
|
|
||||||
1803
|
|
||||||
],
|
|
||||||
"name": "ISignatureValidator",
|
|
||||||
"nodeType": "ContractDefinition",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"body": null,
|
|
||||||
"documentation": "@dev Should return whether the signature provided is valid for the provided data\n@param _data Arbitrary length data signed on the behalf of address(this)\n@param _signature Signature byte array associated with _data\n * MUST return a bool upon valid or invalid signature with corresponding _data\nMUST take (bytes, bytes) as arguments",
|
|
||||||
"id": 1802,
|
|
||||||
"implemented": false,
|
|
||||||
"isConstructor": false,
|
|
||||||
"isDeclaredConst": false,
|
|
||||||
"modifiers": [],
|
|
||||||
"name": "isValidSignature",
|
|
||||||
"nodeType": "FunctionDefinition",
|
|
||||||
"parameters": {
|
|
||||||
"id": 1798,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1795,
|
|
||||||
"name": "_data",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1802,
|
|
||||||
"src": "476:11:13",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bytes_memory_ptr",
|
|
||||||
"typeString": "bytes"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1794,
|
|
||||||
"name": "bytes",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "476:5:13",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bytes_storage_ptr",
|
|
||||||
"typeString": "bytes"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1797,
|
|
||||||
"name": "_signature",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1802,
|
|
||||||
"src": "498:16:13",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bytes_memory_ptr",
|
|
||||||
"typeString": "bytes"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1796,
|
|
||||||
"name": "bytes",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "498:5:13",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bytes_storage_ptr",
|
|
||||||
"typeString": "bytes"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "466:49:13"
|
|
||||||
},
|
|
||||||
"payable": false,
|
|
||||||
"returnParameters": {
|
|
||||||
"id": 1801,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1800,
|
|
||||||
"name": "isValid",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1802,
|
|
||||||
"src": "548:12:13",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bool",
|
|
||||||
"typeString": "bool"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1799,
|
|
||||||
"name": "bool",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "548:4:13",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bool",
|
|
||||||
"typeString": "bool"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "547:14:13"
|
|
||||||
},
|
|
||||||
"scope": 1803,
|
|
||||||
"src": "441:121:13",
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"superFunction": null,
|
|
||||||
"visibility": "public"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"scope": 1804,
|
|
||||||
"src": "25:540:13"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "0:565:13"
|
|
||||||
},
|
|
||||||
"legacyAST": {
|
|
||||||
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/interfaces/ISignatureValidator.sol",
|
|
||||||
"exportedSymbols": {
|
|
||||||
"ISignatureValidator": [
|
|
||||||
1803
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": 1804,
|
|
||||||
"nodeType": "SourceUnit",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"id": 1793,
|
|
||||||
"literals": [
|
|
||||||
"solidity",
|
|
||||||
"0.4",
|
|
||||||
".24"
|
|
||||||
],
|
|
||||||
"nodeType": "PragmaDirective",
|
|
||||||
"src": "0:23:13"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"baseContracts": [],
|
|
||||||
"contractDependencies": [],
|
|
||||||
"contractKind": "contract",
|
|
||||||
"documentation": null,
|
|
||||||
"fullyImplemented": false,
|
|
||||||
"id": 1803,
|
|
||||||
"linearizedBaseContracts": [
|
|
||||||
1803
|
|
||||||
],
|
|
||||||
"name": "ISignatureValidator",
|
|
||||||
"nodeType": "ContractDefinition",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"body": null,
|
|
||||||
"documentation": "@dev Should return whether the signature provided is valid for the provided data\n@param _data Arbitrary length data signed on the behalf of address(this)\n@param _signature Signature byte array associated with _data\n * MUST return a bool upon valid or invalid signature with corresponding _data\nMUST take (bytes, bytes) as arguments",
|
|
||||||
"id": 1802,
|
|
||||||
"implemented": false,
|
|
||||||
"isConstructor": false,
|
|
||||||
"isDeclaredConst": false,
|
|
||||||
"modifiers": [],
|
|
||||||
"name": "isValidSignature",
|
|
||||||
"nodeType": "FunctionDefinition",
|
|
||||||
"parameters": {
|
|
||||||
"id": 1798,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1795,
|
|
||||||
"name": "_data",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1802,
|
|
||||||
"src": "476:11:13",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bytes_memory_ptr",
|
|
||||||
"typeString": "bytes"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1794,
|
|
||||||
"name": "bytes",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "476:5:13",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bytes_storage_ptr",
|
|
||||||
"typeString": "bytes"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1797,
|
|
||||||
"name": "_signature",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1802,
|
|
||||||
"src": "498:16:13",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bytes_memory_ptr",
|
|
||||||
"typeString": "bytes"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1796,
|
|
||||||
"name": "bytes",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "498:5:13",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bytes_storage_ptr",
|
|
||||||
"typeString": "bytes"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "466:49:13"
|
|
||||||
},
|
|
||||||
"payable": false,
|
|
||||||
"returnParameters": {
|
|
||||||
"id": 1801,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1800,
|
|
||||||
"name": "isValid",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1802,
|
|
||||||
"src": "548:12:13",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bool",
|
|
||||||
"typeString": "bool"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1799,
|
|
||||||
"name": "bool",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "548:4:13",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bool",
|
|
||||||
"typeString": "bool"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "547:14:13"
|
|
||||||
},
|
|
||||||
"scope": 1803,
|
|
||||||
"src": "441:121:13",
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"superFunction": null,
|
|
||||||
"visibility": "public"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"scope": 1804,
|
|
||||||
"src": "25:540:13"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "0:565:13"
|
|
||||||
},
|
|
||||||
"compiler": {
|
|
||||||
"name": "solc",
|
|
||||||
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
|
|
||||||
},
|
|
||||||
"networks": {},
|
|
||||||
"schemaVersion": "2.0.0",
|
|
||||||
"updatedAt": "2018-10-05T14:25:58.938Z"
|
|
||||||
}
|
|
|
@ -1,718 +0,0 @@
|
||||||
{
|
|
||||||
"contractName": "MasterCopy",
|
|
||||||
"abi": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"name": "_masterCopy",
|
|
||||||
"type": "address"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "changeMasterCopy",
|
|
||||||
"outputs": [],
|
|
||||||
"payable": false,
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"type": "function"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"bytecode": "0x608060405234801561001057600080fd5b50610276806100206000396000f300608060405260043610610041576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680637de7edef14610046575b600080fd5b34801561005257600080fd5b50610087600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610089565b005b3073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001807f4d6574686f642063616e206f6e6c792062652063616c6c65642066726f6d207481526020017f68697320636f6e7472616374000000000000000000000000000000000000000081525060400191505060405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff1614151515610207576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001807f496e76616c6964206d617374657220636f707920616464726573732070726f7681526020017f696465640000000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505600a165627a7a7230582035e9d5d611938f796affd4397aed671c5c4079783e0a67a874440cb154a411440029",
|
|
||||||
"deployedBytecode": "0x608060405260043610610041576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680637de7edef14610046575b600080fd5b34801561005257600080fd5b50610087600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610089565b005b3073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001807f4d6574686f642063616e206f6e6c792062652063616c6c65642066726f6d207481526020017f68697320636f6e7472616374000000000000000000000000000000000000000081525060400191505060405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff1614151515610207576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001807f496e76616c6964206d617374657220636f707920616464726573732070726f7681526020017f696465640000000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505600a165627a7a7230582035e9d5d611938f796affd4397aed671c5c4079783e0a67a874440cb154a411440029",
|
|
||||||
"sourceMap": "203:673:9:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;203:673:9;;;;;;;",
|
|
||||||
"deployedSourceMap": "203:673:9:-;;;;;;;;;;;;;;;;;;;;;;;;626:248;;8:9:-1;5:2;;;30:1;27;20:12;5:2;626:248:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;244:4:11;222:27;;:10;:27;;;214:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;791:1:9;776:11;:16;;;;768:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;856:11;843:10;;:24;;;;;;;;;;;;;;;;;;626:248;:::o",
|
|
||||||
"source": "pragma solidity 0.4.24;\nimport \"./SelfAuthorized.sol\";\n\n\n/// @title MasterCopy - Base for master copy contracts (should always be first super contract)\n/// @author Richard Meissner - <richard@gnosis.pm>\ncontract MasterCopy is SelfAuthorized {\n // masterCopy always needs to be first declared variable, to ensure that it is at the same location as in the Proxy contract.\n // It should also always be ensured that the address is stored alone (uses a full word)\n address masterCopy;\n\n /// @dev Allows to upgrade the contract. This can only be done via a Safe transaction.\n /// @param _masterCopy New contract address.\n function changeMasterCopy(address _masterCopy)\n public\n authorized\n {\n // Master copy address cannot be null.\n require(_masterCopy != 0, \"Invalid master copy address provided\");\n masterCopy = _masterCopy;\n }\n}\n",
|
|
||||||
"sourcePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/common/MasterCopy.sol",
|
|
||||||
"ast": {
|
|
||||||
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/common/MasterCopy.sol",
|
|
||||||
"exportedSymbols": {
|
|
||||||
"MasterCopy": [
|
|
||||||
1693
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": 1694,
|
|
||||||
"nodeType": "SourceUnit",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"id": 1668,
|
|
||||||
"literals": [
|
|
||||||
"solidity",
|
|
||||||
"0.4",
|
|
||||||
".24"
|
|
||||||
],
|
|
||||||
"nodeType": "PragmaDirective",
|
|
||||||
"src": "0:23:9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/common/SelfAuthorized.sol",
|
|
||||||
"file": "./SelfAuthorized.sol",
|
|
||||||
"id": 1669,
|
|
||||||
"nodeType": "ImportDirective",
|
|
||||||
"scope": 1694,
|
|
||||||
"sourceUnit": 1736,
|
|
||||||
"src": "24:30:9",
|
|
||||||
"symbolAliases": [],
|
|
||||||
"unitAlias": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"baseContracts": [
|
|
||||||
{
|
|
||||||
"arguments": null,
|
|
||||||
"baseName": {
|
|
||||||
"contractScope": null,
|
|
||||||
"id": 1670,
|
|
||||||
"name": "SelfAuthorized",
|
|
||||||
"nodeType": "UserDefinedTypeName",
|
|
||||||
"referencedDeclaration": 1735,
|
|
||||||
"src": "226:14:9",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_contract$_SelfAuthorized_$1735",
|
|
||||||
"typeString": "contract SelfAuthorized"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"id": 1671,
|
|
||||||
"nodeType": "InheritanceSpecifier",
|
|
||||||
"src": "226:14:9"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"contractDependencies": [
|
|
||||||
1735
|
|
||||||
],
|
|
||||||
"contractKind": "contract",
|
|
||||||
"documentation": "@title MasterCopy - Base for master copy contracts (should always be first super contract)\n @author Richard Meissner - <richard@gnosis.pm>",
|
|
||||||
"fullyImplemented": true,
|
|
||||||
"id": 1693,
|
|
||||||
"linearizedBaseContracts": [
|
|
||||||
1693,
|
|
||||||
1735
|
|
||||||
],
|
|
||||||
"name": "MasterCopy",
|
|
||||||
"nodeType": "ContractDefinition",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1673,
|
|
||||||
"name": "masterCopy",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1693,
|
|
||||||
"src": "465:18:9",
|
|
||||||
"stateVariable": true,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1672,
|
|
||||||
"name": "address",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "465:7:9",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"body": {
|
|
||||||
"id": 1691,
|
|
||||||
"nodeType": "Block",
|
|
||||||
"src": "711:163:9",
|
|
||||||
"statements": [
|
|
||||||
{
|
|
||||||
"expression": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"arguments": [
|
|
||||||
{
|
|
||||||
"argumentTypes": null,
|
|
||||||
"commonType": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
},
|
|
||||||
"id": 1683,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": false,
|
|
||||||
"lValueRequested": false,
|
|
||||||
"leftExpression": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 1681,
|
|
||||||
"name": "_masterCopy",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [],
|
|
||||||
"referencedDeclaration": 1675,
|
|
||||||
"src": "776:11:9",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nodeType": "BinaryOperation",
|
|
||||||
"operator": "!=",
|
|
||||||
"rightExpression": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"hexValue": "30",
|
|
||||||
"id": 1682,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": true,
|
|
||||||
"kind": "number",
|
|
||||||
"lValueRequested": false,
|
|
||||||
"nodeType": "Literal",
|
|
||||||
"src": "791:1:9",
|
|
||||||
"subdenomination": null,
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_rational_0_by_1",
|
|
||||||
"typeString": "int_const 0"
|
|
||||||
},
|
|
||||||
"value": "0"
|
|
||||||
},
|
|
||||||
"src": "776:16:9",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bool",
|
|
||||||
"typeString": "bool"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"argumentTypes": null,
|
|
||||||
"hexValue": "496e76616c6964206d617374657220636f707920616464726573732070726f7669646564",
|
|
||||||
"id": 1684,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": true,
|
|
||||||
"kind": "string",
|
|
||||||
"lValueRequested": false,
|
|
||||||
"nodeType": "Literal",
|
|
||||||
"src": "794:38:9",
|
|
||||||
"subdenomination": null,
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_stringliteral_108d84599042957b954e89d43b52f80be89321dfc114a37800028eba58dafc87",
|
|
||||||
"typeString": "literal_string \"Invalid master copy address provided\""
|
|
||||||
},
|
|
||||||
"value": "Invalid master copy address provided"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"expression": {
|
|
||||||
"argumentTypes": [
|
|
||||||
{
|
|
||||||
"typeIdentifier": "t_bool",
|
|
||||||
"typeString": "bool"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeIdentifier": "t_stringliteral_108d84599042957b954e89d43b52f80be89321dfc114a37800028eba58dafc87",
|
|
||||||
"typeString": "literal_string \"Invalid master copy address provided\""
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"id": 1680,
|
|
||||||
"name": "require",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [
|
|
||||||
4018,
|
|
||||||
4019
|
|
||||||
],
|
|
||||||
"referencedDeclaration": 4019,
|
|
||||||
"src": "768:7:9",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
|
|
||||||
"typeString": "function (bool,string memory) pure"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"id": 1685,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": false,
|
|
||||||
"kind": "functionCall",
|
|
||||||
"lValueRequested": false,
|
|
||||||
"names": [],
|
|
||||||
"nodeType": "FunctionCall",
|
|
||||||
"src": "768:65:9",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_tuple$__$",
|
|
||||||
"typeString": "tuple()"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"id": 1686,
|
|
||||||
"nodeType": "ExpressionStatement",
|
|
||||||
"src": "768:65:9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"expression": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 1689,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": false,
|
|
||||||
"lValueRequested": false,
|
|
||||||
"leftHandSide": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 1687,
|
|
||||||
"name": "masterCopy",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [],
|
|
||||||
"referencedDeclaration": 1673,
|
|
||||||
"src": "843:10:9",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nodeType": "Assignment",
|
|
||||||
"operator": "=",
|
|
||||||
"rightHandSide": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 1688,
|
|
||||||
"name": "_masterCopy",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [],
|
|
||||||
"referencedDeclaration": 1675,
|
|
||||||
"src": "856:11:9",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"src": "843:24:9",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"id": 1690,
|
|
||||||
"nodeType": "ExpressionStatement",
|
|
||||||
"src": "843:24:9"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"documentation": "@dev Allows to upgrade the contract. This can only be done via a Safe transaction.\n @param _masterCopy New contract address.",
|
|
||||||
"id": 1692,
|
|
||||||
"implemented": true,
|
|
||||||
"isConstructor": false,
|
|
||||||
"isDeclaredConst": false,
|
|
||||||
"modifiers": [
|
|
||||||
{
|
|
||||||
"arguments": null,
|
|
||||||
"id": 1678,
|
|
||||||
"modifierName": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 1677,
|
|
||||||
"name": "authorized",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [],
|
|
||||||
"referencedDeclaration": 1734,
|
|
||||||
"src": "696:10:9",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_modifier$__$",
|
|
||||||
"typeString": "modifier ()"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nodeType": "ModifierInvocation",
|
|
||||||
"src": "696:10:9"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "changeMasterCopy",
|
|
||||||
"nodeType": "FunctionDefinition",
|
|
||||||
"parameters": {
|
|
||||||
"id": 1676,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1675,
|
|
||||||
"name": "_masterCopy",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1692,
|
|
||||||
"src": "652:19:9",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1674,
|
|
||||||
"name": "address",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "652:7:9",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "651:21:9"
|
|
||||||
},
|
|
||||||
"payable": false,
|
|
||||||
"returnParameters": {
|
|
||||||
"id": 1679,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [],
|
|
||||||
"src": "711:0:9"
|
|
||||||
},
|
|
||||||
"scope": 1693,
|
|
||||||
"src": "626:248:9",
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"superFunction": null,
|
|
||||||
"visibility": "public"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"scope": 1694,
|
|
||||||
"src": "203:673:9"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "0:877:9"
|
|
||||||
},
|
|
||||||
"legacyAST": {
|
|
||||||
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/common/MasterCopy.sol",
|
|
||||||
"exportedSymbols": {
|
|
||||||
"MasterCopy": [
|
|
||||||
1693
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": 1694,
|
|
||||||
"nodeType": "SourceUnit",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"id": 1668,
|
|
||||||
"literals": [
|
|
||||||
"solidity",
|
|
||||||
"0.4",
|
|
||||||
".24"
|
|
||||||
],
|
|
||||||
"nodeType": "PragmaDirective",
|
|
||||||
"src": "0:23:9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/common/SelfAuthorized.sol",
|
|
||||||
"file": "./SelfAuthorized.sol",
|
|
||||||
"id": 1669,
|
|
||||||
"nodeType": "ImportDirective",
|
|
||||||
"scope": 1694,
|
|
||||||
"sourceUnit": 1736,
|
|
||||||
"src": "24:30:9",
|
|
||||||
"symbolAliases": [],
|
|
||||||
"unitAlias": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"baseContracts": [
|
|
||||||
{
|
|
||||||
"arguments": null,
|
|
||||||
"baseName": {
|
|
||||||
"contractScope": null,
|
|
||||||
"id": 1670,
|
|
||||||
"name": "SelfAuthorized",
|
|
||||||
"nodeType": "UserDefinedTypeName",
|
|
||||||
"referencedDeclaration": 1735,
|
|
||||||
"src": "226:14:9",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_contract$_SelfAuthorized_$1735",
|
|
||||||
"typeString": "contract SelfAuthorized"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"id": 1671,
|
|
||||||
"nodeType": "InheritanceSpecifier",
|
|
||||||
"src": "226:14:9"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"contractDependencies": [
|
|
||||||
1735
|
|
||||||
],
|
|
||||||
"contractKind": "contract",
|
|
||||||
"documentation": "@title MasterCopy - Base for master copy contracts (should always be first super contract)\n @author Richard Meissner - <richard@gnosis.pm>",
|
|
||||||
"fullyImplemented": true,
|
|
||||||
"id": 1693,
|
|
||||||
"linearizedBaseContracts": [
|
|
||||||
1693,
|
|
||||||
1735
|
|
||||||
],
|
|
||||||
"name": "MasterCopy",
|
|
||||||
"nodeType": "ContractDefinition",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1673,
|
|
||||||
"name": "masterCopy",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1693,
|
|
||||||
"src": "465:18:9",
|
|
||||||
"stateVariable": true,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1672,
|
|
||||||
"name": "address",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "465:7:9",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"body": {
|
|
||||||
"id": 1691,
|
|
||||||
"nodeType": "Block",
|
|
||||||
"src": "711:163:9",
|
|
||||||
"statements": [
|
|
||||||
{
|
|
||||||
"expression": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"arguments": [
|
|
||||||
{
|
|
||||||
"argumentTypes": null,
|
|
||||||
"commonType": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
},
|
|
||||||
"id": 1683,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": false,
|
|
||||||
"lValueRequested": false,
|
|
||||||
"leftExpression": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 1681,
|
|
||||||
"name": "_masterCopy",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [],
|
|
||||||
"referencedDeclaration": 1675,
|
|
||||||
"src": "776:11:9",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nodeType": "BinaryOperation",
|
|
||||||
"operator": "!=",
|
|
||||||
"rightExpression": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"hexValue": "30",
|
|
||||||
"id": 1682,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": true,
|
|
||||||
"kind": "number",
|
|
||||||
"lValueRequested": false,
|
|
||||||
"nodeType": "Literal",
|
|
||||||
"src": "791:1:9",
|
|
||||||
"subdenomination": null,
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_rational_0_by_1",
|
|
||||||
"typeString": "int_const 0"
|
|
||||||
},
|
|
||||||
"value": "0"
|
|
||||||
},
|
|
||||||
"src": "776:16:9",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bool",
|
|
||||||
"typeString": "bool"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"argumentTypes": null,
|
|
||||||
"hexValue": "496e76616c6964206d617374657220636f707920616464726573732070726f7669646564",
|
|
||||||
"id": 1684,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": true,
|
|
||||||
"kind": "string",
|
|
||||||
"lValueRequested": false,
|
|
||||||
"nodeType": "Literal",
|
|
||||||
"src": "794:38:9",
|
|
||||||
"subdenomination": null,
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_stringliteral_108d84599042957b954e89d43b52f80be89321dfc114a37800028eba58dafc87",
|
|
||||||
"typeString": "literal_string \"Invalid master copy address provided\""
|
|
||||||
},
|
|
||||||
"value": "Invalid master copy address provided"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"expression": {
|
|
||||||
"argumentTypes": [
|
|
||||||
{
|
|
||||||
"typeIdentifier": "t_bool",
|
|
||||||
"typeString": "bool"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeIdentifier": "t_stringliteral_108d84599042957b954e89d43b52f80be89321dfc114a37800028eba58dafc87",
|
|
||||||
"typeString": "literal_string \"Invalid master copy address provided\""
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"id": 1680,
|
|
||||||
"name": "require",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [
|
|
||||||
4018,
|
|
||||||
4019
|
|
||||||
],
|
|
||||||
"referencedDeclaration": 4019,
|
|
||||||
"src": "768:7:9",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
|
|
||||||
"typeString": "function (bool,string memory) pure"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"id": 1685,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": false,
|
|
||||||
"kind": "functionCall",
|
|
||||||
"lValueRequested": false,
|
|
||||||
"names": [],
|
|
||||||
"nodeType": "FunctionCall",
|
|
||||||
"src": "768:65:9",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_tuple$__$",
|
|
||||||
"typeString": "tuple()"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"id": 1686,
|
|
||||||
"nodeType": "ExpressionStatement",
|
|
||||||
"src": "768:65:9"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"expression": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 1689,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": false,
|
|
||||||
"lValueRequested": false,
|
|
||||||
"leftHandSide": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 1687,
|
|
||||||
"name": "masterCopy",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [],
|
|
||||||
"referencedDeclaration": 1673,
|
|
||||||
"src": "843:10:9",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nodeType": "Assignment",
|
|
||||||
"operator": "=",
|
|
||||||
"rightHandSide": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 1688,
|
|
||||||
"name": "_masterCopy",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [],
|
|
||||||
"referencedDeclaration": 1675,
|
|
||||||
"src": "856:11:9",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"src": "843:24:9",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"id": 1690,
|
|
||||||
"nodeType": "ExpressionStatement",
|
|
||||||
"src": "843:24:9"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"documentation": "@dev Allows to upgrade the contract. This can only be done via a Safe transaction.\n @param _masterCopy New contract address.",
|
|
||||||
"id": 1692,
|
|
||||||
"implemented": true,
|
|
||||||
"isConstructor": false,
|
|
||||||
"isDeclaredConst": false,
|
|
||||||
"modifiers": [
|
|
||||||
{
|
|
||||||
"arguments": null,
|
|
||||||
"id": 1678,
|
|
||||||
"modifierName": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 1677,
|
|
||||||
"name": "authorized",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [],
|
|
||||||
"referencedDeclaration": 1734,
|
|
||||||
"src": "696:10:9",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_modifier$__$",
|
|
||||||
"typeString": "modifier ()"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nodeType": "ModifierInvocation",
|
|
||||||
"src": "696:10:9"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "changeMasterCopy",
|
|
||||||
"nodeType": "FunctionDefinition",
|
|
||||||
"parameters": {
|
|
||||||
"id": 1676,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1675,
|
|
||||||
"name": "_masterCopy",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1692,
|
|
||||||
"src": "652:19:9",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1674,
|
|
||||||
"name": "address",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "652:7:9",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "651:21:9"
|
|
||||||
},
|
|
||||||
"payable": false,
|
|
||||||
"returnParameters": {
|
|
||||||
"id": 1679,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [],
|
|
||||||
"src": "711:0:9"
|
|
||||||
},
|
|
||||||
"scope": 1693,
|
|
||||||
"src": "626:248:9",
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"superFunction": null,
|
|
||||||
"visibility": "public"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"scope": 1694,
|
|
||||||
"src": "203:673:9"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "0:877:9"
|
|
||||||
},
|
|
||||||
"compiler": {
|
|
||||||
"name": "solc",
|
|
||||||
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
|
|
||||||
},
|
|
||||||
"networks": {},
|
|
||||||
"schemaVersion": "2.0.0",
|
|
||||||
"updatedAt": "2018-10-05T14:25:58.937Z"
|
|
||||||
}
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -1,373 +0,0 @@
|
||||||
{
|
|
||||||
"contractName": "MultiSend",
|
|
||||||
"abi": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"name": "transactions",
|
|
||||||
"type": "bytes"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "multiSend",
|
|
||||||
"outputs": [],
|
|
||||||
"payable": false,
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"type": "function"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"bytecode": "0x608060405234801561001057600080fd5b50610169806100206000396000f300608060405260043610610041576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680638d80ff0a14610046575b600080fd5b34801561005257600080fd5b506100ad600480360381019080803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091929192905050506100af565b005b805160205b81811015610138578083015160208201840151604083018501516080840186015160a085018701600085600081146100f357600181146101035761010e565b6000808585888a5af1915061010e565b6000808585895af491505b50600081141561011d57600080fd5b602080601f8501040260a001870196505050505050506100b4565b5050505600a165627a7a72305820c1abf4988401674d6d6a5ceca56de123817c61305360ceffe26ebab59a828b7d0029",
|
|
||||||
"deployedBytecode": "0x608060405260043610610041576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680638d80ff0a14610046575b600080fd5b34801561005257600080fd5b506100ad600480360381019080803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091929192905050506100af565b005b805160205b81811015610138578083015160208201840151604083018501516080840186015160a085018701600085600081146100f357600181146101035761010e565b6000808585888a5af1915061010e565b6000808585895af491505b50600081141561011d57600080fd5b602080601f8501040260a001870196505050505050506100b4565b5050505600a165627a7a72305820c1abf4988401674d6d6a5ceca56de123817c61305360ceffe26ebab59a828b7d0029",
|
|
||||||
"sourceMap": "253:1424:15:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;253:1424:15;;;;;;;",
|
|
||||||
"deployedSourceMap": "253:1424:15:-;;;;;;;;;;;;;;;;;;;;;;;;695:980;;8:9:-1;5:2;;;30:1;27;20:12;5:2;695:980:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;870:12;864:19;905:4;922:737;936:6;933:1;930:13;922:737;;;1007:1;993:12;989:20;983:27;1068:4;1065:1;1061:12;1047;1043:31;1037:38;1136:4;1133:1;1129:12;1115;1111:31;1105:38;1209:4;1206:1;1202:12;1188;1184:31;1178:38;1270:4;1267:1;1263:12;1249;1245:31;1308:1;1333:9;1365:1;1360:66;;;;1448:1;1443:67;;;;1326:184;;1360:66;1422:1;1419;1407:10;1401:4;1394:5;1390:2;1385:3;1380:44;1369:55;;1360:66;;1443:67;1506:1;1503;1491:10;1485:4;1481:2;1476:3;1463:45;1452:56;;1326:184;;1542:1;1533:7;1530:14;1527:2;;;1557:1;1554;1547:12;1527:2;1638:4;1631;1624;1612:10;1608:21;1604:32;1600:43;1594:4;1590:54;1587:1;1583:62;1578:67;;948:711;;;;;;922:737;;;836:833;;;:::o",
|
|
||||||
"source": "pragma solidity 0.4.24;\n\n\n/// @title Multi Send - Allows to batch multiple transactions into one.\n/// @author Nick Dodson - <nick.dodson@consensys.net>\n/// @author Gonçalo Sá - <goncalo.sa@consensys.net>\n/// @author Stefan George - <stefan@gnosis.pm>\ncontract MultiSend {\n\n /// @dev Sends multiple transactions and reverts all if one fails.\n /// @param transactions Encoded transactions. Each transaction is encoded as a \n /// tuple(operation,address,uint256,bytes), where operation \n /// can be 0 for a call or 1 for a delegatecall. The bytes \n /// of all encoded transactions are concatenated to form the input.\n function multiSend(bytes transactions)\n public\n {\n // solium-disable-next-line security/no-inline-assembly\n assembly {\n let length := mload(transactions)\n let i := 0x20\n for { } lt(i, length) { } {\n let operation := mload(add(transactions, i))\n let to := mload(add(transactions, add(i, 0x20)))\n let value := mload(add(transactions, add(i, 0x40)))\n let dataLength := mload(add(transactions, add(i, 0x80)))\n let data := add(transactions, add(i, 0xa0))\n let success := 0\n switch operation \n case 0 { success := call(gas, to, value, data, dataLength, 0, 0) }\n case 1 { success := delegatecall(gas, to, data, dataLength, 0, 0) }\n if eq(success, 0) { revert(0, 0) }\n i := add(i, add(0xa0, mul(div(add(dataLength, 0x1f), 0x20), 0x20)))\n }\n }\n }\n}\n",
|
|
||||||
"sourcePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/libraries/MultiSend.sol",
|
|
||||||
"ast": {
|
|
||||||
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/libraries/MultiSend.sol",
|
|
||||||
"exportedSymbols": {
|
|
||||||
"MultiSend": [
|
|
||||||
1858
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": 1859,
|
|
||||||
"nodeType": "SourceUnit",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"id": 1850,
|
|
||||||
"literals": [
|
|
||||||
"solidity",
|
|
||||||
"0.4",
|
|
||||||
".24"
|
|
||||||
],
|
|
||||||
"nodeType": "PragmaDirective",
|
|
||||||
"src": "0:23:15"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"baseContracts": [],
|
|
||||||
"contractDependencies": [],
|
|
||||||
"contractKind": "contract",
|
|
||||||
"documentation": "@title Multi Send - Allows to batch multiple transactions into one.\n @author Nick Dodson - <nick.dodson@consensys.net>\n @author Gonçalo Sá - <goncalo.sa@consensys.net>\n @author Stefan George - <stefan@gnosis.pm>",
|
|
||||||
"fullyImplemented": true,
|
|
||||||
"id": 1858,
|
|
||||||
"linearizedBaseContracts": [
|
|
||||||
1858
|
|
||||||
],
|
|
||||||
"name": "MultiSend",
|
|
||||||
"nodeType": "ContractDefinition",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"body": {
|
|
||||||
"id": 1856,
|
|
||||||
"nodeType": "Block",
|
|
||||||
"src": "753:922:15",
|
|
||||||
"statements": [
|
|
||||||
{
|
|
||||||
"externalReferences": [
|
|
||||||
{
|
|
||||||
"transactions": {
|
|
||||||
"declaration": 1852,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "870:12:15",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"transactions": {
|
|
||||||
"declaration": 1852,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "993:12:15",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"transactions": {
|
|
||||||
"declaration": 1852,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "1047:12:15",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"transactions": {
|
|
||||||
"declaration": 1852,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "1188:12:15",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"transactions": {
|
|
||||||
"declaration": 1852,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "1115:12:15",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"transactions": {
|
|
||||||
"declaration": 1852,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "1249:12:15",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"id": 1855,
|
|
||||||
"nodeType": "InlineAssembly",
|
|
||||||
"operations": "{\n let length := mload(transactions)\n let i := 0x20\n for {\n }\n lt(i, length)\n {\n }\n {\n let operation := mload(add(transactions, i))\n let to := mload(add(transactions, add(i, 0x20)))\n let value := mload(add(transactions, add(i, 0x40)))\n let dataLength := mload(add(transactions, add(i, 0x80)))\n let data := add(transactions, add(i, 0xa0))\n let success := 0\n switch operation\n case 0 {\n success := call(gas(), to, value, data, dataLength, 0, 0)\n }\n case 1 {\n success := delegatecall(gas(), to, data, dataLength, 0, 0)\n }\n if eq(success, 0)\n {\n revert(0, 0)\n }\n i := add(i, add(0xa0, mul(div(add(dataLength, 0x1f), 0x20), 0x20)))\n }\n}",
|
|
||||||
"src": "827:848:15"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"documentation": "@dev Sends multiple transactions and reverts all if one fails.\n @param transactions Encoded transactions. Each transaction is encoded as a \n tuple(operation,address,uint256,bytes), where operation \n can be 0 for a call or 1 for a delegatecall. The bytes \n of all encoded transactions are concatenated to form the input.",
|
|
||||||
"id": 1857,
|
|
||||||
"implemented": true,
|
|
||||||
"isConstructor": false,
|
|
||||||
"isDeclaredConst": false,
|
|
||||||
"modifiers": [],
|
|
||||||
"name": "multiSend",
|
|
||||||
"nodeType": "FunctionDefinition",
|
|
||||||
"parameters": {
|
|
||||||
"id": 1853,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1852,
|
|
||||||
"name": "transactions",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1857,
|
|
||||||
"src": "714:18:15",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bytes_memory_ptr",
|
|
||||||
"typeString": "bytes"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1851,
|
|
||||||
"name": "bytes",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "714:5:15",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bytes_storage_ptr",
|
|
||||||
"typeString": "bytes"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "713:20:15"
|
|
||||||
},
|
|
||||||
"payable": false,
|
|
||||||
"returnParameters": {
|
|
||||||
"id": 1854,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [],
|
|
||||||
"src": "753:0:15"
|
|
||||||
},
|
|
||||||
"scope": 1858,
|
|
||||||
"src": "695:980:15",
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"superFunction": null,
|
|
||||||
"visibility": "public"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"scope": 1859,
|
|
||||||
"src": "253:1424:15"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "0:1678:15"
|
|
||||||
},
|
|
||||||
"legacyAST": {
|
|
||||||
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/libraries/MultiSend.sol",
|
|
||||||
"exportedSymbols": {
|
|
||||||
"MultiSend": [
|
|
||||||
1858
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": 1859,
|
|
||||||
"nodeType": "SourceUnit",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"id": 1850,
|
|
||||||
"literals": [
|
|
||||||
"solidity",
|
|
||||||
"0.4",
|
|
||||||
".24"
|
|
||||||
],
|
|
||||||
"nodeType": "PragmaDirective",
|
|
||||||
"src": "0:23:15"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"baseContracts": [],
|
|
||||||
"contractDependencies": [],
|
|
||||||
"contractKind": "contract",
|
|
||||||
"documentation": "@title Multi Send - Allows to batch multiple transactions into one.\n @author Nick Dodson - <nick.dodson@consensys.net>\n @author Gonçalo Sá - <goncalo.sa@consensys.net>\n @author Stefan George - <stefan@gnosis.pm>",
|
|
||||||
"fullyImplemented": true,
|
|
||||||
"id": 1858,
|
|
||||||
"linearizedBaseContracts": [
|
|
||||||
1858
|
|
||||||
],
|
|
||||||
"name": "MultiSend",
|
|
||||||
"nodeType": "ContractDefinition",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"body": {
|
|
||||||
"id": 1856,
|
|
||||||
"nodeType": "Block",
|
|
||||||
"src": "753:922:15",
|
|
||||||
"statements": [
|
|
||||||
{
|
|
||||||
"externalReferences": [
|
|
||||||
{
|
|
||||||
"transactions": {
|
|
||||||
"declaration": 1852,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "870:12:15",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"transactions": {
|
|
||||||
"declaration": 1852,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "993:12:15",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"transactions": {
|
|
||||||
"declaration": 1852,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "1047:12:15",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"transactions": {
|
|
||||||
"declaration": 1852,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "1188:12:15",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"transactions": {
|
|
||||||
"declaration": 1852,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "1115:12:15",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"transactions": {
|
|
||||||
"declaration": 1852,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "1249:12:15",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"id": 1855,
|
|
||||||
"nodeType": "InlineAssembly",
|
|
||||||
"operations": "{\n let length := mload(transactions)\n let i := 0x20\n for {\n }\n lt(i, length)\n {\n }\n {\n let operation := mload(add(transactions, i))\n let to := mload(add(transactions, add(i, 0x20)))\n let value := mload(add(transactions, add(i, 0x40)))\n let dataLength := mload(add(transactions, add(i, 0x80)))\n let data := add(transactions, add(i, 0xa0))\n let success := 0\n switch operation\n case 0 {\n success := call(gas(), to, value, data, dataLength, 0, 0)\n }\n case 1 {\n success := delegatecall(gas(), to, data, dataLength, 0, 0)\n }\n if eq(success, 0)\n {\n revert(0, 0)\n }\n i := add(i, add(0xa0, mul(div(add(dataLength, 0x1f), 0x20), 0x20)))\n }\n}",
|
|
||||||
"src": "827:848:15"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"documentation": "@dev Sends multiple transactions and reverts all if one fails.\n @param transactions Encoded transactions. Each transaction is encoded as a \n tuple(operation,address,uint256,bytes), where operation \n can be 0 for a call or 1 for a delegatecall. The bytes \n of all encoded transactions are concatenated to form the input.",
|
|
||||||
"id": 1857,
|
|
||||||
"implemented": true,
|
|
||||||
"isConstructor": false,
|
|
||||||
"isDeclaredConst": false,
|
|
||||||
"modifiers": [],
|
|
||||||
"name": "multiSend",
|
|
||||||
"nodeType": "FunctionDefinition",
|
|
||||||
"parameters": {
|
|
||||||
"id": 1853,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1852,
|
|
||||||
"name": "transactions",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1857,
|
|
||||||
"src": "714:18:15",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bytes_memory_ptr",
|
|
||||||
"typeString": "bytes"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1851,
|
|
||||||
"name": "bytes",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "714:5:15",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bytes_storage_ptr",
|
|
||||||
"typeString": "bytes"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "713:20:15"
|
|
||||||
},
|
|
||||||
"payable": false,
|
|
||||||
"returnParameters": {
|
|
||||||
"id": 1854,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [],
|
|
||||||
"src": "753:0:15"
|
|
||||||
},
|
|
||||||
"scope": 1858,
|
|
||||||
"src": "695:980:15",
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"superFunction": null,
|
|
||||||
"visibility": "public"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"scope": 1859,
|
|
||||||
"src": "253:1424:15"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "0:1678:15"
|
|
||||||
},
|
|
||||||
"compiler": {
|
|
||||||
"name": "solc",
|
|
||||||
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
|
|
||||||
},
|
|
||||||
"networks": {
|
|
||||||
"4": {
|
|
||||||
"events": {},
|
|
||||||
"links": {},
|
|
||||||
"address": "0x6f6f431429fb15bb2ca4bb55bf353c15f044df9e",
|
|
||||||
"transactionHash": "0xeaf5db265940b81d6fe881ebf0b05aa9dde905851a966a9cda08dcabd7dc10bd"
|
|
||||||
},
|
|
||||||
"1538739975997": {
|
|
||||||
"events": {},
|
|
||||||
"links": {},
|
|
||||||
"address": "0x26b4afb60d6c903165150c6f0aa14f8016be4aec",
|
|
||||||
"transactionHash": "0x4a85e63a3968cc7f7aaa5303f6ed331cf782929fc758645b44145286ad4076a6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"schemaVersion": "2.0.0",
|
|
||||||
"updatedAt": "2018-10-05T14:43:41.420Z"
|
|
||||||
}
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,783 +0,0 @@
|
||||||
{
|
|
||||||
"contractName": "SecuredTokenTransfer",
|
|
||||||
"abi": [],
|
|
||||||
"bytecode": "0x6080604052348015600f57600080fd5b50603580601d6000396000f3006080604052600080fd00a165627a7a72305820ba27992b3b19c83b563b2634ef4e6e4b21311676e3d2a13b83cfd34834dfb8510029",
|
|
||||||
"deployedBytecode": "0x6080604052600080fd00a165627a7a72305820ba27992b3b19c83b563b2634ef4e6e4b21311676e3d2a13b83cfd34834dfb8510029",
|
|
||||||
"sourceMap": "133:1051:10:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;133:1051:10;;;;;;;",
|
|
||||||
"deployedSourceMap": "133:1051:10:-;;;;;",
|
|
||||||
"source": "pragma solidity 0.4.24;\n\n\n/// @title SecuredTokenTransfer - Secure token transfer\n/// @author Richard Meissner - <richard@gnosis.pm>\ncontract SecuredTokenTransfer {\n\n /// @dev Transfers a token and returns if it was a success\n /// @param token Token that should be transferred\n /// @param receiver Receiver to whom the token should be transferred\n /// @param amount The amount of tokens that should be transferred\n function transferToken (\n address token, \n address receiver,\n uint256 amount\n )\n internal\n returns (bool transferred)\n {\n bytes memory data = abi.encodeWithSignature(\"transfer(address,uint256)\", receiver, amount);\n // solium-disable-next-line security/no-inline-assembly\n assembly {\n let success := call(sub(gas, 10000), token, 0, add(data, 0x20), mload(data), 0, 0)\n let ptr := mload(0x40)\n returndatacopy(ptr, 0, returndatasize)\n switch returndatasize \n case 0 { transferred := success }\n case 0x20 { transferred := iszero(or(iszero(success), iszero(mload(ptr)))) }\n default { transferred := 0 }\n }\n }\n}\n",
|
|
||||||
"sourcePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/common/SecuredTokenTransfer.sol",
|
|
||||||
"ast": {
|
|
||||||
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/common/SecuredTokenTransfer.sol",
|
|
||||||
"exportedSymbols": {
|
|
||||||
"SecuredTokenTransfer": [
|
|
||||||
1718
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": 1719,
|
|
||||||
"nodeType": "SourceUnit",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"id": 1695,
|
|
||||||
"literals": [
|
|
||||||
"solidity",
|
|
||||||
"0.4",
|
|
||||||
".24"
|
|
||||||
],
|
|
||||||
"nodeType": "PragmaDirective",
|
|
||||||
"src": "0:23:10"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"baseContracts": [],
|
|
||||||
"contractDependencies": [],
|
|
||||||
"contractKind": "contract",
|
|
||||||
"documentation": "@title SecuredTokenTransfer - Secure token transfer\n @author Richard Meissner - <richard@gnosis.pm>",
|
|
||||||
"fullyImplemented": true,
|
|
||||||
"id": 1718,
|
|
||||||
"linearizedBaseContracts": [
|
|
||||||
1718
|
|
||||||
],
|
|
||||||
"name": "SecuredTokenTransfer",
|
|
||||||
"nodeType": "ContractDefinition",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"body": {
|
|
||||||
"id": 1716,
|
|
||||||
"nodeType": "Block",
|
|
||||||
"src": "590:592:10",
|
|
||||||
"statements": [
|
|
||||||
{
|
|
||||||
"assignments": [
|
|
||||||
1707
|
|
||||||
],
|
|
||||||
"declarations": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1707,
|
|
||||||
"name": "data",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1717,
|
|
||||||
"src": "600:17:10",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "memory",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bytes_memory_ptr",
|
|
||||||
"typeString": "bytes"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1706,
|
|
||||||
"name": "bytes",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "600:5:10",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bytes_storage_ptr",
|
|
||||||
"typeString": "bytes"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"id": 1714,
|
|
||||||
"initialValue": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"arguments": [
|
|
||||||
{
|
|
||||||
"argumentTypes": null,
|
|
||||||
"hexValue": "7472616e7366657228616464726573732c75696e7432353629",
|
|
||||||
"id": 1710,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": true,
|
|
||||||
"kind": "string",
|
|
||||||
"lValueRequested": false,
|
|
||||||
"nodeType": "Literal",
|
|
||||||
"src": "644:27:10",
|
|
||||||
"subdenomination": null,
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_stringliteral_a9059cbb2ab09eb219583f4a59a5d0623ade346d962bcd4e46b11da047c9049b",
|
|
||||||
"typeString": "literal_string \"transfer(address,uint256)\""
|
|
||||||
},
|
|
||||||
"value": "transfer(address,uint256)"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 1711,
|
|
||||||
"name": "receiver",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [],
|
|
||||||
"referencedDeclaration": 1699,
|
|
||||||
"src": "673:8:10",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 1712,
|
|
||||||
"name": "amount",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [],
|
|
||||||
"referencedDeclaration": 1701,
|
|
||||||
"src": "683:6:10",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_uint256",
|
|
||||||
"typeString": "uint256"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"expression": {
|
|
||||||
"argumentTypes": [
|
|
||||||
{
|
|
||||||
"typeIdentifier": "t_stringliteral_a9059cbb2ab09eb219583f4a59a5d0623ade346d962bcd4e46b11da047c9049b",
|
|
||||||
"typeString": "literal_string \"transfer(address,uint256)\""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeIdentifier": "t_uint256",
|
|
||||||
"typeString": "uint256"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"expression": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 1708,
|
|
||||||
"name": "abi",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [],
|
|
||||||
"referencedDeclaration": 4002,
|
|
||||||
"src": "620:3:10",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_magic_abi",
|
|
||||||
"typeString": "abi"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"id": 1709,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": true,
|
|
||||||
"lValueRequested": false,
|
|
||||||
"memberName": "encodeWithSignature",
|
|
||||||
"nodeType": "MemberAccess",
|
|
||||||
"referencedDeclaration": null,
|
|
||||||
"src": "620:23:10",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$",
|
|
||||||
"typeString": "function (string memory) pure returns (bytes memory)"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"id": 1713,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": false,
|
|
||||||
"kind": "functionCall",
|
|
||||||
"lValueRequested": false,
|
|
||||||
"names": [],
|
|
||||||
"nodeType": "FunctionCall",
|
|
||||||
"src": "620:70:10",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bytes_memory_ptr",
|
|
||||||
"typeString": "bytes memory"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nodeType": "VariableDeclarationStatement",
|
|
||||||
"src": "600:90:10"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"externalReferences": [
|
|
||||||
{
|
|
||||||
"transferred": {
|
|
||||||
"declaration": 1704,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "1061:11:10",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"data": {
|
|
||||||
"declaration": 1707,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "857:4:10",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"token": {
|
|
||||||
"declaration": 1697,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "824:5:10",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"data": {
|
|
||||||
"declaration": 1707,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "838:4:10",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"transferred": {
|
|
||||||
"declaration": 1704,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "1012:11:10",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"transferred": {
|
|
||||||
"declaration": 1704,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "1148:11:10",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"id": 1715,
|
|
||||||
"nodeType": "InlineAssembly",
|
|
||||||
"operations": "{\n let success := call(sub(gas(), 10000), token, 0, add(data, 0x20), mload(data), 0, 0)\n let ptr := mload(0x40)\n returndatacopy(ptr, 0, returndatasize())\n switch returndatasize()\n case 0 {\n transferred := success\n }\n case 0x20 {\n transferred := iszero(or(iszero(success), iszero(mload(ptr))))\n }\n default {\n transferred := 0\n }\n}",
|
|
||||||
"src": "764:418:10"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"documentation": "@dev Transfers a token and returns if it was a success\n @param token Token that should be transferred\n @param receiver Receiver to whom the token should be transferred\n @param amount The amount of tokens that should be transferred",
|
|
||||||
"id": 1717,
|
|
||||||
"implemented": true,
|
|
||||||
"isConstructor": false,
|
|
||||||
"isDeclaredConst": false,
|
|
||||||
"modifiers": [],
|
|
||||||
"name": "transferToken",
|
|
||||||
"nodeType": "FunctionDefinition",
|
|
||||||
"parameters": {
|
|
||||||
"id": 1702,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1697,
|
|
||||||
"name": "token",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1717,
|
|
||||||
"src": "463:13:10",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1696,
|
|
||||||
"name": "address",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "463:7:10",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1699,
|
|
||||||
"name": "receiver",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1717,
|
|
||||||
"src": "487:16:10",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1698,
|
|
||||||
"name": "address",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "487:7:10",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1701,
|
|
||||||
"name": "amount",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1717,
|
|
||||||
"src": "513:14:10",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_uint256",
|
|
||||||
"typeString": "uint256"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1700,
|
|
||||||
"name": "uint256",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "513:7:10",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_uint256",
|
|
||||||
"typeString": "uint256"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "453:80:10"
|
|
||||||
},
|
|
||||||
"payable": false,
|
|
||||||
"returnParameters": {
|
|
||||||
"id": 1705,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1704,
|
|
||||||
"name": "transferred",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1717,
|
|
||||||
"src": "568:16:10",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bool",
|
|
||||||
"typeString": "bool"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1703,
|
|
||||||
"name": "bool",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "568:4:10",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bool",
|
|
||||||
"typeString": "bool"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "567:18:10"
|
|
||||||
},
|
|
||||||
"scope": 1718,
|
|
||||||
"src": "430:752:10",
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"superFunction": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"scope": 1719,
|
|
||||||
"src": "133:1051:10"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "0:1185:10"
|
|
||||||
},
|
|
||||||
"legacyAST": {
|
|
||||||
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/common/SecuredTokenTransfer.sol",
|
|
||||||
"exportedSymbols": {
|
|
||||||
"SecuredTokenTransfer": [
|
|
||||||
1718
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": 1719,
|
|
||||||
"nodeType": "SourceUnit",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"id": 1695,
|
|
||||||
"literals": [
|
|
||||||
"solidity",
|
|
||||||
"0.4",
|
|
||||||
".24"
|
|
||||||
],
|
|
||||||
"nodeType": "PragmaDirective",
|
|
||||||
"src": "0:23:10"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"baseContracts": [],
|
|
||||||
"contractDependencies": [],
|
|
||||||
"contractKind": "contract",
|
|
||||||
"documentation": "@title SecuredTokenTransfer - Secure token transfer\n @author Richard Meissner - <richard@gnosis.pm>",
|
|
||||||
"fullyImplemented": true,
|
|
||||||
"id": 1718,
|
|
||||||
"linearizedBaseContracts": [
|
|
||||||
1718
|
|
||||||
],
|
|
||||||
"name": "SecuredTokenTransfer",
|
|
||||||
"nodeType": "ContractDefinition",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"body": {
|
|
||||||
"id": 1716,
|
|
||||||
"nodeType": "Block",
|
|
||||||
"src": "590:592:10",
|
|
||||||
"statements": [
|
|
||||||
{
|
|
||||||
"assignments": [
|
|
||||||
1707
|
|
||||||
],
|
|
||||||
"declarations": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1707,
|
|
||||||
"name": "data",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1717,
|
|
||||||
"src": "600:17:10",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "memory",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bytes_memory_ptr",
|
|
||||||
"typeString": "bytes"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1706,
|
|
||||||
"name": "bytes",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "600:5:10",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bytes_storage_ptr",
|
|
||||||
"typeString": "bytes"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"id": 1714,
|
|
||||||
"initialValue": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"arguments": [
|
|
||||||
{
|
|
||||||
"argumentTypes": null,
|
|
||||||
"hexValue": "7472616e7366657228616464726573732c75696e7432353629",
|
|
||||||
"id": 1710,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": true,
|
|
||||||
"kind": "string",
|
|
||||||
"lValueRequested": false,
|
|
||||||
"nodeType": "Literal",
|
|
||||||
"src": "644:27:10",
|
|
||||||
"subdenomination": null,
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_stringliteral_a9059cbb2ab09eb219583f4a59a5d0623ade346d962bcd4e46b11da047c9049b",
|
|
||||||
"typeString": "literal_string \"transfer(address,uint256)\""
|
|
||||||
},
|
|
||||||
"value": "transfer(address,uint256)"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 1711,
|
|
||||||
"name": "receiver",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [],
|
|
||||||
"referencedDeclaration": 1699,
|
|
||||||
"src": "673:8:10",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 1712,
|
|
||||||
"name": "amount",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [],
|
|
||||||
"referencedDeclaration": 1701,
|
|
||||||
"src": "683:6:10",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_uint256",
|
|
||||||
"typeString": "uint256"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"expression": {
|
|
||||||
"argumentTypes": [
|
|
||||||
{
|
|
||||||
"typeIdentifier": "t_stringliteral_a9059cbb2ab09eb219583f4a59a5d0623ade346d962bcd4e46b11da047c9049b",
|
|
||||||
"typeString": "literal_string \"transfer(address,uint256)\""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeIdentifier": "t_uint256",
|
|
||||||
"typeString": "uint256"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"expression": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 1708,
|
|
||||||
"name": "abi",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [],
|
|
||||||
"referencedDeclaration": 4002,
|
|
||||||
"src": "620:3:10",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_magic_abi",
|
|
||||||
"typeString": "abi"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"id": 1709,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": true,
|
|
||||||
"lValueRequested": false,
|
|
||||||
"memberName": "encodeWithSignature",
|
|
||||||
"nodeType": "MemberAccess",
|
|
||||||
"referencedDeclaration": null,
|
|
||||||
"src": "620:23:10",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$",
|
|
||||||
"typeString": "function (string memory) pure returns (bytes memory)"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"id": 1713,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": false,
|
|
||||||
"kind": "functionCall",
|
|
||||||
"lValueRequested": false,
|
|
||||||
"names": [],
|
|
||||||
"nodeType": "FunctionCall",
|
|
||||||
"src": "620:70:10",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bytes_memory_ptr",
|
|
||||||
"typeString": "bytes memory"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nodeType": "VariableDeclarationStatement",
|
|
||||||
"src": "600:90:10"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"externalReferences": [
|
|
||||||
{
|
|
||||||
"transferred": {
|
|
||||||
"declaration": 1704,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "1061:11:10",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"data": {
|
|
||||||
"declaration": 1707,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "857:4:10",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"token": {
|
|
||||||
"declaration": 1697,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "824:5:10",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"data": {
|
|
||||||
"declaration": 1707,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "838:4:10",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"transferred": {
|
|
||||||
"declaration": 1704,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "1012:11:10",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"transferred": {
|
|
||||||
"declaration": 1704,
|
|
||||||
"isOffset": false,
|
|
||||||
"isSlot": false,
|
|
||||||
"src": "1148:11:10",
|
|
||||||
"valueSize": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"id": 1715,
|
|
||||||
"nodeType": "InlineAssembly",
|
|
||||||
"operations": "{\n let success := call(sub(gas(), 10000), token, 0, add(data, 0x20), mload(data), 0, 0)\n let ptr := mload(0x40)\n returndatacopy(ptr, 0, returndatasize())\n switch returndatasize()\n case 0 {\n transferred := success\n }\n case 0x20 {\n transferred := iszero(or(iszero(success), iszero(mload(ptr))))\n }\n default {\n transferred := 0\n }\n}",
|
|
||||||
"src": "764:418:10"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"documentation": "@dev Transfers a token and returns if it was a success\n @param token Token that should be transferred\n @param receiver Receiver to whom the token should be transferred\n @param amount The amount of tokens that should be transferred",
|
|
||||||
"id": 1717,
|
|
||||||
"implemented": true,
|
|
||||||
"isConstructor": false,
|
|
||||||
"isDeclaredConst": false,
|
|
||||||
"modifiers": [],
|
|
||||||
"name": "transferToken",
|
|
||||||
"nodeType": "FunctionDefinition",
|
|
||||||
"parameters": {
|
|
||||||
"id": 1702,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1697,
|
|
||||||
"name": "token",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1717,
|
|
||||||
"src": "463:13:10",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1696,
|
|
||||||
"name": "address",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "463:7:10",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1699,
|
|
||||||
"name": "receiver",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1717,
|
|
||||||
"src": "487:16:10",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1698,
|
|
||||||
"name": "address",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "487:7:10",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1701,
|
|
||||||
"name": "amount",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1717,
|
|
||||||
"src": "513:14:10",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_uint256",
|
|
||||||
"typeString": "uint256"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1700,
|
|
||||||
"name": "uint256",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "513:7:10",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_uint256",
|
|
||||||
"typeString": "uint256"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "453:80:10"
|
|
||||||
},
|
|
||||||
"payable": false,
|
|
||||||
"returnParameters": {
|
|
||||||
"id": 1705,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1704,
|
|
||||||
"name": "transferred",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1717,
|
|
||||||
"src": "568:16:10",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bool",
|
|
||||||
"typeString": "bool"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1703,
|
|
||||||
"name": "bool",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "568:4:10",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bool",
|
|
||||||
"typeString": "bool"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "567:18:10"
|
|
||||||
},
|
|
||||||
"scope": 1718,
|
|
||||||
"src": "430:752:10",
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"superFunction": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"scope": 1719,
|
|
||||||
"src": "133:1051:10"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "0:1185:10"
|
|
||||||
},
|
|
||||||
"compiler": {
|
|
||||||
"name": "solc",
|
|
||||||
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
|
|
||||||
},
|
|
||||||
"networks": {},
|
|
||||||
"schemaVersion": "2.0.0",
|
|
||||||
"updatedAt": "2018-10-05T14:25:58.937Z"
|
|
||||||
}
|
|
|
@ -1,479 +0,0 @@
|
||||||
{
|
|
||||||
"contractName": "SelfAuthorized",
|
|
||||||
"abi": [],
|
|
||||||
"bytecode": "0x6080604052348015600f57600080fd5b50603580601d6000396000f3006080604052600080fd00a165627a7a7230582089be6830aa63b2ce4480c1565e02c1d4e7d28bdf01f3f1cfbca1af4fc2fd06f50029",
|
|
||||||
"deployedBytecode": "0x6080604052600080fd00a165627a7a7230582089be6830aa63b2ce4480c1565e02c1d4e7d28bdf01f3f1cfbca1af4fc2fd06f50029",
|
|
||||||
"sourceMap": "152:166:11:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;152:166:11;;;;;;;",
|
|
||||||
"deployedSourceMap": "152:166:11:-;;;;;",
|
|
||||||
"source": "pragma solidity 0.4.24;\n\n\n/// @title SelfAuthorized - authorizes current contract to perform actions\n/// @author Richard Meissner - <richard@gnosis.pm>\ncontract SelfAuthorized {\n modifier authorized() {\n require(msg.sender == address(this), \"Method can only be called from this contract\");\n _;\n }\n}\n",
|
|
||||||
"sourcePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/common/SelfAuthorized.sol",
|
|
||||||
"ast": {
|
|
||||||
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/common/SelfAuthorized.sol",
|
|
||||||
"exportedSymbols": {
|
|
||||||
"SelfAuthorized": [
|
|
||||||
1735
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": 1736,
|
|
||||||
"nodeType": "SourceUnit",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"id": 1720,
|
|
||||||
"literals": [
|
|
||||||
"solidity",
|
|
||||||
"0.4",
|
|
||||||
".24"
|
|
||||||
],
|
|
||||||
"nodeType": "PragmaDirective",
|
|
||||||
"src": "0:23:11"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"baseContracts": [],
|
|
||||||
"contractDependencies": [],
|
|
||||||
"contractKind": "contract",
|
|
||||||
"documentation": "@title SelfAuthorized - authorizes current contract to perform actions\n @author Richard Meissner - <richard@gnosis.pm>",
|
|
||||||
"fullyImplemented": true,
|
|
||||||
"id": 1735,
|
|
||||||
"linearizedBaseContracts": [
|
|
||||||
1735
|
|
||||||
],
|
|
||||||
"name": "SelfAuthorized",
|
|
||||||
"nodeType": "ContractDefinition",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"body": {
|
|
||||||
"id": 1733,
|
|
||||||
"nodeType": "Block",
|
|
||||||
"src": "204:112:11",
|
|
||||||
"statements": [
|
|
||||||
{
|
|
||||||
"expression": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"arguments": [
|
|
||||||
{
|
|
||||||
"argumentTypes": null,
|
|
||||||
"commonType": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
},
|
|
||||||
"id": 1728,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": false,
|
|
||||||
"lValueRequested": false,
|
|
||||||
"leftExpression": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"expression": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 1723,
|
|
||||||
"name": "msg",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [],
|
|
||||||
"referencedDeclaration": 4015,
|
|
||||||
"src": "222:3:11",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_magic_message",
|
|
||||||
"typeString": "msg"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"id": 1724,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": false,
|
|
||||||
"lValueRequested": false,
|
|
||||||
"memberName": "sender",
|
|
||||||
"nodeType": "MemberAccess",
|
|
||||||
"referencedDeclaration": null,
|
|
||||||
"src": "222:10:11",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nodeType": "BinaryOperation",
|
|
||||||
"operator": "==",
|
|
||||||
"rightExpression": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"arguments": [
|
|
||||||
{
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 1726,
|
|
||||||
"name": "this",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [],
|
|
||||||
"referencedDeclaration": 4028,
|
|
||||||
"src": "244:4:11",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_contract$_SelfAuthorized_$1735",
|
|
||||||
"typeString": "contract SelfAuthorized"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"expression": {
|
|
||||||
"argumentTypes": [
|
|
||||||
{
|
|
||||||
"typeIdentifier": "t_contract$_SelfAuthorized_$1735",
|
|
||||||
"typeString": "contract SelfAuthorized"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"id": 1725,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": true,
|
|
||||||
"lValueRequested": false,
|
|
||||||
"nodeType": "ElementaryTypeNameExpression",
|
|
||||||
"src": "236:7:11",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_type$_t_address_$",
|
|
||||||
"typeString": "type(address)"
|
|
||||||
},
|
|
||||||
"typeName": "address"
|
|
||||||
},
|
|
||||||
"id": 1727,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": false,
|
|
||||||
"kind": "typeConversion",
|
|
||||||
"lValueRequested": false,
|
|
||||||
"names": [],
|
|
||||||
"nodeType": "FunctionCall",
|
|
||||||
"src": "236:13:11",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"src": "222:27:11",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bool",
|
|
||||||
"typeString": "bool"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"argumentTypes": null,
|
|
||||||
"hexValue": "4d6574686f642063616e206f6e6c792062652063616c6c65642066726f6d207468697320636f6e7472616374",
|
|
||||||
"id": 1729,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": true,
|
|
||||||
"kind": "string",
|
|
||||||
"lValueRequested": false,
|
|
||||||
"nodeType": "Literal",
|
|
||||||
"src": "251:46:11",
|
|
||||||
"subdenomination": null,
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_stringliteral_c4780ef0a1d41d59bac8c510cf9ada421bccf2b90f75a8e4ba2e8c09e8d72733",
|
|
||||||
"typeString": "literal_string \"Method can only be called from this contract\""
|
|
||||||
},
|
|
||||||
"value": "Method can only be called from this contract"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"expression": {
|
|
||||||
"argumentTypes": [
|
|
||||||
{
|
|
||||||
"typeIdentifier": "t_bool",
|
|
||||||
"typeString": "bool"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeIdentifier": "t_stringliteral_c4780ef0a1d41d59bac8c510cf9ada421bccf2b90f75a8e4ba2e8c09e8d72733",
|
|
||||||
"typeString": "literal_string \"Method can only be called from this contract\""
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"id": 1722,
|
|
||||||
"name": "require",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [
|
|
||||||
4018,
|
|
||||||
4019
|
|
||||||
],
|
|
||||||
"referencedDeclaration": 4019,
|
|
||||||
"src": "214:7:11",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
|
|
||||||
"typeString": "function (bool,string memory) pure"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"id": 1730,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": false,
|
|
||||||
"kind": "functionCall",
|
|
||||||
"lValueRequested": false,
|
|
||||||
"names": [],
|
|
||||||
"nodeType": "FunctionCall",
|
|
||||||
"src": "214:84:11",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_tuple$__$",
|
|
||||||
"typeString": "tuple()"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"id": 1731,
|
|
||||||
"nodeType": "ExpressionStatement",
|
|
||||||
"src": "214:84:11"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": 1732,
|
|
||||||
"nodeType": "PlaceholderStatement",
|
|
||||||
"src": "308:1:11"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"documentation": null,
|
|
||||||
"id": 1734,
|
|
||||||
"name": "authorized",
|
|
||||||
"nodeType": "ModifierDefinition",
|
|
||||||
"parameters": {
|
|
||||||
"id": 1721,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [],
|
|
||||||
"src": "201:2:11"
|
|
||||||
},
|
|
||||||
"src": "182:134:11",
|
|
||||||
"visibility": "internal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"scope": 1736,
|
|
||||||
"src": "152:166:11"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "0:319:11"
|
|
||||||
},
|
|
||||||
"legacyAST": {
|
|
||||||
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/common/SelfAuthorized.sol",
|
|
||||||
"exportedSymbols": {
|
|
||||||
"SelfAuthorized": [
|
|
||||||
1735
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": 1736,
|
|
||||||
"nodeType": "SourceUnit",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"id": 1720,
|
|
||||||
"literals": [
|
|
||||||
"solidity",
|
|
||||||
"0.4",
|
|
||||||
".24"
|
|
||||||
],
|
|
||||||
"nodeType": "PragmaDirective",
|
|
||||||
"src": "0:23:11"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"baseContracts": [],
|
|
||||||
"contractDependencies": [],
|
|
||||||
"contractKind": "contract",
|
|
||||||
"documentation": "@title SelfAuthorized - authorizes current contract to perform actions\n @author Richard Meissner - <richard@gnosis.pm>",
|
|
||||||
"fullyImplemented": true,
|
|
||||||
"id": 1735,
|
|
||||||
"linearizedBaseContracts": [
|
|
||||||
1735
|
|
||||||
],
|
|
||||||
"name": "SelfAuthorized",
|
|
||||||
"nodeType": "ContractDefinition",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"body": {
|
|
||||||
"id": 1733,
|
|
||||||
"nodeType": "Block",
|
|
||||||
"src": "204:112:11",
|
|
||||||
"statements": [
|
|
||||||
{
|
|
||||||
"expression": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"arguments": [
|
|
||||||
{
|
|
||||||
"argumentTypes": null,
|
|
||||||
"commonType": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
},
|
|
||||||
"id": 1728,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": false,
|
|
||||||
"lValueRequested": false,
|
|
||||||
"leftExpression": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"expression": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 1723,
|
|
||||||
"name": "msg",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [],
|
|
||||||
"referencedDeclaration": 4015,
|
|
||||||
"src": "222:3:11",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_magic_message",
|
|
||||||
"typeString": "msg"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"id": 1724,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": false,
|
|
||||||
"lValueRequested": false,
|
|
||||||
"memberName": "sender",
|
|
||||||
"nodeType": "MemberAccess",
|
|
||||||
"referencedDeclaration": null,
|
|
||||||
"src": "222:10:11",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nodeType": "BinaryOperation",
|
|
||||||
"operator": "==",
|
|
||||||
"rightExpression": {
|
|
||||||
"argumentTypes": null,
|
|
||||||
"arguments": [
|
|
||||||
{
|
|
||||||
"argumentTypes": null,
|
|
||||||
"id": 1726,
|
|
||||||
"name": "this",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [],
|
|
||||||
"referencedDeclaration": 4028,
|
|
||||||
"src": "244:4:11",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_contract$_SelfAuthorized_$1735",
|
|
||||||
"typeString": "contract SelfAuthorized"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"expression": {
|
|
||||||
"argumentTypes": [
|
|
||||||
{
|
|
||||||
"typeIdentifier": "t_contract$_SelfAuthorized_$1735",
|
|
||||||
"typeString": "contract SelfAuthorized"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"id": 1725,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": true,
|
|
||||||
"lValueRequested": false,
|
|
||||||
"nodeType": "ElementaryTypeNameExpression",
|
|
||||||
"src": "236:7:11",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_type$_t_address_$",
|
|
||||||
"typeString": "type(address)"
|
|
||||||
},
|
|
||||||
"typeName": "address"
|
|
||||||
},
|
|
||||||
"id": 1727,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": false,
|
|
||||||
"kind": "typeConversion",
|
|
||||||
"lValueRequested": false,
|
|
||||||
"names": [],
|
|
||||||
"nodeType": "FunctionCall",
|
|
||||||
"src": "236:13:11",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"src": "222:27:11",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bool",
|
|
||||||
"typeString": "bool"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"argumentTypes": null,
|
|
||||||
"hexValue": "4d6574686f642063616e206f6e6c792062652063616c6c65642066726f6d207468697320636f6e7472616374",
|
|
||||||
"id": 1729,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": true,
|
|
||||||
"kind": "string",
|
|
||||||
"lValueRequested": false,
|
|
||||||
"nodeType": "Literal",
|
|
||||||
"src": "251:46:11",
|
|
||||||
"subdenomination": null,
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_stringliteral_c4780ef0a1d41d59bac8c510cf9ada421bccf2b90f75a8e4ba2e8c09e8d72733",
|
|
||||||
"typeString": "literal_string \"Method can only be called from this contract\""
|
|
||||||
},
|
|
||||||
"value": "Method can only be called from this contract"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"expression": {
|
|
||||||
"argumentTypes": [
|
|
||||||
{
|
|
||||||
"typeIdentifier": "t_bool",
|
|
||||||
"typeString": "bool"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"typeIdentifier": "t_stringliteral_c4780ef0a1d41d59bac8c510cf9ada421bccf2b90f75a8e4ba2e8c09e8d72733",
|
|
||||||
"typeString": "literal_string \"Method can only be called from this contract\""
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"id": 1722,
|
|
||||||
"name": "require",
|
|
||||||
"nodeType": "Identifier",
|
|
||||||
"overloadedDeclarations": [
|
|
||||||
4018,
|
|
||||||
4019
|
|
||||||
],
|
|
||||||
"referencedDeclaration": 4019,
|
|
||||||
"src": "214:7:11",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
|
|
||||||
"typeString": "function (bool,string memory) pure"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"id": 1730,
|
|
||||||
"isConstant": false,
|
|
||||||
"isLValue": false,
|
|
||||||
"isPure": false,
|
|
||||||
"kind": "functionCall",
|
|
||||||
"lValueRequested": false,
|
|
||||||
"names": [],
|
|
||||||
"nodeType": "FunctionCall",
|
|
||||||
"src": "214:84:11",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_tuple$__$",
|
|
||||||
"typeString": "tuple()"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"id": 1731,
|
|
||||||
"nodeType": "ExpressionStatement",
|
|
||||||
"src": "214:84:11"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": 1732,
|
|
||||||
"nodeType": "PlaceholderStatement",
|
|
||||||
"src": "308:1:11"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"documentation": null,
|
|
||||||
"id": 1734,
|
|
||||||
"name": "authorized",
|
|
||||||
"nodeType": "ModifierDefinition",
|
|
||||||
"parameters": {
|
|
||||||
"id": 1721,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [],
|
|
||||||
"src": "201:2:11"
|
|
||||||
},
|
|
||||||
"src": "182:134:11",
|
|
||||||
"visibility": "internal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"scope": 1736,
|
|
||||||
"src": "152:166:11"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "0:319:11"
|
|
||||||
},
|
|
||||||
"compiler": {
|
|
||||||
"name": "solc",
|
|
||||||
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
|
|
||||||
},
|
|
||||||
"networks": {},
|
|
||||||
"schemaVersion": "2.0.0",
|
|
||||||
"updatedAt": "2018-10-05T14:25:58.938Z"
|
|
||||||
}
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,363 +0,0 @@
|
||||||
{
|
|
||||||
"contractName": "Token",
|
|
||||||
"abi": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"name": "_to",
|
|
||||||
"type": "address"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "value",
|
|
||||||
"type": "uint256"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "transfer",
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"name": "",
|
|
||||||
"type": "bool"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"payable": false,
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"type": "function"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"bytecode": "0x",
|
|
||||||
"deployedBytecode": "0x",
|
|
||||||
"sourceMap": "",
|
|
||||||
"deployedSourceMap": "",
|
|
||||||
"source": "pragma solidity ^0.4.23;\nimport \"@gnosis.pm/mock-contract/contracts/MockContract.sol\";\ncontract Token {\n\tfunction transfer(address _to, uint value) public returns (bool);\n}\n",
|
|
||||||
"sourcePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/mocks/Token.sol",
|
|
||||||
"ast": {
|
|
||||||
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/mocks/Token.sol",
|
|
||||||
"exportedSymbols": {
|
|
||||||
"Token": [
|
|
||||||
1871
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": 1872,
|
|
||||||
"nodeType": "SourceUnit",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"id": 1860,
|
|
||||||
"literals": [
|
|
||||||
"solidity",
|
|
||||||
"^",
|
|
||||||
"0.4",
|
|
||||||
".23"
|
|
||||||
],
|
|
||||||
"nodeType": "PragmaDirective",
|
|
||||||
"src": "0:24:16"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"absolutePath": "@gnosis.pm/mock-contract/contracts/MockContract.sol",
|
|
||||||
"file": "@gnosis.pm/mock-contract/contracts/MockContract.sol",
|
|
||||||
"id": 1861,
|
|
||||||
"nodeType": "ImportDirective",
|
|
||||||
"scope": 1872,
|
|
||||||
"sourceUnit": 4001,
|
|
||||||
"src": "25:61:16",
|
|
||||||
"symbolAliases": [],
|
|
||||||
"unitAlias": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"baseContracts": [],
|
|
||||||
"contractDependencies": [],
|
|
||||||
"contractKind": "contract",
|
|
||||||
"documentation": null,
|
|
||||||
"fullyImplemented": false,
|
|
||||||
"id": 1871,
|
|
||||||
"linearizedBaseContracts": [
|
|
||||||
1871
|
|
||||||
],
|
|
||||||
"name": "Token",
|
|
||||||
"nodeType": "ContractDefinition",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"body": null,
|
|
||||||
"documentation": null,
|
|
||||||
"id": 1870,
|
|
||||||
"implemented": false,
|
|
||||||
"isConstructor": false,
|
|
||||||
"isDeclaredConst": false,
|
|
||||||
"modifiers": [],
|
|
||||||
"name": "transfer",
|
|
||||||
"nodeType": "FunctionDefinition",
|
|
||||||
"parameters": {
|
|
||||||
"id": 1866,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1863,
|
|
||||||
"name": "_to",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1870,
|
|
||||||
"src": "123:11:16",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1862,
|
|
||||||
"name": "address",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "123:7:16",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1865,
|
|
||||||
"name": "value",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1870,
|
|
||||||
"src": "136:10:16",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_uint256",
|
|
||||||
"typeString": "uint256"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1864,
|
|
||||||
"name": "uint",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "136:4:16",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_uint256",
|
|
||||||
"typeString": "uint256"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "122:25:16"
|
|
||||||
},
|
|
||||||
"payable": false,
|
|
||||||
"returnParameters": {
|
|
||||||
"id": 1869,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1868,
|
|
||||||
"name": "",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1870,
|
|
||||||
"src": "164:4:16",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bool",
|
|
||||||
"typeString": "bool"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1867,
|
|
||||||
"name": "bool",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "164:4:16",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bool",
|
|
||||||
"typeString": "bool"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "163:6:16"
|
|
||||||
},
|
|
||||||
"scope": 1871,
|
|
||||||
"src": "105:65:16",
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"superFunction": null,
|
|
||||||
"visibility": "public"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"scope": 1872,
|
|
||||||
"src": "87:85:16"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "0:173:16"
|
|
||||||
},
|
|
||||||
"legacyAST": {
|
|
||||||
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/mocks/Token.sol",
|
|
||||||
"exportedSymbols": {
|
|
||||||
"Token": [
|
|
||||||
1871
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": 1872,
|
|
||||||
"nodeType": "SourceUnit",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"id": 1860,
|
|
||||||
"literals": [
|
|
||||||
"solidity",
|
|
||||||
"^",
|
|
||||||
"0.4",
|
|
||||||
".23"
|
|
||||||
],
|
|
||||||
"nodeType": "PragmaDirective",
|
|
||||||
"src": "0:24:16"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"absolutePath": "@gnosis.pm/mock-contract/contracts/MockContract.sol",
|
|
||||||
"file": "@gnosis.pm/mock-contract/contracts/MockContract.sol",
|
|
||||||
"id": 1861,
|
|
||||||
"nodeType": "ImportDirective",
|
|
||||||
"scope": 1872,
|
|
||||||
"sourceUnit": 4001,
|
|
||||||
"src": "25:61:16",
|
|
||||||
"symbolAliases": [],
|
|
||||||
"unitAlias": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"baseContracts": [],
|
|
||||||
"contractDependencies": [],
|
|
||||||
"contractKind": "contract",
|
|
||||||
"documentation": null,
|
|
||||||
"fullyImplemented": false,
|
|
||||||
"id": 1871,
|
|
||||||
"linearizedBaseContracts": [
|
|
||||||
1871
|
|
||||||
],
|
|
||||||
"name": "Token",
|
|
||||||
"nodeType": "ContractDefinition",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"body": null,
|
|
||||||
"documentation": null,
|
|
||||||
"id": 1870,
|
|
||||||
"implemented": false,
|
|
||||||
"isConstructor": false,
|
|
||||||
"isDeclaredConst": false,
|
|
||||||
"modifiers": [],
|
|
||||||
"name": "transfer",
|
|
||||||
"nodeType": "FunctionDefinition",
|
|
||||||
"parameters": {
|
|
||||||
"id": 1866,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1863,
|
|
||||||
"name": "_to",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1870,
|
|
||||||
"src": "123:11:16",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1862,
|
|
||||||
"name": "address",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "123:7:16",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_address",
|
|
||||||
"typeString": "address"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1865,
|
|
||||||
"name": "value",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1870,
|
|
||||||
"src": "136:10:16",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_uint256",
|
|
||||||
"typeString": "uint256"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1864,
|
|
||||||
"name": "uint",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "136:4:16",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_uint256",
|
|
||||||
"typeString": "uint256"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "122:25:16"
|
|
||||||
},
|
|
||||||
"payable": false,
|
|
||||||
"returnParameters": {
|
|
||||||
"id": 1869,
|
|
||||||
"nodeType": "ParameterList",
|
|
||||||
"parameters": [
|
|
||||||
{
|
|
||||||
"constant": false,
|
|
||||||
"id": 1868,
|
|
||||||
"name": "",
|
|
||||||
"nodeType": "VariableDeclaration",
|
|
||||||
"scope": 1870,
|
|
||||||
"src": "164:4:16",
|
|
||||||
"stateVariable": false,
|
|
||||||
"storageLocation": "default",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bool",
|
|
||||||
"typeString": "bool"
|
|
||||||
},
|
|
||||||
"typeName": {
|
|
||||||
"id": 1867,
|
|
||||||
"name": "bool",
|
|
||||||
"nodeType": "ElementaryTypeName",
|
|
||||||
"src": "164:4:16",
|
|
||||||
"typeDescriptions": {
|
|
||||||
"typeIdentifier": "t_bool",
|
|
||||||
"typeString": "bool"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"visibility": "internal"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "163:6:16"
|
|
||||||
},
|
|
||||||
"scope": 1871,
|
|
||||||
"src": "105:65:16",
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"superFunction": null,
|
|
||||||
"visibility": "public"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"scope": 1872,
|
|
||||||
"src": "87:85:16"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"src": "0:173:16"
|
|
||||||
},
|
|
||||||
"compiler": {
|
|
||||||
"name": "solc",
|
|
||||||
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
|
|
||||||
},
|
|
||||||
"networks": {},
|
|
||||||
"schemaVersion": "2.0.0",
|
|
||||||
"updatedAt": "2018-10-05T14:25:58.939Z"
|
|
||||||
}
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -2,9 +2,10 @@
|
||||||
import contract from 'truffle-contract'
|
import contract from 'truffle-contract'
|
||||||
import { ensureOnce } from '~/utils/singleton'
|
import { ensureOnce } from '~/utils/singleton'
|
||||||
import { getWeb3 } from '~/logic/wallets/getWeb3'
|
import { getWeb3 } from '~/logic/wallets/getWeb3'
|
||||||
import GnosisSafeSol from '#/GnosisSafe.json'
|
import GnosisSafeSol from '@gnosis.pm/safe-contracts/build/contracts/GnosisSafe.json'
|
||||||
import ProxyFactorySol from '#/ProxyFactory.json'
|
import ProxyFactorySol from '@gnosis.pm/safe-contracts/build/contracts/ProxyFactory.json'
|
||||||
import { calculateGasOf, calculateGasPrice } from '~/logic/wallets/ethTransactions'
|
import { calculateGasOf, calculateGasPrice } from '~/logic/wallets/ethTransactions'
|
||||||
|
import { ZERO_ADDRESS } from '~/logic/wallets/ethAddresses'
|
||||||
|
|
||||||
let proxyFactoryMaster
|
let proxyFactoryMaster
|
||||||
let safeMaster
|
let safeMaster
|
||||||
|
@ -61,7 +62,7 @@ export const getSafeMasterContract = async () => {
|
||||||
|
|
||||||
export const deploySafeContract = async (safeAccounts: string[], numConfirmations: number, userAccount: string) => {
|
export const deploySafeContract = async (safeAccounts: string[], numConfirmations: number, userAccount: string) => {
|
||||||
const gnosisSafeData = await safeMaster.contract.methods
|
const gnosisSafeData = await safeMaster.contract.methods
|
||||||
.setup(safeAccounts, numConfirmations, '0x0000000000000000000000000000000000000000', '0x')
|
.setup(safeAccounts, numConfirmations, ZERO_ADDRESS, '0x', ZERO_ADDRESS, 0, ZERO_ADDRESS)
|
||||||
.encodeABI()
|
.encodeABI()
|
||||||
const proxyFactoryData = proxyFactoryMaster.contract.methods
|
const proxyFactoryData = proxyFactoryMaster.contract.methods
|
||||||
.createProxy(safeMaster.address, gnosisSafeData)
|
.createProxy(safeMaster.address, gnosisSafeData)
|
||||||
|
@ -74,7 +75,7 @@ export const deploySafeContract = async (safeAccounts: string[], numConfirmation
|
||||||
|
|
||||||
export const getGnosisSafeInstanceAt = async (safeAddress: string) => {
|
export const getGnosisSafeInstanceAt = async (safeAddress: string) => {
|
||||||
const web3 = getWeb3()
|
const web3 = getWeb3()
|
||||||
const GnosisSafe = await getGnosisSafeContract(web3)
|
const GnosisSafe = getGnosisSafeContract(web3)
|
||||||
const gnosisSafe = await GnosisSafe.at(safeAddress)
|
const gnosisSafe = await GnosisSafe.at(safeAddress)
|
||||||
|
|
||||||
return gnosisSafe
|
return gnosisSafe
|
||||||
|
|
|
@ -5,7 +5,6 @@ import { executeTransaction, approveTransaction } from '~/logic/safe/transaction
|
||||||
import { EMPTY_DATA } from '~/logic/wallets/ethTransactions'
|
import { EMPTY_DATA } from '~/logic/wallets/ethTransactions'
|
||||||
import { getWeb3 } from '~/logic/wallets/getWeb3'
|
import { getWeb3 } from '~/logic/wallets/getWeb3'
|
||||||
import { type Safe } from '~/routes/safe/store/models/safe'
|
import { type Safe } from '~/routes/safe/store/models/safe'
|
||||||
import { getGnosisSafeContract } from '~/logic/contracts/safeContracts'
|
|
||||||
import { storeSubject } from '~/utils/storage/transactions'
|
import { storeSubject } from '~/utils/storage/transactions'
|
||||||
|
|
||||||
export const TX_NAME_PARAM = 'txName'
|
export const TX_NAME_PARAM = 'txName'
|
||||||
|
@ -23,13 +22,6 @@ const hasOneOwner = (safe: Safe) => {
|
||||||
return owners.count() === 1
|
return owners.count() === 1
|
||||||
}
|
}
|
||||||
|
|
||||||
export const getSafeEthereumInstance = async (safeAddress: string) => {
|
|
||||||
const web3 = getWeb3()
|
|
||||||
const GnosisSafe = await getGnosisSafeContract(web3)
|
|
||||||
const safeInstance = await GnosisSafe.at(safeAddress)
|
|
||||||
return safeInstance
|
|
||||||
}
|
|
||||||
|
|
||||||
export const createTransaction = async (
|
export const createTransaction = async (
|
||||||
safe: Safe,
|
safe: Safe,
|
||||||
name: string,
|
name: string,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// @flow
|
// @flow
|
||||||
import { getWeb3 } from '~/logic/wallets/getWeb3'
|
import { getWeb3 } from '~/logic/wallets/getWeb3'
|
||||||
import { getTxServiceUriFrom, getTxServiceHost } from '~/config'
|
import { getTxServiceUriFrom, getTxServiceHost } from '~/config'
|
||||||
import { getSafeEthereumInstance } from '~/logic/safe/safeFrontendOperations'
|
import { getGnosisSafeInstanceAt } from '~/logic/contracts/safeContracts'
|
||||||
|
|
||||||
export type TxServiceType = 'confirmation' | 'execution' | 'initialised'
|
export type TxServiceType = 'confirmation' | 'execution' | 'initialised'
|
||||||
export type Operation = 0 | 1 | 2
|
export type Operation = 0 | 1 | 2
|
||||||
|
@ -17,7 +17,7 @@ const calculateBodyFrom = async (
|
||||||
sender: string,
|
sender: string,
|
||||||
type: TxServiceType,
|
type: TxServiceType,
|
||||||
) => {
|
) => {
|
||||||
const gnosisSafe = await getSafeEthereumInstance(safeAddress)
|
const gnosisSafe = await getGnosisSafeInstanceAt(safeAddress)
|
||||||
const contractTransactionHash = await gnosisSafe.getTransactionHash(
|
const contractTransactionHash = await gnosisSafe.getTransactionHash(
|
||||||
to,
|
to,
|
||||||
valueInWei,
|
valueInWei,
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
import { List } from 'immutable'
|
import { List } from 'immutable'
|
||||||
import { calculateGasOf, checkReceiptStatus, calculateGasPrice } from '~/logic/wallets/ethTransactions'
|
import { calculateGasOf, checkReceiptStatus, calculateGasPrice } from '~/logic/wallets/ethTransactions'
|
||||||
import { type Operation, submitOperation } from '~/logic/safe/safeTxHistory'
|
import { type Operation, submitOperation } from '~/logic/safe/safeTxHistory'
|
||||||
import { getSafeEthereumInstance } from '~/logic/safe/safeFrontendOperations'
|
import { getGnosisSafeInstanceAt } from '~/logic/contracts/safeContracts'
|
||||||
import { buildSignaturesFrom } from '~/logic/safe/safeTxSigner'
|
import { buildSignaturesFrom } from '~/logic/safe/safeTxSigner'
|
||||||
import { generateMetamaskSignature, generateTxGasEstimateFrom, estimateDataGas } from '~/logic/safe/transactions'
|
import { generateMetamaskSignature, generateTxGasEstimateFrom, estimateDataGas } from '~/logic/safe/transactions'
|
||||||
import { storeSignature, getSignaturesFrom } from '~/utils/storage/signatures'
|
import { storeSignature, getSignaturesFrom } from '~/utils/storage/signatures'
|
||||||
|
@ -21,7 +21,7 @@ export const approveTransaction = async (
|
||||||
|
|
||||||
if (signaturesViaMetamask()) {
|
if (signaturesViaMetamask()) {
|
||||||
// return executeTransaction(safeAddress, to, valueInWei, data, operation, nonce, sender)
|
// return executeTransaction(safeAddress, to, valueInWei, data, operation, nonce, sender)
|
||||||
const safe = await getSafeEthereumInstance(safeAddress)
|
const safe = await getGnosisSafeInstanceAt(safeAddress)
|
||||||
const txGasEstimate = await generateTxGasEstimateFrom(safe, safeAddress, data, to, valueInWei, operation)
|
const txGasEstimate = await generateTxGasEstimateFrom(safe, safeAddress, data, to, valueInWei, operation)
|
||||||
const signature = await generateMetamaskSignature(
|
const signature = await generateMetamaskSignature(
|
||||||
safe,
|
safe,
|
||||||
|
@ -39,7 +39,7 @@ export const approveTransaction = async (
|
||||||
return undefined
|
return undefined
|
||||||
}
|
}
|
||||||
|
|
||||||
const gnosisSafe = await getSafeEthereumInstance(safeAddress)
|
const gnosisSafe = await getGnosisSafeInstanceAt(safeAddress)
|
||||||
const contractTxHash = await gnosisSafe.getTransactionHash(to, valueInWei, data, operation, 0, 0, 0, 0, 0, nonce)
|
const contractTxHash = await gnosisSafe.getTransactionHash(to, valueInWei, data, operation, 0, 0, 0, 0, 0, nonce)
|
||||||
|
|
||||||
const approveData = gnosisSafe.contract.methods.approveHash(contractTxHash).encodeABI()
|
const approveData = gnosisSafe.contract.methods.approveHash(contractTxHash).encodeABI()
|
||||||
|
@ -67,7 +67,7 @@ export const executeTransaction = async (
|
||||||
const gasPrice = await calculateGasPrice()
|
const gasPrice = await calculateGasPrice()
|
||||||
|
|
||||||
if (signaturesViaMetamask()) {
|
if (signaturesViaMetamask()) {
|
||||||
const safe = await getSafeEthereumInstance(safeAddress)
|
const safe = await getGnosisSafeInstanceAt(safeAddress)
|
||||||
const txGasEstimate = await generateTxGasEstimateFrom(safe, safeAddress, data, to, valueInWei, operation)
|
const txGasEstimate = await generateTxGasEstimateFrom(safe, safeAddress, data, to, valueInWei, operation)
|
||||||
const signature = await generateMetamaskSignature(
|
const signature = await generateMetamaskSignature(
|
||||||
safe,
|
safe,
|
||||||
|
@ -120,7 +120,7 @@ export const executeTransaction = async (
|
||||||
return txHash
|
return txHash
|
||||||
}
|
}
|
||||||
|
|
||||||
const gnosisSafe = await getSafeEthereumInstance(safeAddress)
|
const gnosisSafe = await getGnosisSafeInstanceAt(safeAddress)
|
||||||
const signatures = buildSignaturesFrom(ownersWhoHasSigned, sender)
|
const signatures = buildSignaturesFrom(ownersWhoHasSigned, sender)
|
||||||
const txExecutionData = gnosisSafe.contract.methods
|
const txExecutionData = gnosisSafe.contract.methods
|
||||||
.execTransaction(to, valueInWei, data, operation, 0, 0, 0, 0, 0, signatures)
|
.execTransaction(to, valueInWei, data, operation, 0, 0, 0, 0, 0, signatures)
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
export const ZERO_ADDRESS = '0x0000000000000000000000000000000000000000'
|
||||||
|
|
||||||
export const sameAddress = (firstAddress: string, secondAddress: string): boolean => {
|
export const sameAddress = (firstAddress: string, secondAddress: string): boolean => {
|
||||||
if (!firstAddress) {
|
if (!firstAddress) {
|
||||||
return false
|
return false
|
||||||
|
|
|
@ -14,7 +14,7 @@ import Paragraph from '~/components/layout/Paragraph'
|
||||||
import OpenPaper from '~/components/Stepper/OpenPaper'
|
import OpenPaper from '~/components/Stepper/OpenPaper'
|
||||||
import { FIELD_LOAD_NAME, FIELD_LOAD_ADDRESS } from '~/routes/load/components/fields'
|
import { FIELD_LOAD_NAME, FIELD_LOAD_ADDRESS } from '~/routes/load/components/fields'
|
||||||
import { getWeb3 } from '~/logic/wallets/getWeb3'
|
import { getWeb3 } from '~/logic/wallets/getWeb3'
|
||||||
import SafeProxy from '#/Proxy.json'
|
import SafeProxy from '@gnosis.pm/safe-contracts/build/contracts/Proxy.json'
|
||||||
import { getSafeMasterContract } from '~/logic/contracts/safeContracts'
|
import { getSafeMasterContract } from '~/logic/contracts/safeContracts'
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
|
|
|
@ -5,8 +5,7 @@ import Page from '~/components/layout/Page'
|
||||||
import {
|
import {
|
||||||
getAccountsFrom, getThresholdFrom, getNamesFrom, getSafeNameFrom,
|
getAccountsFrom, getThresholdFrom, getNamesFrom, getSafeNameFrom,
|
||||||
} from '~/routes/open/utils/safeDataExtractor'
|
} from '~/routes/open/utils/safeDataExtractor'
|
||||||
import { getWeb3 } from '~/logic/wallets/getWeb3'
|
import { getGnosisSafeInstanceAt, deploySafeContract, initContracts } from '~/logic/contracts/safeContracts'
|
||||||
import { getGnosisSafeContract, deploySafeContract, initContracts } from '~/logic/contracts/safeContracts'
|
|
||||||
import { checkReceiptStatus } from '~/logic/wallets/ethTransactions'
|
import { checkReceiptStatus } from '~/logic/wallets/ethTransactions'
|
||||||
import { history } from '~/store'
|
import { history } from '~/store'
|
||||||
import { OPENING_ADDRESS, stillInOpeningView, SAFELIST_ADDRESS } from '~/routes/routes'
|
import { OPENING_ADDRESS, stillInOpeningView, SAFELIST_ADDRESS } from '~/routes/routes'
|
||||||
|
@ -30,15 +29,12 @@ export const createSafe = async (values: Object, userAccount: string, addSafe: A
|
||||||
const name = getSafeNameFrom(values)
|
const name = getSafeNameFrom(values)
|
||||||
const owners = getNamesFrom(values)
|
const owners = getNamesFrom(values)
|
||||||
|
|
||||||
const web3 = getWeb3()
|
|
||||||
const GnosisSafe = getGnosisSafeContract(web3)
|
|
||||||
|
|
||||||
await initContracts()
|
await initContracts()
|
||||||
const safe = await deploySafeContract(accounts, numConfirmations, userAccount)
|
const safe = await deploySafeContract(accounts, numConfirmations, userAccount)
|
||||||
checkReceiptStatus(safe.tx)
|
await checkReceiptStatus(safe.tx)
|
||||||
|
|
||||||
const param = safe.logs[0].args.proxy
|
const safeAddress = safe.logs[0].args.proxy
|
||||||
const safeContract = await GnosisSafe.at(param)
|
const safeContract = await getGnosisSafeInstanceAt(safeAddress)
|
||||||
|
|
||||||
addSafe(name, safeContract.address, numConfirmations, owners, accounts)
|
addSafe(name, safeContract.address, numConfirmations, owners, accounts)
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,8 @@ import { connect } from 'react-redux'
|
||||||
import { type Safe } from '~/routes/safe/store/models/safe'
|
import { type Safe } from '~/routes/safe/store/models/safe'
|
||||||
import { type Owner, makeOwner } from '~/routes/safe/store/models/owner'
|
import { type Owner, makeOwner } from '~/routes/safe/store/models/owner'
|
||||||
import { setOwners } from '~/logic/safe/utils'
|
import { setOwners } from '~/logic/safe/utils'
|
||||||
import { getSafeEthereumInstance, createTransaction } from '~/logic/safe/safeFrontendOperations'
|
import { createTransaction } from '~/logic/safe/safeFrontendOperations'
|
||||||
|
import { getGnosisSafeInstanceAt } from '~/logic/contracts/safeContracts'
|
||||||
import AddOwnerForm, { NAME_PARAM, OWNER_ADDRESS_PARAM, INCREASE_PARAM } from './AddOwnerForm'
|
import AddOwnerForm, { NAME_PARAM, OWNER_ADDRESS_PARAM, INCREASE_PARAM } from './AddOwnerForm'
|
||||||
import Review from './Review'
|
import Review from './Review'
|
||||||
import selector, { type SelectorProps } from './selector'
|
import selector, { type SelectorProps } from './selector'
|
||||||
|
@ -36,7 +37,7 @@ const getOwnerAddressesFrom = (owners: List<Owner>) => {
|
||||||
|
|
||||||
export const addOwner = async (values: Object, safe: Safe, threshold: number, executor: string) => {
|
export const addOwner = async (values: Object, safe: Safe, threshold: number, executor: string) => {
|
||||||
const safeAddress = safe.get('address')
|
const safeAddress = safe.get('address')
|
||||||
const gnosisSafe = await getSafeEthereumInstance(safeAddress)
|
const gnosisSafe = await getGnosisSafeInstanceAt(safeAddress)
|
||||||
const nonce = await gnosisSafe.nonce()
|
const nonce = await gnosisSafe.nonce()
|
||||||
|
|
||||||
const newThreshold = values[INCREASE_PARAM] ? threshold + 1 : threshold
|
const newThreshold = values[INCREASE_PARAM] ? threshold + 1 : threshold
|
||||||
|
|
|
@ -3,7 +3,8 @@ import * as React from 'react'
|
||||||
import Stepper from '~/components/Stepper'
|
import Stepper from '~/components/Stepper'
|
||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { type Safe } from '~/routes/safe/store/models/safe'
|
import { type Safe } from '~/routes/safe/store/models/safe'
|
||||||
import { getSafeEthereumInstance, createTransaction } from '~/logic/safe/safeFrontendOperations'
|
import { createTransaction } from '~/logic/safe/safeFrontendOperations'
|
||||||
|
import { getGnosisSafeInstanceAt } from '~/logic/contracts/safeContracts'
|
||||||
import RemoveOwnerForm, { DECREASE_PARAM } from './RemoveOwnerForm'
|
import RemoveOwnerForm, { DECREASE_PARAM } from './RemoveOwnerForm'
|
||||||
import Review from './Review'
|
import Review from './Review'
|
||||||
import selector, { type SelectorProps } from './selector'
|
import selector, { type SelectorProps } from './selector'
|
||||||
|
@ -42,7 +43,7 @@ export const removeOwner = async (
|
||||||
executor: string,
|
executor: string,
|
||||||
) => {
|
) => {
|
||||||
const safeAddress = safe.get('address')
|
const safeAddress = safe.get('address')
|
||||||
const gnosisSafe = await getSafeEthereumInstance(safeAddress)
|
const gnosisSafe = await getGnosisSafeInstanceAt(safeAddress)
|
||||||
const nonce = await gnosisSafe.nonce()
|
const nonce = await gnosisSafe.nonce()
|
||||||
const newThreshold = values[DECREASE_PARAM] ? threshold - 1 : threshold
|
const newThreshold = values[DECREASE_PARAM] ? threshold - 1 : threshold
|
||||||
const storedOwners = await gnosisSafe.getOwners()
|
const storedOwners = await gnosisSafe.getOwners()
|
||||||
|
|
|
@ -10,7 +10,8 @@ import { type Token } from '~/logic/tokens/store/model/token'
|
||||||
import { isEther } from '~/logic/tokens/utils/tokenHelpers'
|
import { isEther } from '~/logic/tokens/utils/tokenHelpers'
|
||||||
import { EMPTY_DATA } from '~/logic/wallets/ethTransactions'
|
import { EMPTY_DATA } from '~/logic/wallets/ethTransactions'
|
||||||
import { toNative } from '~/logic/wallets/tokens'
|
import { toNative } from '~/logic/wallets/tokens'
|
||||||
import { createTransaction, getSafeEthereumInstance } from '~/logic/safe/safeFrontendOperations'
|
import { createTransaction } from '~/logic/safe/safeFrontendOperations'
|
||||||
|
import { getGnosisSafeInstanceAt } from '~/logic/contracts/safeContracts'
|
||||||
import actions, { type Actions } from './actions'
|
import actions, { type Actions } from './actions'
|
||||||
import selector, { type SelectorProps } from './selector'
|
import selector, { type SelectorProps } from './selector'
|
||||||
import SendTokenForm, { TKN_DESTINATION_PARAM, TKN_VALUE_PARAM } from './SendTokenForm'
|
import SendTokenForm, { TKN_DESTINATION_PARAM, TKN_VALUE_PARAM } from './SendTokenForm'
|
||||||
|
@ -40,7 +41,7 @@ const getTransferData = async (tokenAddress: string, to: string, amount: BigNumb
|
||||||
|
|
||||||
const processTokenTransfer = async (safe: Safe, token: Token, to: string, amount: string, userAddress: string) => {
|
const processTokenTransfer = async (safe: Safe, token: Token, to: string, amount: string, userAddress: string) => {
|
||||||
const safeAddress = safe.get('address')
|
const safeAddress = safe.get('address')
|
||||||
const gnosisSafe = await getSafeEthereumInstance(safeAddress)
|
const gnosisSafe = await getGnosisSafeInstanceAt(safeAddress)
|
||||||
const nonce = await gnosisSafe.nonce()
|
const nonce = await gnosisSafe.nonce()
|
||||||
const symbol = token.get('symbol')
|
const symbol = token.get('symbol')
|
||||||
const name = `Send ${amount} ${symbol} to ${to}`
|
const name = `Send ${amount} ${symbol} to ${to}`
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
import * as React from 'react'
|
import * as React from 'react'
|
||||||
import Stepper from '~/components/Stepper'
|
import Stepper from '~/components/Stepper'
|
||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { getSafeEthereumInstance, createTransaction } from '~/logic/safe/safeFrontendOperations'
|
import { createTransaction } from '~/logic/safe/safeFrontendOperations'
|
||||||
|
import { getGnosisSafeInstanceAt } from '~/logic/contracts/safeContracts'
|
||||||
import { type Safe } from '~/routes/safe/store/models/safe'
|
import { type Safe } from '~/routes/safe/store/models/safe'
|
||||||
import ThresholdForm, { THRESHOLD_PARAM } from './ThresholdForm'
|
import ThresholdForm, { THRESHOLD_PARAM } from './ThresholdForm'
|
||||||
import selector, { type SelectorProps } from './selector'
|
import selector, { type SelectorProps } from './selector'
|
||||||
|
@ -35,7 +36,7 @@ class Threshold extends React.PureComponent<Props, State> {
|
||||||
const { safe, userAddress, fetchTransactions } = this.props // , fetchThreshold } = this.props
|
const { safe, userAddress, fetchTransactions } = this.props // , fetchThreshold } = this.props
|
||||||
const newThreshold = values[THRESHOLD_PARAM]
|
const newThreshold = values[THRESHOLD_PARAM]
|
||||||
const safeAddress = safe.get('address')
|
const safeAddress = safe.get('address')
|
||||||
const gnosisSafe = await getSafeEthereumInstance(safeAddress)
|
const gnosisSafe = await getGnosisSafeInstanceAt(safeAddress)
|
||||||
const nonce = await gnosisSafe.nonce()
|
const nonce = await gnosisSafe.nonce()
|
||||||
const data = gnosisSafe.contract.changeThreshold(newThreshold).encodeABI()
|
const data = gnosisSafe.contract.changeThreshold(newThreshold).encodeABI()
|
||||||
await createTransaction(safe, `Change Safe's threshold [${nonce}]`, safeAddress, '0', nonce, userAddress, data)
|
await createTransaction(safe, `Change Safe's threshold [${nonce}]`, safeAddress, '0', nonce, userAddress, data)
|
||||||
|
|
|
@ -6,8 +6,8 @@ import { makeOwner } from '~/routes/safe/store/models/owner'
|
||||||
import type { SafeProps } from '~/routes/safe/store/models/safe'
|
import type { SafeProps } from '~/routes/safe/store/models/safe'
|
||||||
import { addSafe } from '~/routes/safe/store/actions/addSafe'
|
import { addSafe } from '~/routes/safe/store/actions/addSafe'
|
||||||
import { getOwners, getSafeName } from '~/logic/safe/utils'
|
import { getOwners, getSafeName } from '~/logic/safe/utils'
|
||||||
import { getGnosisSafeContract } from '~/logic/contracts/safeContracts'
|
import { getGnosisSafeInstanceAt } from '~/logic/contracts/safeContracts'
|
||||||
import { getWeb3, getBalanceInEtherOf } from '~/logic/wallets/getWeb3'
|
import { getBalanceInEtherOf } from '~/logic/wallets/getWeb3'
|
||||||
import updateSafe from '~/routes/safe/store/actions/updateSafe'
|
import updateSafe from '~/routes/safe/store/actions/updateSafe'
|
||||||
|
|
||||||
const buildOwnersFrom = (
|
const buildOwnersFrom = (
|
||||||
|
@ -19,9 +19,7 @@ const buildOwnersFrom = (
|
||||||
})
|
})
|
||||||
|
|
||||||
export const buildSafe = async (safeAddress: string, safeName: string) => {
|
export const buildSafe = async (safeAddress: string, safeName: string) => {
|
||||||
const web3 = getWeb3()
|
const gnosisSafe = await getGnosisSafeInstanceAt(safeAddress)
|
||||||
const SafeContract = await getGnosisSafeContract(web3)
|
|
||||||
const gnosisSafe = await SafeContract.at(safeAddress)
|
|
||||||
const ethBalance = await getBalanceInEtherOf(safeAddress)
|
const ethBalance = await getBalanceInEtherOf(safeAddress)
|
||||||
|
|
||||||
const threshold = Number(await gnosisSafe.getThreshold())
|
const threshold = Number(await gnosisSafe.getThreshold())
|
||||||
|
|
|
@ -36,11 +36,10 @@ const fetchTokenBalances = (safeAddress: string, tokens: List<Token>) => async (
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const withBalances = await Promise.all(
|
const withBalances = await Promise.all(
|
||||||
tokens
|
tokens.map(async token => TokenBalanceRecord({
|
||||||
.map(async token => TokenBalanceRecord({
|
address: token.address,
|
||||||
address: token.address,
|
balance: await calculateBalanceOf(token.address, safeAddress, token.decimals),
|
||||||
balance: await calculateBalanceOf(token.address, safeAddress, token.decimals),
|
})),
|
||||||
})),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
dispatch(updateSafe({ address: safeAddress, balances: List(withBalances) }))
|
dispatch(updateSafe({ address: safeAddress, balances: List(withBalances) }))
|
||||||
|
|
|
@ -15,7 +15,7 @@ import {
|
||||||
import { getTransactionFromReduxStore } from '~/routes/safe/test/testMultisig'
|
import { getTransactionFromReduxStore } from '~/routes/safe/test/testMultisig'
|
||||||
import { buildMathPropsFrom } from '~/test/utils/buildReactRouterProps'
|
import { buildMathPropsFrom } from '~/test/utils/buildReactRouterProps'
|
||||||
import { createTransaction } from '~/wallets/createTransactions'
|
import { createTransaction } from '~/wallets/createTransactions'
|
||||||
import { getGnosisSafeContract } from '~/wallets/safeContracts'
|
import { getGnosisSafeInstanceAt } from '~/wallets/safeContracts'
|
||||||
import fetchTransactions from '~/routes/safe/store/actions/fetchTransactions'
|
import fetchTransactions from '~/routes/safe/store/actions/fetchTransactions'
|
||||||
*/
|
*/
|
||||||
describe('React DOM TESTS > Change threshold', () => {
|
describe('React DOM TESTS > Change threshold', () => {
|
||||||
|
@ -32,9 +32,7 @@ describe('React DOM TESTS > Change threshold', () => {
|
||||||
const match: Match = buildMathPropsFrom(address)
|
const match: Match = buildMathPropsFrom(address)
|
||||||
const safe = safeSelector(store.getState(), { match })
|
const safe = safeSelector(store.getState(), { match })
|
||||||
if (!safe) throw new Error()
|
if (!safe) throw new Error()
|
||||||
const web3 = getWeb3()
|
const gnosisSafe = await getGnosisSafeInstanceAt(safeAddress)
|
||||||
const GnosisSafe = await getGnosisSafeContract(web3)
|
|
||||||
const gnosisSafe = GnosisSafe.at(address)
|
|
||||||
|
|
||||||
// WHEN
|
// WHEN
|
||||||
const nonce = Date.now()
|
const nonce = Date.now()
|
||||||
|
@ -79,9 +77,7 @@ describe('React DOM TESTS > Change threshold', () => {
|
||||||
const match: Match = buildMathPropsFrom(address)
|
const match: Match = buildMathPropsFrom(address)
|
||||||
const safe = safeSelector(store.getState(), { match })
|
const safe = safeSelector(store.getState(), { match })
|
||||||
if (!safe) throw new Error()
|
if (!safe) throw new Error()
|
||||||
const web3 = getWeb3()
|
const gnosisSafe = await getGnosisSafeInstanceAt(safeAddress)
|
||||||
const GnosisSafe = await getGnosisSafeContract(web3)
|
|
||||||
const gnosisSafe = GnosisSafe.at(address)
|
|
||||||
|
|
||||||
// WHEN
|
// WHEN
|
||||||
const nonce = Date.now()
|
const nonce = Date.now()
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
// @flow
|
// @flow
|
||||||
import { List } from 'immutable'
|
import { List } from 'immutable'
|
||||||
import { getSafeEthereumInstance, createTransaction } from '~/logic/safe/safeFrontendOperations'
|
import { createTransaction } from '~/logic/safe/safeFrontendOperations'
|
||||||
|
import { getGnosisSafeInstanceAt } from '~/logic/contracts/safeContracts'
|
||||||
import { type Safe } from '~/routes/safe/store/models/safe'
|
import { type Safe } from '~/routes/safe/store/models/safe'
|
||||||
import { makeOwner } from '~/routes/safe/store/models/owner'
|
import { makeOwner } from '~/routes/safe/store/models/owner'
|
||||||
import fetchTransactions from '~/routes/safe/store/actions/fetchTransactions'
|
import fetchTransactions from '~/routes/safe/store/actions/fetchTransactions'
|
||||||
|
@ -29,7 +30,7 @@ describe('Transactions Suite', () => {
|
||||||
|
|
||||||
it('retrieves tx info from service having subject available', async () => {
|
it('retrieves tx info from service having subject available', async () => {
|
||||||
let safe: Safe = getSafeFrom(store.getState(), safeAddress)
|
let safe: Safe = getSafeFrom(store.getState(), safeAddress)
|
||||||
const gnosisSafe = await getSafeEthereumInstance(safeAddress)
|
const gnosisSafe = await getGnosisSafeInstanceAt(safeAddress)
|
||||||
const firstTxData = gnosisSafe.contract.methods.addOwnerWithThreshold(accounts[1], 2).encodeABI()
|
const firstTxData = gnosisSafe.contract.methods.addOwnerWithThreshold(accounts[1], 2).encodeABI()
|
||||||
const executor = accounts[0]
|
const executor = accounts[0]
|
||||||
const nonce = await gnosisSafe.nonce()
|
const nonce = await gnosisSafe.nonce()
|
||||||
|
|
|
@ -6,7 +6,7 @@ import abi from 'ethereumjs-abi'
|
||||||
console.log(`to[${to}] \n\n valieInWei[${valueInWei}] \n\n
|
console.log(`to[${to}] \n\n valieInWei[${valueInWei}] \n\n
|
||||||
data[${data}] \n\n operation[${operation}] \n\n sigs[${sigs}]`)
|
data[${data}] \n\n operation[${operation}] \n\n sigs[${sigs}]`)
|
||||||
|
|
||||||
const gnosisSafe = await getSafeEthereumInstance(address)
|
const gnosisSafe = await getGnosisSafeInstanceAt(address)
|
||||||
await printOutApprove("Remove owner 3", address, await gnosisSafe.getOwners(), tx.get('data'), tx.get('nonce'))
|
await printOutApprove("Remove owner 3", address, await gnosisSafe.getOwners(), tx.get('data'), tx.get('nonce'))
|
||||||
const txData =
|
const txData =
|
||||||
await gnosisSafe.contract.execTransactionIfApproved.getData(address, 0, tx.get('data'), 0, tx.get('nonce'))
|
await gnosisSafe.contract.execTransactionIfApproved.getData(address, 0, tx.get('data'), 0, tx.get('nonce'))
|
||||||
|
|
413
yarn.lock
413
yarn.lock
|
@ -1539,7 +1539,7 @@
|
||||||
"@emotion/utils" "0.11.1"
|
"@emotion/utils" "0.11.1"
|
||||||
babel-plugin-emotion "^10.0.9"
|
babel-plugin-emotion "^10.0.9"
|
||||||
|
|
||||||
"@emotion/hash@0.7.1":
|
"@emotion/hash@0.7.1", "@emotion/hash@^0.7.1":
|
||||||
version "0.7.1"
|
version "0.7.1"
|
||||||
resolved "https://registry.yarnpkg.com/@emotion/hash/-/hash-0.7.1.tgz#9833722341379fb7d67f06a4b00ab3c37913da53"
|
resolved "https://registry.yarnpkg.com/@emotion/hash/-/hash-0.7.1.tgz#9833722341379fb7d67f06a4b00ab3c37913da53"
|
||||||
integrity sha512-OYpa/Sg+2GDX+jibUfpZVn1YqSVRpYmTLF2eyAfrFTIJSbwyIrc+YscayoykvaOME/wV4BV0Sa0yqdMrgse6mA==
|
integrity sha512-OYpa/Sg+2GDX+jibUfpZVn1YqSVRpYmTLF2eyAfrFTIJSbwyIrc+YscayoykvaOME/wV4BV0Sa0yqdMrgse6mA==
|
||||||
|
@ -1645,6 +1645,15 @@
|
||||||
resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.2.2.tgz#63985d3d8b02530e0869962f4da09142ee8e200e"
|
resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.2.2.tgz#63985d3d8b02530e0869962f4da09142ee8e200e"
|
||||||
integrity sha512-n/VQ4mbfr81aqkx/XmVicOLjviMuy02eenSdJY33SVA7S2J42EU0P1H0mOogfYedb3wXA0d/LVtBrgTSm04WEA==
|
integrity sha512-n/VQ4mbfr81aqkx/XmVicOLjviMuy02eenSdJY33SVA7S2J42EU0P1H0mOogfYedb3wXA0d/LVtBrgTSm04WEA==
|
||||||
|
|
||||||
|
"@gnosis.pm/safe-contracts@^1.0.0":
|
||||||
|
version "1.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@gnosis.pm/safe-contracts/-/safe-contracts-1.0.0.tgz#2b562b1e23a0da1047a9f38ef71a70f811e75dd9"
|
||||||
|
integrity sha512-IT40DhKr1tAWRcSTpZ0wRfC9thrHzNzHzaPBQHP0Jq8fLVj+MIrRxY1adBZUppQ4W58XXnK0K/qj7IbyyigHlA==
|
||||||
|
dependencies:
|
||||||
|
openzeppelin-solidity "^2.0.0"
|
||||||
|
solc "^0.5.0"
|
||||||
|
truffle-hdwallet-provider "0.0.7-beta.1"
|
||||||
|
|
||||||
"@gnosis.pm/util-contracts@2.0.1":
|
"@gnosis.pm/util-contracts@2.0.1":
|
||||||
version "2.0.1"
|
version "2.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/@gnosis.pm/util-contracts/-/util-contracts-2.0.1.tgz#20ba5dcfaf4a7456ad22c720f8c9b464b85e8b59"
|
resolved "https://registry.yarnpkg.com/@gnosis.pm/util-contracts/-/util-contracts-2.0.1.tgz#20ba5dcfaf4a7456ad22c720f8c9b464b85e8b59"
|
||||||
|
@ -1801,65 +1810,84 @@
|
||||||
"@types/istanbul-reports" "^1.1.1"
|
"@types/istanbul-reports" "^1.1.1"
|
||||||
"@types/yargs" "^12.0.9"
|
"@types/yargs" "^12.0.9"
|
||||||
|
|
||||||
"@material-ui/core@^3.9.3":
|
"@material-ui/core@4.0.0":
|
||||||
version "3.9.3"
|
version "4.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/@material-ui/core/-/core-3.9.3.tgz#d378c1f4beb18df9a534ca7258c2c33fb8e0e51f"
|
resolved "https://registry.yarnpkg.com/@material-ui/core/-/core-4.0.0.tgz#f8bead508cc727188e5d819ae937aa928d83857b"
|
||||||
integrity sha512-REIj62+zEvTgI/C//YL4fZxrCVIySygmpZglsu/Nl5jPqy3CDjZv1F9ubBYorHqmRgeVPh64EghMMWqk4egmfg==
|
integrity sha512-mLEGTuzgUALRKFI3hkRcS0gi/cB3XV0JA4F5PT3rGUt7Dc4liu8/IGiHF7iQh+p337FMk8vkEMxMVdYd9JXKMQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/runtime" "^7.2.0"
|
"@babel/runtime" "^7.2.0"
|
||||||
"@material-ui/system" "^3.0.0-alpha.0"
|
"@material-ui/styles" "^4.0.0"
|
||||||
"@material-ui/utils" "^3.0.0-alpha.2"
|
"@material-ui/system" "^4.0.0"
|
||||||
"@types/jss" "^9.5.6"
|
"@material-ui/types" "^4.0.0"
|
||||||
"@types/react-transition-group" "^2.0.8"
|
"@material-ui/utils" "^4.0.0"
|
||||||
brcast "^3.0.1"
|
"@types/react-transition-group" "^2.0.16"
|
||||||
classnames "^2.2.5"
|
clsx "^1.0.2"
|
||||||
|
convert-css-length "^1.0.2"
|
||||||
csstype "^2.5.2"
|
csstype "^2.5.2"
|
||||||
debounce "^1.1.0"
|
debounce "^1.1.0"
|
||||||
deepmerge "^3.0.0"
|
deepmerge "^3.0.0"
|
||||||
dom-helpers "^3.2.1"
|
|
||||||
hoist-non-react-statics "^3.2.1"
|
hoist-non-react-statics "^3.2.1"
|
||||||
is-plain-object "^2.0.4"
|
is-plain-object "^2.0.4"
|
||||||
jss "^9.8.7"
|
|
||||||
jss-camel-case "^6.0.0"
|
|
||||||
jss-default-unit "^8.0.2"
|
|
||||||
jss-global "^3.0.0"
|
|
||||||
jss-nested "^6.0.1"
|
|
||||||
jss-props-sort "^6.0.0"
|
|
||||||
jss-vendor-prefixer "^7.0.0"
|
|
||||||
normalize-scroll-left "^0.1.2"
|
normalize-scroll-left "^0.1.2"
|
||||||
popper.js "^1.14.1"
|
popper.js "^1.14.1"
|
||||||
prop-types "^15.6.0"
|
prop-types "^15.7.2"
|
||||||
react-event-listener "^0.6.2"
|
react-event-listener "^0.6.6"
|
||||||
react-transition-group "^2.2.1"
|
react-transition-group "^4.0.0"
|
||||||
recompose "0.28.0 - 0.30.0"
|
|
||||||
warning "^4.0.1"
|
warning "^4.0.1"
|
||||||
|
|
||||||
"@material-ui/icons@^3.0.1":
|
"@material-ui/icons@4.0.0":
|
||||||
version "3.0.2"
|
version "4.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/@material-ui/icons/-/icons-3.0.2.tgz#d67a6dd1ec8312d3a88ec97944a63daeef24fe10"
|
resolved "https://registry.yarnpkg.com/@material-ui/icons/-/icons-4.0.0.tgz#1dec886098663e08dc80f38c5c06d70b21dfc4e7"
|
||||||
integrity sha512-QY/3gJnObZQ3O/e6WjH+0ah2M3MOgLOzCy8HTUoUx9B6dDrS18vP7Ycw3qrDEKlB6q1KNxy6CZHm5FCauWGy2g==
|
integrity sha512-hXoKnVLmVer+kic84ypoyG3Amym3a8q3pvDg4KYjeKW9fxGru7x/IkelBJODQL0jO+nAPz1+9RNpFWC75v35dg==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/runtime" "^7.2.0"
|
"@babel/runtime" "^7.2.0"
|
||||||
recompose "0.28.0 - 0.30.0"
|
|
||||||
|
|
||||||
"@material-ui/system@^3.0.0-alpha.0":
|
"@material-ui/styles@^4.0.0":
|
||||||
version "3.0.0-alpha.2"
|
version "4.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/@material-ui/system/-/system-3.0.0-alpha.2.tgz#096e80c8bb0f70aea435b9e38ea7749ee77b4e46"
|
resolved "https://registry.yarnpkg.com/@material-ui/styles/-/styles-4.0.1.tgz#67e880d490f010c9f2956c572b07d218bfa255d7"
|
||||||
integrity sha512-odmxQ0peKpP7RQBQ8koly06YhsPzcoVib1vByVPBH4QhwqBXuYoqlCjt02846fYspAqkrWzjxnWUD311EBbxOA==
|
integrity sha512-SywkWzBzXvm9dUY2rtmzTc/FTlKGctVYGb8hzPZyHU3OI4X9jQH4YnR/OiqTwg4jNpFnASJX5rW1rEUJM+ZnhA==
|
||||||
|
dependencies:
|
||||||
|
"@babel/runtime" "^7.2.0"
|
||||||
|
"@emotion/hash" "^0.7.1"
|
||||||
|
"@material-ui/types" "^4.0.1"
|
||||||
|
"@material-ui/utils" "^4.0.1"
|
||||||
|
clsx "^1.0.2"
|
||||||
|
deepmerge "^3.0.0"
|
||||||
|
hoist-non-react-statics "^3.2.1"
|
||||||
|
jss "^10.0.0-alpha.16"
|
||||||
|
jss-plugin-camel-case "^10.0.0-alpha.16"
|
||||||
|
jss-plugin-default-unit "^10.0.0-alpha.16"
|
||||||
|
jss-plugin-global "^10.0.0-alpha.16"
|
||||||
|
jss-plugin-nested "^10.0.0-alpha.16"
|
||||||
|
jss-plugin-props-sort "^10.0.0-alpha.16"
|
||||||
|
jss-plugin-rule-value-function "^10.0.0-alpha.16"
|
||||||
|
jss-plugin-vendor-prefixer "^10.0.0-alpha.16"
|
||||||
|
prop-types "^15.7.2"
|
||||||
|
warning "^4.0.1"
|
||||||
|
|
||||||
|
"@material-ui/system@^4.0.0":
|
||||||
|
version "4.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/@material-ui/system/-/system-4.0.1.tgz#d78969f3dd9eb6baf82ded0ef183368d8befb00b"
|
||||||
|
integrity sha512-NlMF4jZk1xx7taUOT+QhrJw7v7uUi9Ae+G8C8fowGgP5x04whxOuSuSmN9a8u2j7dc8XqahR0OJeA6Xch8ymog==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/runtime" "^7.2.0"
|
"@babel/runtime" "^7.2.0"
|
||||||
deepmerge "^3.0.0"
|
deepmerge "^3.0.0"
|
||||||
prop-types "^15.6.0"
|
prop-types "^15.7.2"
|
||||||
warning "^4.0.1"
|
warning "^4.0.1"
|
||||||
|
|
||||||
"@material-ui/utils@^3.0.0-alpha.2":
|
"@material-ui/types@^4.0.0", "@material-ui/types@^4.0.1":
|
||||||
version "3.0.0-alpha.3"
|
version "4.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/@material-ui/utils/-/utils-3.0.0-alpha.3.tgz#836c62ea46f5ffc6f0b5ea05ab814704a86908b1"
|
resolved "https://registry.yarnpkg.com/@material-ui/types/-/types-4.0.1.tgz#a05fe801a10604d99e593303df9e843868008d4f"
|
||||||
integrity sha512-rwMdMZptX0DivkqBuC+Jdq7BYTXwqKai5G5ejPpuEDKpWzi1Oxp+LygGw329FrKpuKeiqpcymlqJTjmy+quWng==
|
integrity sha512-FGhogU9l4s+ycMcC3hhOAvu5hcWa5TVSCCGUf4NOUF904ythroWSAvcCHn92NjftXZ8WZqmtPjL1K/d90Pq/3Q==
|
||||||
|
|
||||||
|
"@material-ui/utils@^4.0.0", "@material-ui/utils@^4.0.1":
|
||||||
|
version "4.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/@material-ui/utils/-/utils-4.0.1.tgz#ea3ab6fe4eea9588713813cff6eca33bda3519f6"
|
||||||
|
integrity sha512-mWRcMQIrqsXGze73tx3hNfB1NUu+BL/oIQI7TImyuhsia1EQXw3bPVBjgwTzqM6MqfXw6eh1fR45Di+WN5hASA==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/runtime" "^7.2.0"
|
"@babel/runtime" "^7.2.0"
|
||||||
prop-types "^15.6.0"
|
prop-types "^15.7.2"
|
||||||
react-is "^16.6.3"
|
react-is "^16.8.0"
|
||||||
|
|
||||||
"@mrmlnc/readdir-enhanced@^2.2.1":
|
"@mrmlnc/readdir-enhanced@^2.2.1":
|
||||||
version "2.2.1"
|
version "2.2.1"
|
||||||
|
@ -2478,14 +2506,6 @@
|
||||||
"@types/istanbul-lib-coverage" "*"
|
"@types/istanbul-lib-coverage" "*"
|
||||||
"@types/istanbul-lib-report" "*"
|
"@types/istanbul-lib-report" "*"
|
||||||
|
|
||||||
"@types/jss@^9.5.6":
|
|
||||||
version "9.5.8"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/jss/-/jss-9.5.8.tgz#258391f42211c042fc965508d505cbdc579baa5b"
|
|
||||||
integrity sha512-bBbHvjhm42UKki+wZpR89j73ykSXg99/bhuKuYYePtpma3ZAnmeGnl0WxXiZhPGsIfzKwCUkpPC0jlrVMBfRxA==
|
|
||||||
dependencies:
|
|
||||||
csstype "^2.0.0"
|
|
||||||
indefinite-observable "^1.0.1"
|
|
||||||
|
|
||||||
"@types/minimatch@*":
|
"@types/minimatch@*":
|
||||||
version "3.0.3"
|
version "3.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d"
|
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d"
|
||||||
|
@ -2511,10 +2531,10 @@
|
||||||
resolved "https://registry.yarnpkg.com/@types/q/-/q-1.5.2.tgz#690a1475b84f2a884fd07cd797c00f5f31356ea8"
|
resolved "https://registry.yarnpkg.com/@types/q/-/q-1.5.2.tgz#690a1475b84f2a884fd07cd797c00f5f31356ea8"
|
||||||
integrity sha512-ce5d3q03Ex0sy4R14722Rmt6MT07Ua+k4FwDfdcToYJcMKNtRVQvJ6JCAPdAmAnbRb6CsX6aYb9m96NGod9uTw==
|
integrity sha512-ce5d3q03Ex0sy4R14722Rmt6MT07Ua+k4FwDfdcToYJcMKNtRVQvJ6JCAPdAmAnbRb6CsX6aYb9m96NGod9uTw==
|
||||||
|
|
||||||
"@types/react-transition-group@^2.0.8":
|
"@types/react-transition-group@^2.0.16":
|
||||||
version "2.9.0"
|
version "2.9.1"
|
||||||
resolved "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-2.9.0.tgz#2a74a885432d673a93a2c93c34ce5dbf9f1426f8"
|
resolved "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-2.9.1.tgz#66c9ca5d0b20bae72fe6b797e0d362b996d55e9f"
|
||||||
integrity sha512-hP7vUaZMVSWKxo133P8U51U6UZ7+pbY+eAQb8+p6SZ2rB1rj3mOTDgTzhhi+R2SCB4S+sWekAAGoxdiZPG0ReQ==
|
integrity sha512-1usq4DRUVBFnxc9KGJAlJO9EpQrLZGDDEC8wDOn2+2ODSyudYo8FiIzPDRaX/hfQjHqGeeoNaNdA2bj0l35hZQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/react" "*"
|
"@types/react" "*"
|
||||||
|
|
||||||
|
@ -2864,6 +2884,11 @@ aes-js@3.0.0:
|
||||||
resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-3.0.0.tgz#e21df10ad6c2053295bcbb8dab40b09dbea87e4d"
|
resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-3.0.0.tgz#e21df10ad6c2053295bcbb8dab40b09dbea87e4d"
|
||||||
integrity sha1-4h3xCtbCBTKVvLuNq0Cwnb6ofk0=
|
integrity sha1-4h3xCtbCBTKVvLuNq0Cwnb6ofk0=
|
||||||
|
|
||||||
|
aes-js@^0.2.3:
|
||||||
|
version "0.2.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-0.2.4.tgz#94b881ab717286d015fa219e08fb66709dda5a3d"
|
||||||
|
integrity sha1-lLiBq3FyhtAV+iGeCPtmcJ3aWj0=
|
||||||
|
|
||||||
aes-js@^3.1.1:
|
aes-js@^3.1.1:
|
||||||
version "3.1.2"
|
version "3.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-3.1.2.tgz#db9aabde85d5caabbfc0d4f2a4446960f627146a"
|
resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-3.1.2.tgz#db9aabde85d5caabbfc0d4f2a4446960f627146a"
|
||||||
|
@ -4288,6 +4313,11 @@ balanced-match@^1.0.0:
|
||||||
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
|
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
|
||||||
integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c=
|
integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c=
|
||||||
|
|
||||||
|
base-x@^1.1.0:
|
||||||
|
version "1.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/base-x/-/base-x-1.1.0.tgz#42d3d717474f9ea02207f6d1aa1f426913eeb7ac"
|
||||||
|
integrity sha1-QtPXF0dPnqAiB/bRqh9CaRPut6w=
|
||||||
|
|
||||||
base-x@^3.0.2:
|
base-x@^3.0.2:
|
||||||
version "3.0.5"
|
version "3.0.5"
|
||||||
resolved "https://registry.yarnpkg.com/base-x/-/base-x-3.0.5.tgz#d3ada59afed05b921ab581ec3112e6444ba0795a"
|
resolved "https://registry.yarnpkg.com/base-x/-/base-x-3.0.5.tgz#d3ada59afed05b921ab581ec3112e6444ba0795a"
|
||||||
|
@ -4548,7 +4578,7 @@ braces@^2.3.1, braces@^2.3.2:
|
||||||
split-string "^3.0.2"
|
split-string "^3.0.2"
|
||||||
to-regex "^3.0.1"
|
to-regex "^3.0.1"
|
||||||
|
|
||||||
brcast@^3.0.0, brcast@^3.0.1:
|
brcast@^3.0.0:
|
||||||
version "3.0.1"
|
version "3.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/brcast/-/brcast-3.0.1.tgz#6256a8349b20de9eed44257a9b24d71493cd48dd"
|
resolved "https://registry.yarnpkg.com/brcast/-/brcast-3.0.1.tgz#6256a8349b20de9eed44257a9b24d71493cd48dd"
|
||||||
integrity sha512-eI3yqf9YEqyGl9PCNTR46MGvDylGtaHjalcz6Q3fAPnP/PhpKkkve52vFdfGpwp4VUvK6LUr4TQN+2stCrEwTg==
|
integrity sha512-eI3yqf9YEqyGl9PCNTR46MGvDylGtaHjalcz6Q3fAPnP/PhpKkkve52vFdfGpwp4VUvK6LUr4TQN+2stCrEwTg==
|
||||||
|
@ -4678,6 +4708,13 @@ bs58@^2.0.1:
|
||||||
resolved "https://registry.yarnpkg.com/bs58/-/bs58-2.0.1.tgz#55908d58f1982aba2008fa1bed8f91998a29bf8d"
|
resolved "https://registry.yarnpkg.com/bs58/-/bs58-2.0.1.tgz#55908d58f1982aba2008fa1bed8f91998a29bf8d"
|
||||||
integrity sha1-VZCNWPGYKrogCPob7Y+RmYopv40=
|
integrity sha1-VZCNWPGYKrogCPob7Y+RmYopv40=
|
||||||
|
|
||||||
|
bs58@^3.1.0:
|
||||||
|
version "3.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/bs58/-/bs58-3.1.0.tgz#d4c26388bf4804cac714141b1945aa47e5eb248e"
|
||||||
|
integrity sha1-1MJjiL9IBMrHFBQbGUWqR+XrJI4=
|
||||||
|
dependencies:
|
||||||
|
base-x "^1.1.0"
|
||||||
|
|
||||||
bs58@^4.0.0:
|
bs58@^4.0.0:
|
||||||
version "4.0.1"
|
version "4.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a"
|
resolved "https://registry.yarnpkg.com/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a"
|
||||||
|
@ -4685,6 +4722,14 @@ bs58@^4.0.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
base-x "^3.0.2"
|
base-x "^3.0.2"
|
||||||
|
|
||||||
|
bs58check@^1.0.8:
|
||||||
|
version "1.3.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/bs58check/-/bs58check-1.3.4.tgz#c52540073749117714fa042c3047eb8f9151cbf8"
|
||||||
|
integrity sha1-xSVABzdJEXcU+gQsMEfrj5FRy/g=
|
||||||
|
dependencies:
|
||||||
|
bs58 "^3.1.0"
|
||||||
|
create-hash "^1.1.0"
|
||||||
|
|
||||||
bs58check@^2.1.2:
|
bs58check@^2.1.2:
|
||||||
version "2.1.2"
|
version "2.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/bs58check/-/bs58check-2.1.2.tgz#53b018291228d82a5aa08e7d796fdafda54aebfc"
|
resolved "https://registry.yarnpkg.com/bs58check/-/bs58check-2.1.2.tgz#53b018291228d82a5aa08e7d796fdafda54aebfc"
|
||||||
|
@ -5257,6 +5302,11 @@ clone@^1.0.2:
|
||||||
resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e"
|
resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e"
|
||||||
integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4=
|
integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4=
|
||||||
|
|
||||||
|
clsx@^1.0.2:
|
||||||
|
version "1.0.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/clsx/-/clsx-1.0.4.tgz#0c0171f6d5cb2fe83848463c15fcc26b4df8c2ec"
|
||||||
|
integrity sha512-1mQ557MIZTrL/140j+JVdRM6e31/OA4vTYxXgqIIZlndyfjHpyawKZia1Im05Vp9BWmImkcNrNtFYQMyFcgJDg==
|
||||||
|
|
||||||
co@^4.6.0:
|
co@^4.6.0:
|
||||||
version "4.6.0"
|
version "4.6.0"
|
||||||
resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184"
|
resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184"
|
||||||
|
@ -5492,6 +5542,11 @@ console-control-strings@^1.0.0, console-control-strings@~1.1.0:
|
||||||
resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e"
|
resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e"
|
||||||
integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=
|
integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=
|
||||||
|
|
||||||
|
console-polyfill@^0.1.2:
|
||||||
|
version "0.1.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/console-polyfill/-/console-polyfill-0.1.2.tgz#96cfed51caf78189f699572e6f18271dc37c0e30"
|
||||||
|
integrity sha1-ls/tUcr3gYn2mVcubxgnHcN8DjA=
|
||||||
|
|
||||||
constants-browserify@^1.0.0:
|
constants-browserify@^1.0.0:
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75"
|
resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75"
|
||||||
|
@ -5519,6 +5574,14 @@ content-type@~1.0.4:
|
||||||
resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b"
|
resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b"
|
||||||
integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==
|
integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==
|
||||||
|
|
||||||
|
convert-css-length@^1.0.2:
|
||||||
|
version "1.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/convert-css-length/-/convert-css-length-1.0.2.tgz#32f38a8ac55d78372ff43562532564366c871ccc"
|
||||||
|
integrity sha512-ecV7j3hXyXN1X2XfJBzhMR0o1Obv0v3nHmn0UiS3ACENrzbxE/EknkiunS/fCwQva0U62X1GChi8GaPh4oTlLg==
|
||||||
|
dependencies:
|
||||||
|
console-polyfill "^0.1.2"
|
||||||
|
parse-unit "^1.0.1"
|
||||||
|
|
||||||
convert-source-map@^1.1.0, convert-source-map@^1.4.0, convert-source-map@^1.5.0, convert-source-map@^1.5.1:
|
convert-source-map@^1.1.0, convert-source-map@^1.4.0, convert-source-map@^1.5.0, convert-source-map@^1.5.1:
|
||||||
version "1.6.0"
|
version "1.6.0"
|
||||||
resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.6.0.tgz#51b537a8c43e0f04dec1993bffcdd504e758ac20"
|
resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.6.0.tgz#51b537a8c43e0f04dec1993bffcdd504e758ac20"
|
||||||
|
@ -5869,11 +5932,12 @@ css-url-regex@^1.1.0:
|
||||||
resolved "https://registry.yarnpkg.com/css-url-regex/-/css-url-regex-1.1.0.tgz#83834230cc9f74c457de59eebd1543feeb83b7ec"
|
resolved "https://registry.yarnpkg.com/css-url-regex/-/css-url-regex-1.1.0.tgz#83834230cc9f74c457de59eebd1543feeb83b7ec"
|
||||||
integrity sha1-g4NCMMyfdMRX3lnuvRVD/uuDt+w=
|
integrity sha1-g4NCMMyfdMRX3lnuvRVD/uuDt+w=
|
||||||
|
|
||||||
css-vendor@^0.3.8:
|
css-vendor@^2.0.1:
|
||||||
version "0.3.8"
|
version "2.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/css-vendor/-/css-vendor-0.3.8.tgz#6421cfd3034ce664fe7673972fd0119fc28941fa"
|
resolved "https://registry.yarnpkg.com/css-vendor/-/css-vendor-2.0.2.tgz#dd75b41064944c8eaa001796a204782164c69dfd"
|
||||||
integrity sha1-ZCHP0wNM5mT+dnOXL9ARn8KJQfo=
|
integrity sha512-Xn5ZAlI00d8HaQ8/oQ8d+iBzSF//NCc77LPzsucM32X/R/yTqmXy6otVsAM0XleXk6HjPuXoVZwXsayky/fsFQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
|
"@babel/runtime" "^7.3.1"
|
||||||
is-in-browser "^1.0.2"
|
is-in-browser "^1.0.2"
|
||||||
|
|
||||||
css-what@2.1, css-what@^2.1.2:
|
css-what@2.1, css-what@^2.1.2:
|
||||||
|
@ -5985,7 +6049,7 @@ cssstyle@^1.0.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
cssom "0.3.x"
|
cssom "0.3.x"
|
||||||
|
|
||||||
csstype@^2.0.0, csstype@^2.2.0, csstype@^2.5.2, csstype@^2.5.7:
|
csstype@^2.2.0, csstype@^2.5.2, csstype@^2.5.7:
|
||||||
version "2.6.3"
|
version "2.6.3"
|
||||||
resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.3.tgz#b701e5968245bf9b08d54ac83d00b624e622a9fa"
|
resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.3.tgz#b701e5968245bf9b08d54ac83d00b624e622a9fa"
|
||||||
integrity sha512-rINUZXOkcBmoHWEyu7JdHu5JMzkGRoMX4ov9830WNgxf5UYxcBUO0QTKAqeJ5EZfSdlrcJYkC8WwfVW7JYi4yg==
|
integrity sha512-rINUZXOkcBmoHWEyu7JdHu5JMzkGRoMX4ov9830WNgxf5UYxcBUO0QTKAqeJ5EZfSdlrcJYkC8WwfVW7JYi4yg==
|
||||||
|
@ -6420,7 +6484,7 @@ dom-converter@^0.2:
|
||||||
dependencies:
|
dependencies:
|
||||||
utila "~0.4"
|
utila "~0.4"
|
||||||
|
|
||||||
dom-helpers@^3.2.1, dom-helpers@^3.4.0:
|
dom-helpers@^3.4.0:
|
||||||
version "3.4.0"
|
version "3.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/dom-helpers/-/dom-helpers-3.4.0.tgz#e9b369700f959f62ecde5a6babde4bccd9169af8"
|
resolved "https://registry.yarnpkg.com/dom-helpers/-/dom-helpers-3.4.0.tgz#e9b369700f959f62ecde5a6babde4bccd9169af8"
|
||||||
integrity sha512-LnuPJ+dwqKDIyotW1VzmOZ5TONUN7CwkCR5hrgawTUbkBGYdeoNLZo6nNfGkCrjtE1nXXaj7iMMpDa8/d9WoIA==
|
integrity sha512-LnuPJ+dwqKDIyotW1VzmOZ5TONUN7CwkCR5hrgawTUbkBGYdeoNLZo6nNfGkCrjtE1nXXaj7iMMpDa8/d9WoIA==
|
||||||
|
@ -7192,15 +7256,7 @@ ethereumjs-abi@0.6.5:
|
||||||
bn.js "^4.10.0"
|
bn.js "^4.10.0"
|
||||||
ethereumjs-util "^4.3.0"
|
ethereumjs-util "^4.3.0"
|
||||||
|
|
||||||
ethereumjs-abi@^0.6.7:
|
ethereumjs-abi@^0.6.7, "ethereumjs-abi@git+https://github.com/ethereumjs/ethereumjs-abi.git":
|
||||||
version "0.6.7"
|
|
||||||
resolved "https://registry.yarnpkg.com/ethereumjs-abi/-/ethereumjs-abi-0.6.7.tgz#d1d1c5cdb8d910a7d97645ba9e93be5d153bba2e"
|
|
||||||
integrity sha512-EMLOA8ICO5yAaXDhjVEfYjsJIXYutY8ufTE93eEKwsVtp2usQreKwsDTJ9zvam3omYqNuffr8IONIqb2uUslGQ==
|
|
||||||
dependencies:
|
|
||||||
bn.js "^4.11.8"
|
|
||||||
ethereumjs-util "^6.0.0"
|
|
||||||
|
|
||||||
"ethereumjs-abi@git+https://github.com/ethereumjs/ethereumjs-abi.git":
|
|
||||||
version "0.6.7"
|
version "0.6.7"
|
||||||
resolved "git+https://github.com/ethereumjs/ethereumjs-abi.git#572d4bafe08a8a231137e1f9daeb0f8a23f197d2"
|
resolved "git+https://github.com/ethereumjs/ethereumjs-abi.git#572d4bafe08a8a231137e1f9daeb0f8a23f197d2"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -7280,7 +7336,7 @@ ethereumjs-util@5.2.0, ethereumjs-util@^5.0.0, ethereumjs-util@^5.0.1, ethereumj
|
||||||
safe-buffer "^5.1.1"
|
safe-buffer "^5.1.1"
|
||||||
secp256k1 "^3.0.1"
|
secp256k1 "^3.0.1"
|
||||||
|
|
||||||
ethereumjs-util@^4.3.0:
|
ethereumjs-util@^4.3.0, ethereumjs-util@^4.4.0:
|
||||||
version "4.5.0"
|
version "4.5.0"
|
||||||
resolved "https://registry.yarnpkg.com/ethereumjs-util/-/ethereumjs-util-4.5.0.tgz#3e9428b317eebda3d7260d854fddda954b1f1bc6"
|
resolved "https://registry.yarnpkg.com/ethereumjs-util/-/ethereumjs-util-4.5.0.tgz#3e9428b317eebda3d7260d854fddda954b1f1bc6"
|
||||||
integrity sha1-PpQosxfuvaPXJg2FT93alUsfG8Y=
|
integrity sha1-PpQosxfuvaPXJg2FT93alUsfG8Y=
|
||||||
|
@ -7321,6 +7377,19 @@ ethereumjs-vm@2.6.0, ethereumjs-vm@^2.1.0, ethereumjs-vm@^2.3.4, ethereumjs-vm@^
|
||||||
rustbn.js "~0.2.0"
|
rustbn.js "~0.2.0"
|
||||||
safe-buffer "^5.1.1"
|
safe-buffer "^5.1.1"
|
||||||
|
|
||||||
|
ethereumjs-wallet@0.6.0:
|
||||||
|
version "0.6.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/ethereumjs-wallet/-/ethereumjs-wallet-0.6.0.tgz#82763b1697ee7a796be7155da9dfb49b2f98cfdb"
|
||||||
|
integrity sha1-gnY7Fpfuenlr5xVdqd+0my+Yz9s=
|
||||||
|
dependencies:
|
||||||
|
aes-js "^0.2.3"
|
||||||
|
bs58check "^1.0.8"
|
||||||
|
ethereumjs-util "^4.4.0"
|
||||||
|
hdkey "^0.7.0"
|
||||||
|
scrypt.js "^0.2.0"
|
||||||
|
utf8 "^2.1.1"
|
||||||
|
uuid "^2.0.1"
|
||||||
|
|
||||||
ethereumjs-wallet@0.6.2:
|
ethereumjs-wallet@0.6.2:
|
||||||
version "0.6.2"
|
version "0.6.2"
|
||||||
resolved "https://registry.yarnpkg.com/ethereumjs-wallet/-/ethereumjs-wallet-0.6.2.tgz#67244b6af3e8113b53d709124b25477b64aeccda"
|
resolved "https://registry.yarnpkg.com/ethereumjs-wallet/-/ethereumjs-wallet-0.6.2.tgz#67244b6af3e8113b53d709124b25477b64aeccda"
|
||||||
|
@ -8833,6 +8902,14 @@ hastscript@^5.0.0:
|
||||||
property-information "^5.0.1"
|
property-information "^5.0.1"
|
||||||
space-separated-tokens "^1.0.0"
|
space-separated-tokens "^1.0.0"
|
||||||
|
|
||||||
|
hdkey@^0.7.0:
|
||||||
|
version "0.7.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/hdkey/-/hdkey-0.7.1.tgz#caee4be81aa77921e909b8d228dd0f29acaee632"
|
||||||
|
integrity sha1-yu5L6BqneSHpCbjSKN0PKayu5jI=
|
||||||
|
dependencies:
|
||||||
|
coinstring "^2.0.0"
|
||||||
|
secp256k1 "^3.0.1"
|
||||||
|
|
||||||
hdkey@^1.0.0, hdkey@^1.1.0:
|
hdkey@^1.0.0, hdkey@^1.1.0:
|
||||||
version "1.1.1"
|
version "1.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/hdkey/-/hdkey-1.1.1.tgz#c2b3bfd5883ff9529b72f2f08b28be0972a9f64a"
|
resolved "https://registry.yarnpkg.com/hdkey/-/hdkey-1.1.1.tgz#c2b3bfd5883ff9529b72f2f08b28be0972a9f64a"
|
||||||
|
@ -9113,7 +9190,7 @@ https-browserify@^1.0.0:
|
||||||
resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73"
|
resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73"
|
||||||
integrity sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=
|
integrity sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=
|
||||||
|
|
||||||
hyphenate-style-name@^1.0.2:
|
hyphenate-style-name@^1.0.2, hyphenate-style-name@^1.0.3:
|
||||||
version "1.0.3"
|
version "1.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/hyphenate-style-name/-/hyphenate-style-name-1.0.3.tgz#097bb7fa0b8f1a9cf0bd5c734cf95899981a9b48"
|
resolved "https://registry.yarnpkg.com/hyphenate-style-name/-/hyphenate-style-name-1.0.3.tgz#097bb7fa0b8f1a9cf0bd5c734cf95899981a9b48"
|
||||||
integrity sha512-EcuixamT82oplpoJ2XU4pDtKGWQ7b00CD9f1ug9IaQ3p1bkHMiKCZ9ut9QDI6qsa6cpUuB+A/I+zLtdNK4n2DQ==
|
integrity sha512-EcuixamT82oplpoJ2XU4pDtKGWQ7b00CD9f1ug9IaQ3p1bkHMiKCZ9ut9QDI6qsa6cpUuB+A/I+zLtdNK4n2DQ==
|
||||||
|
@ -9267,13 +9344,6 @@ imurmurhash@^0.1.4:
|
||||||
resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
|
resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
|
||||||
integrity sha1-khi5srkoojixPcT7a21XbyMUU+o=
|
integrity sha1-khi5srkoojixPcT7a21XbyMUU+o=
|
||||||
|
|
||||||
indefinite-observable@^1.0.1:
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/indefinite-observable/-/indefinite-observable-1.0.2.tgz#0a328793ab2385d4b9dca23eaab4afe6936a73f8"
|
|
||||||
integrity sha512-Mps0898zEduHyPhb7UCgNmfzlqNZknVmaFz5qzr0mm04YQ5FGLhAyK/dJ+NaRxGyR6juQXIxh5Ev0xx+qq0nYA==
|
|
||||||
dependencies:
|
|
||||||
symbol-observable "1.2.0"
|
|
||||||
|
|
||||||
indent-string@^3.1.0, indent-string@^3.2.0:
|
indent-string@^3.1.0, indent-string@^3.2.0:
|
||||||
version "3.2.0"
|
version "3.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-3.2.0.tgz#4a5fd6d27cc332f37e5419a504dbb837105c9289"
|
resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-3.2.0.tgz#4a5fd6d27cc332f37e5419a504dbb837105c9289"
|
||||||
|
@ -10547,50 +10617,73 @@ jsprim@^1.2.2:
|
||||||
json-schema "0.2.3"
|
json-schema "0.2.3"
|
||||||
verror "1.10.0"
|
verror "1.10.0"
|
||||||
|
|
||||||
jss-camel-case@^6.0.0:
|
jss-plugin-camel-case@^10.0.0-alpha.16:
|
||||||
version "6.1.0"
|
version "10.0.0-alpha.16"
|
||||||
resolved "https://registry.yarnpkg.com/jss-camel-case/-/jss-camel-case-6.1.0.tgz#ccb1ff8d6c701c02a1fed6fb6fb6b7896e11ce44"
|
resolved "https://registry.yarnpkg.com/jss-plugin-camel-case/-/jss-plugin-camel-case-10.0.0-alpha.16.tgz#36023c9aa35fd2e898f117be136f31dfa76ffef9"
|
||||||
integrity sha512-HPF2Q7wmNW1t79mCqSeU2vdd/vFFGpkazwvfHMOhPlMgXrJDzdj9viA2SaHk9ZbD5pfL63a8ylp4++irYbbzMQ==
|
integrity sha512-nki+smHEsFyoZ0OlOYtaxVqcQA0ZHVJCE1slRnk+1TklbmxbBiO4TwITMTEaNIDv0U0Uyb0Z8wVgFgRwCCIFog==
|
||||||
dependencies:
|
dependencies:
|
||||||
hyphenate-style-name "^1.0.2"
|
"@babel/runtime" "^7.3.1"
|
||||||
|
hyphenate-style-name "^1.0.3"
|
||||||
|
jss "10.0.0-alpha.16"
|
||||||
|
|
||||||
jss-default-unit@^8.0.2:
|
jss-plugin-default-unit@^10.0.0-alpha.16:
|
||||||
version "8.0.2"
|
version "10.0.0-alpha.16"
|
||||||
resolved "https://registry.yarnpkg.com/jss-default-unit/-/jss-default-unit-8.0.2.tgz#cc1e889bae4c0b9419327b314ab1c8e2826890e6"
|
resolved "https://registry.yarnpkg.com/jss-plugin-default-unit/-/jss-plugin-default-unit-10.0.0-alpha.16.tgz#ef96b529fcb9f8d730c14a489a1d7e71e243447e"
|
||||||
integrity sha512-WxNHrF/18CdoAGw2H0FqOEvJdREXVXLazn7PQYU7V6/BWkCV0GkmWsppNiExdw8dP4TU1ma1dT9zBNJ95feLmg==
|
integrity sha512-jjGW4F/r9yKvoyUk22M8nWhdMfvoWzJw/oFO2cDRXCk2onnWFiRALfqeUsEDyocwdZbyVF9WhZbSHn4GL03kSw==
|
||||||
|
|
||||||
jss-global@^3.0.0:
|
|
||||||
version "3.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/jss-global/-/jss-global-3.0.0.tgz#e19e5c91ab2b96353c227e30aa2cbd938cdaafa2"
|
|
||||||
integrity sha512-wxYn7vL+TImyQYGAfdplg7yaxnPQ9RaXY/cIA8hawaVnmmWxDHzBK32u1y+RAvWboa3lW83ya3nVZ/C+jyjZ5Q==
|
|
||||||
|
|
||||||
jss-nested@^6.0.1:
|
|
||||||
version "6.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/jss-nested/-/jss-nested-6.0.1.tgz#ef992b79d6e8f63d939c4397b9d99b5cbbe824ca"
|
|
||||||
integrity sha512-rn964TralHOZxoyEgeq3hXY8hyuCElnvQoVrQwKHVmu55VRDd6IqExAx9be5HgK0yN/+hQdgAXQl/GUrBbbSTA==
|
|
||||||
dependencies:
|
dependencies:
|
||||||
warning "^3.0.0"
|
"@babel/runtime" "^7.3.1"
|
||||||
|
jss "10.0.0-alpha.16"
|
||||||
|
|
||||||
jss-props-sort@^6.0.0:
|
jss-plugin-global@^10.0.0-alpha.16:
|
||||||
version "6.0.0"
|
version "10.0.0-alpha.16"
|
||||||
resolved "https://registry.yarnpkg.com/jss-props-sort/-/jss-props-sort-6.0.0.tgz#9105101a3b5071fab61e2d85ea74cc22e9b16323"
|
resolved "https://registry.yarnpkg.com/jss-plugin-global/-/jss-plugin-global-10.0.0-alpha.16.tgz#6da34ad63e0a4669a35412d716d39820bd10ede4"
|
||||||
integrity sha512-E89UDcrphmI0LzmvYk25Hp4aE5ZBsXqMWlkFXS0EtPkunJkRr+WXdCNYbXbksIPnKlBenGB9OxzQY+mVc70S+g==
|
integrity sha512-B1mm2ZF9OEsWPmzkG5ZUXqV88smDqpc4unILLXhWVuj0U5JeT0DNitH+QbXFrSueDJzkWVfvqyckvWDR/0qeDg==
|
||||||
|
|
||||||
jss-vendor-prefixer@^7.0.0:
|
|
||||||
version "7.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/jss-vendor-prefixer/-/jss-vendor-prefixer-7.0.0.tgz#0166729650015ef19d9f02437c73667231605c71"
|
|
||||||
integrity sha512-Agd+FKmvsI0HLcYXkvy8GYOw3AAASBUpsmIRvVQheps+JWaN892uFOInTr0DRydwaD91vSSUCU4NssschvF7MA==
|
|
||||||
dependencies:
|
dependencies:
|
||||||
css-vendor "^0.3.8"
|
"@babel/runtime" "^7.3.1"
|
||||||
|
jss "10.0.0-alpha.16"
|
||||||
|
|
||||||
jss@^9.8.7:
|
jss-plugin-nested@^10.0.0-alpha.16:
|
||||||
version "9.8.7"
|
version "10.0.0-alpha.16"
|
||||||
resolved "https://registry.yarnpkg.com/jss/-/jss-9.8.7.tgz#ed9763fc0f2f0260fc8260dac657af61e622ce05"
|
resolved "https://registry.yarnpkg.com/jss-plugin-nested/-/jss-plugin-nested-10.0.0-alpha.16.tgz#282ce431cc6c7c4b2e2509b80dc5cc1de7f7102f"
|
||||||
integrity sha512-awj3XRZYxbrmmrx9LUSj5pXSUfm12m8xzi/VKeqI1ZwWBtQ0kVPTs3vYs32t4rFw83CgFDukA8wKzOE9sMQnoQ==
|
integrity sha512-3l/MB6COnIpq4GOXQFae6UydoaIPa81UxhuBTEQuiAojgTeUla9L7nB3h18Q4zAhQQpjxaEsyppAKuEzIP7kPQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
|
"@babel/runtime" "^7.3.1"
|
||||||
|
jss "10.0.0-alpha.16"
|
||||||
|
tiny-warning "^1.0.2"
|
||||||
|
|
||||||
|
jss-plugin-props-sort@^10.0.0-alpha.16:
|
||||||
|
version "10.0.0-alpha.16"
|
||||||
|
resolved "https://registry.yarnpkg.com/jss-plugin-props-sort/-/jss-plugin-props-sort-10.0.0-alpha.16.tgz#d91566d6c73ebd906ff81fdfb93135d16bbfb067"
|
||||||
|
integrity sha512-+Yn9nugHAH58nf/d43H2uxMvlCFPDgLKRSmKO4Q4m1IGYjMbHsWt1Rk2HfC9IiCanqcqpc8hstwtzf+HG7PWFQ==
|
||||||
|
dependencies:
|
||||||
|
"@babel/runtime" "^7.3.1"
|
||||||
|
jss "10.0.0-alpha.16"
|
||||||
|
|
||||||
|
jss-plugin-rule-value-function@^10.0.0-alpha.16:
|
||||||
|
version "10.0.0-alpha.16"
|
||||||
|
resolved "https://registry.yarnpkg.com/jss-plugin-rule-value-function/-/jss-plugin-rule-value-function-10.0.0-alpha.16.tgz#42bf684dae0a73a02df0a3297b747becf9854449"
|
||||||
|
integrity sha512-MQap9ne6ZGZH0NlpSQTMSm6QalBTF0hYpd2uaGQwam+GlT7IKeO+sTjd46I1WgO3kyOmwb0pIY6CnuLQGXKtSA==
|
||||||
|
dependencies:
|
||||||
|
"@babel/runtime" "^7.3.1"
|
||||||
|
jss "10.0.0-alpha.16"
|
||||||
|
|
||||||
|
jss-plugin-vendor-prefixer@^10.0.0-alpha.16:
|
||||||
|
version "10.0.0-alpha.16"
|
||||||
|
resolved "https://registry.yarnpkg.com/jss-plugin-vendor-prefixer/-/jss-plugin-vendor-prefixer-10.0.0-alpha.16.tgz#f59d92db7331d6615b33aa108ee54cbf1ab6ce84"
|
||||||
|
integrity sha512-70yJ6QE5dN8VlPUGKld5jK2SKyrteheEL/ismexpybIufunMs6iJgkhDndbOfv8ia13yZgUVqeakMdhRKYwK1A==
|
||||||
|
dependencies:
|
||||||
|
"@babel/runtime" "^7.3.1"
|
||||||
|
css-vendor "^2.0.1"
|
||||||
|
jss "10.0.0-alpha.16"
|
||||||
|
|
||||||
|
jss@10.0.0-alpha.16, jss@^10.0.0-alpha.16:
|
||||||
|
version "10.0.0-alpha.16"
|
||||||
|
resolved "https://registry.yarnpkg.com/jss/-/jss-10.0.0-alpha.16.tgz#0555e8b667e08dbd2cc94f6125be5a8b8b022833"
|
||||||
|
integrity sha512-HmKNNnr82TR5jkWjBcbrx/uim2ief588pWp7zsf4GQpL125zRkEaWYL1SXv5bR6bBvAoTtvJsTAOxDIlLxUNZg==
|
||||||
|
dependencies:
|
||||||
|
"@babel/runtime" "^7.3.1"
|
||||||
is-in-browser "^1.1.3"
|
is-in-browser "^1.1.3"
|
||||||
symbol-observable "^1.1.0"
|
tiny-warning "^1.0.2"
|
||||||
warning "^3.0.0"
|
|
||||||
|
|
||||||
jsx-ast-utils@^2.0.1:
|
jsx-ast-utils@^2.0.1:
|
||||||
version "2.0.1"
|
version "2.0.1"
|
||||||
|
@ -12185,6 +12278,11 @@ opener@^1.5.1:
|
||||||
resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.1.tgz#6d2f0e77f1a0af0032aca716c2c1fbb8e7e8abed"
|
resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.1.tgz#6d2f0e77f1a0af0032aca716c2c1fbb8e7e8abed"
|
||||||
integrity sha512-goYSy5c2UXE4Ra1xixabeVh1guIX/ZV/YokJksb6q2lubWu6UbvPQ20p542/sFIll1nl8JnCyK9oBaOcCWXwvA==
|
integrity sha512-goYSy5c2UXE4Ra1xixabeVh1guIX/ZV/YokJksb6q2lubWu6UbvPQ20p542/sFIll1nl8JnCyK9oBaOcCWXwvA==
|
||||||
|
|
||||||
|
openzeppelin-solidity@^2.0.0:
|
||||||
|
version "2.2.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/openzeppelin-solidity/-/openzeppelin-solidity-2.2.0.tgz#1f0e857f53bda29b77a8e72f9a629db81015fd34"
|
||||||
|
integrity sha512-HfQq0xyT+EPs/lTWEd5Odu4T7CYdYe+qwf54EH28FQZthp4Bs6IWvOlOumTdS2dvpwZoTXURAopHn2LN1pwAGQ==
|
||||||
|
|
||||||
opn@5.4.0:
|
opn@5.4.0:
|
||||||
version "5.4.0"
|
version "5.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/opn/-/opn-5.4.0.tgz#cb545e7aab78562beb11aa3bfabc7042e1761035"
|
resolved "https://registry.yarnpkg.com/opn/-/opn-5.4.0.tgz#cb545e7aab78562beb11aa3bfabc7042e1761035"
|
||||||
|
@ -12487,6 +12585,11 @@ parse-passwd@^1.0.0:
|
||||||
resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6"
|
resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6"
|
||||||
integrity sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=
|
integrity sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=
|
||||||
|
|
||||||
|
parse-unit@^1.0.1:
|
||||||
|
version "1.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/parse-unit/-/parse-unit-1.0.1.tgz#7e1bb6d5bef3874c28e392526a2541170291eecf"
|
||||||
|
integrity sha1-fhu21b7zh0wo45JSaiVBFwKR7s8=
|
||||||
|
|
||||||
parse5@4.0.0:
|
parse5@4.0.0:
|
||||||
version "4.0.0"
|
version "4.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/parse5/-/parse5-4.0.0.tgz#6d78656e3da8d78b4ec0b906f7c08ef1dfe3f608"
|
resolved "https://registry.yarnpkg.com/parse5/-/parse5-4.0.0.tgz#6d78656e3da8d78b4ec0b906f7c08ef1dfe3f608"
|
||||||
|
@ -13662,7 +13765,7 @@ react-error-overlay@^5.1.4:
|
||||||
resolved "https://registry.yarnpkg.com/react-error-overlay/-/react-error-overlay-5.1.4.tgz#88dfb88857c18ceb3b9f95076f850d7121776991"
|
resolved "https://registry.yarnpkg.com/react-error-overlay/-/react-error-overlay-5.1.4.tgz#88dfb88857c18ceb3b9f95076f850d7121776991"
|
||||||
integrity sha512-fp+U98OMZcnduQ+NSEiQa4s/XMsbp+5KlydmkbESOw4P69iWZ68ZMFM5a2BuE0FgqPBKApJyRuYHR95jM8lAmg==
|
integrity sha512-fp+U98OMZcnduQ+NSEiQa4s/XMsbp+5KlydmkbESOw4P69iWZ68ZMFM5a2BuE0FgqPBKApJyRuYHR95jM8lAmg==
|
||||||
|
|
||||||
react-event-listener@^0.6.2:
|
react-event-listener@^0.6.6:
|
||||||
version "0.6.6"
|
version "0.6.6"
|
||||||
resolved "https://registry.yarnpkg.com/react-event-listener/-/react-event-listener-0.6.6.tgz#758f7b991cad9086dd39fd29fad72127e1d8962a"
|
resolved "https://registry.yarnpkg.com/react-event-listener/-/react-event-listener-0.6.6.tgz#758f7b991cad9086dd39fd29fad72127e1d8962a"
|
||||||
integrity sha512-+hCNqfy7o9wvO6UgjqFmBzARJS7qrNoda0VqzvOuioEpoEXKutiKuv92dSz6kP7rYLmyHPyYNLesi5t/aH1gfw==
|
integrity sha512-+hCNqfy7o9wvO6UgjqFmBzARJS7qrNoda0VqzvOuioEpoEXKutiKuv92dSz6kP7rYLmyHPyYNLesi5t/aH1gfw==
|
||||||
|
@ -13671,7 +13774,7 @@ react-event-listener@^0.6.2:
|
||||||
prop-types "^15.6.0"
|
prop-types "^15.6.0"
|
||||||
warning "^4.0.1"
|
warning "^4.0.1"
|
||||||
|
|
||||||
react-fast-compare@^2.0.2, react-fast-compare@^2.0.3:
|
react-fast-compare@^2.0.2:
|
||||||
version "2.0.4"
|
version "2.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/react-fast-compare/-/react-fast-compare-2.0.4.tgz#e84b4d455b0fec113e0402c329352715196f81f9"
|
resolved "https://registry.yarnpkg.com/react-fast-compare/-/react-fast-compare-2.0.4.tgz#e84b4d455b0fec113e0402c329352715196f81f9"
|
||||||
integrity sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==
|
integrity sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==
|
||||||
|
@ -13760,7 +13863,7 @@ react-inspector@^2.2.2, react-inspector@^2.3.0, react-inspector@^2.3.1:
|
||||||
is-dom "^1.0.9"
|
is-dom "^1.0.9"
|
||||||
prop-types "^15.6.1"
|
prop-types "^15.6.1"
|
||||||
|
|
||||||
react-is@^16.6.3, react-is@^16.7.0, react-is@^16.8.1, react-is@^16.8.4, react-is@^16.8.6:
|
react-is@^16.7.0, react-is@^16.8.0, react-is@^16.8.1, react-is@^16.8.4, react-is@^16.8.6:
|
||||||
version "16.8.6"
|
version "16.8.6"
|
||||||
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.6.tgz#5bbc1e2d29141c9fbdfed456343fe2bc430a6a16"
|
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.6.tgz#5bbc1e2d29141c9fbdfed456343fe2bc430a6a16"
|
||||||
integrity sha512-aUk3bHfZ2bRSVFFbbeVS4i+lNPZr3/WM5jT2J5omUVV1zzcs1nAaf3l51ctA5FFvCRbhrH0bdAsRRQddFJZPtA==
|
integrity sha512-aUk3bHfZ2bRSVFFbbeVS4i+lNPZr3/WM5jT2J5omUVV1zzcs1nAaf3l51ctA5FFvCRbhrH0bdAsRRQddFJZPtA==
|
||||||
|
@ -13889,6 +13992,15 @@ react-transition-group@^2.2.1:
|
||||||
prop-types "^15.6.2"
|
prop-types "^15.6.2"
|
||||||
react-lifecycles-compat "^3.0.4"
|
react-lifecycles-compat "^3.0.4"
|
||||||
|
|
||||||
|
react-transition-group@^4.0.0:
|
||||||
|
version "4.0.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/react-transition-group/-/react-transition-group-4.0.1.tgz#8cb8d58763e259da465385bb83b3b41b3ecba629"
|
||||||
|
integrity sha512-SsLcBYhO4afXJC9esL8XMxi/y0ZvEc7To0TvtrBELqzpjXQHPZOTxvuPh2/4EhYc0uSMfp2SExIxsyJ0pBdNzg==
|
||||||
|
dependencies:
|
||||||
|
dom-helpers "^3.4.0"
|
||||||
|
loose-envify "^1.4.0"
|
||||||
|
prop-types "^15.6.2"
|
||||||
|
|
||||||
"react@^0.14.7 || ^15.0.0":
|
"react@^0.14.7 || ^15.0.0":
|
||||||
version "15.6.2"
|
version "15.6.2"
|
||||||
resolved "https://registry.yarnpkg.com/react/-/react-15.6.2.tgz#dba0434ab439cfe82f108f0f511663908179aa72"
|
resolved "https://registry.yarnpkg.com/react/-/react-15.6.2.tgz#dba0434ab439cfe82f108f0f511663908179aa72"
|
||||||
|
@ -14061,7 +14173,7 @@ rechoir@^0.6.2:
|
||||||
dependencies:
|
dependencies:
|
||||||
resolve "^1.1.6"
|
resolve "^1.1.6"
|
||||||
|
|
||||||
"recompose@0.28.0 - 0.30.0", recompose@^0.30.0:
|
recompose@^0.30.0:
|
||||||
version "0.30.0"
|
version "0.30.0"
|
||||||
resolved "https://registry.yarnpkg.com/recompose/-/recompose-0.30.0.tgz#82773641b3927e8c7d24a0d87d65aeeba18aabd0"
|
resolved "https://registry.yarnpkg.com/recompose/-/recompose-0.30.0.tgz#82773641b3927e8c7d24a0d87d65aeeba18aabd0"
|
||||||
integrity sha512-ZTrzzUDa9AqUIhRk4KmVFihH0rapdCSMFXjhHbNrjAWxBuUD/guYlyysMnuHjlZC/KRiOKRtB4jf96yYSkKE8w==
|
integrity sha512-ZTrzzUDa9AqUIhRk4KmVFihH0rapdCSMFXjhHbNrjAWxBuUD/guYlyysMnuHjlZC/KRiOKRtB4jf96yYSkKE8w==
|
||||||
|
@ -15242,6 +15354,20 @@ solc@0.5.0:
|
||||||
semver "^5.5.0"
|
semver "^5.5.0"
|
||||||
yargs "^11.0.0"
|
yargs "^11.0.0"
|
||||||
|
|
||||||
|
solc@^0.5.0:
|
||||||
|
version "0.5.7"
|
||||||
|
resolved "https://registry.yarnpkg.com/solc/-/solc-0.5.7.tgz#d84697ac5cc63d9b2139bfb349cec64b64861cdc"
|
||||||
|
integrity sha512-DaYFzB3AAYjzPtgUl9LenPY2xjI3wG9k8U8T8YE/sXHVIoCirCY5MB6mhcFPgk/VyUtaWZPUCWiYS1E6RSiiqw==
|
||||||
|
dependencies:
|
||||||
|
command-exists "^1.2.8"
|
||||||
|
fs-extra "^0.30.0"
|
||||||
|
keccak "^1.0.2"
|
||||||
|
memorystream "^0.3.1"
|
||||||
|
require-from-string "^2.0.0"
|
||||||
|
semver "^5.5.0"
|
||||||
|
tmp "0.0.33"
|
||||||
|
yargs "^11.0.0"
|
||||||
|
|
||||||
solidity-sha3@^0.4.1:
|
solidity-sha3@^0.4.1:
|
||||||
version "0.4.1"
|
version "0.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/solidity-sha3/-/solidity-sha3-0.4.1.tgz#17577e93f6cfd58489c4ec7f2da3047530329ec1"
|
resolved "https://registry.yarnpkg.com/solidity-sha3/-/solidity-sha3-0.4.1.tgz#17577e93f6cfd58489c4ec7f2da3047530329ec1"
|
||||||
|
@ -15826,7 +15952,7 @@ symbol-observable@1.0.1:
|
||||||
resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.1.tgz#8340fc4702c3122df5d22288f88283f513d3fdd4"
|
resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.1.tgz#8340fc4702c3122df5d22288f88283f513d3fdd4"
|
||||||
integrity sha1-g0D8RwLDEi310iKI+IKD9RPT/dQ=
|
integrity sha1-g0D8RwLDEi310iKI+IKD9RPT/dQ=
|
||||||
|
|
||||||
symbol-observable@1.2.0, symbol-observable@^1.0.2, symbol-observable@^1.0.3, symbol-observable@^1.0.4, symbol-observable@^1.1.0, symbol-observable@^1.2.0:
|
symbol-observable@^1.0.2, symbol-observable@^1.0.3, symbol-observable@^1.0.4, symbol-observable@^1.2.0:
|
||||||
version "1.2.0"
|
version "1.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804"
|
resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804"
|
||||||
integrity sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==
|
integrity sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==
|
||||||
|
@ -16071,7 +16197,7 @@ tiny-invariant@^1.0.2:
|
||||||
resolved "https://registry.yarnpkg.com/tiny-invariant/-/tiny-invariant-1.0.4.tgz#346b5415fd93cb696b0c4e8a96697ff590f92463"
|
resolved "https://registry.yarnpkg.com/tiny-invariant/-/tiny-invariant-1.0.4.tgz#346b5415fd93cb696b0c4e8a96697ff590f92463"
|
||||||
integrity sha512-lMhRd/djQJ3MoaHEBrw8e2/uM4rs9YMNk0iOr8rHQ0QdbM7D4l0gFl3szKdeixrlyfm9Zqi4dxHCM2qVG8ND5g==
|
integrity sha512-lMhRd/djQJ3MoaHEBrw8e2/uM4rs9YMNk0iOr8rHQ0QdbM7D4l0gFl3szKdeixrlyfm9Zqi4dxHCM2qVG8ND5g==
|
||||||
|
|
||||||
tiny-warning@^1.0.0:
|
tiny-warning@^1.0.0, tiny-warning@^1.0.2:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/tiny-warning/-/tiny-warning-1.0.2.tgz#1dfae771ee1a04396bdfde27a3adcebc6b648b28"
|
resolved "https://registry.yarnpkg.com/tiny-warning/-/tiny-warning-1.0.2.tgz#1dfae771ee1a04396bdfde27a3adcebc6b648b28"
|
||||||
integrity sha512-rru86D9CpQRLvsFG5XFdy0KdLAvjdQDyZCsRcuu60WtzFylDM3eAWSxEVz5kzL2Gp544XiUvPbVKtOA/txLi9Q==
|
integrity sha512-rru86D9CpQRLvsFG5XFdy0KdLAvjdQDyZCsRcuu60WtzFylDM3eAWSxEVz5kzL2Gp544XiUvPbVKtOA/txLi9Q==
|
||||||
|
@ -16557,6 +16683,16 @@ truffle-external-compile@^1.0.9:
|
||||||
truffle-expect "^0.0.8"
|
truffle-expect "^0.0.8"
|
||||||
web3-utils "1.0.0-beta.37"
|
web3-utils "1.0.0-beta.37"
|
||||||
|
|
||||||
|
truffle-hdwallet-provider@0.0.7-beta.1:
|
||||||
|
version "0.0.7-beta.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/truffle-hdwallet-provider/-/truffle-hdwallet-provider-0.0.7-beta.1.tgz#ca5107a8c470eba9811f3ca760b53ff611e8485a"
|
||||||
|
integrity sha512-klqrlm19xkXuoYKTqjz+KSR/X2BMplqsgE7GcIxFkp2oR1NKqKFd8U/eAojpkpBLYd5W7gbFHMxhWKjQYViKKA==
|
||||||
|
dependencies:
|
||||||
|
bip39 "^2.2.0"
|
||||||
|
ethereumjs-wallet "0.6.0"
|
||||||
|
web3 "^0.18.2"
|
||||||
|
web3-provider-engine "^14.0.5"
|
||||||
|
|
||||||
truffle-init@^1.0.7:
|
truffle-init@^1.0.7:
|
||||||
version "1.0.7"
|
version "1.0.7"
|
||||||
resolved "https://registry.yarnpkg.com/truffle-init/-/truffle-init-1.0.7.tgz#c3de57fbddfa77ae93642ae025f41c1157de2ba7"
|
resolved "https://registry.yarnpkg.com/truffle-init/-/truffle-init-1.0.7.tgz#c3de57fbddfa77ae93642ae025f41c1157de2ba7"
|
||||||
|
@ -17168,6 +17304,11 @@ uuid@3.3.2, uuid@^3.0.0, uuid@^3.0.1, uuid@^3.1.0, uuid@^3.2.1, uuid@^3.3.2:
|
||||||
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131"
|
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131"
|
||||||
integrity sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==
|
integrity sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==
|
||||||
|
|
||||||
|
uuid@^2.0.1:
|
||||||
|
version "2.0.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/uuid/-/uuid-2.0.3.tgz#67e2e863797215530dff318e5bf9dcebfd47b21a"
|
||||||
|
integrity sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho=
|
||||||
|
|
||||||
v8-compile-cache@^2.0.2:
|
v8-compile-cache@^2.0.2:
|
||||||
version "2.0.2"
|
version "2.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.0.2.tgz#a428b28bb26790734c4fc8bc9fa106fccebf6a6c"
|
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.0.2.tgz#a428b28bb26790734c4fc8bc9fa106fccebf6a6c"
|
||||||
|
@ -17851,6 +17992,32 @@ web3-provider-engine@14.1.0:
|
||||||
xhr "^2.2.0"
|
xhr "^2.2.0"
|
||||||
xtend "^4.0.1"
|
xtend "^4.0.1"
|
||||||
|
|
||||||
|
web3-provider-engine@^14.0.5:
|
||||||
|
version "14.2.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/web3-provider-engine/-/web3-provider-engine-14.2.0.tgz#2efec157b2c429c5c674c079aea96b0a06de8b3d"
|
||||||
|
integrity sha512-sfLH5VhGjJrJJT5WcF8aGehcIKRUQ553q9tjQkkLaKU2AaLsRcwffnnWvrgeTkmKSf0y9dwkDTa48RVp+GUCSg==
|
||||||
|
dependencies:
|
||||||
|
async "^2.5.0"
|
||||||
|
backoff "^2.5.0"
|
||||||
|
clone "^2.0.0"
|
||||||
|
cross-fetch "^2.1.0"
|
||||||
|
eth-block-tracker "^3.0.0"
|
||||||
|
eth-json-rpc-infura "^3.1.0"
|
||||||
|
eth-sig-util "^1.4.2"
|
||||||
|
ethereumjs-block "^1.2.2"
|
||||||
|
ethereumjs-tx "^1.2.0"
|
||||||
|
ethereumjs-util "^5.1.5"
|
||||||
|
ethereumjs-vm "^2.3.4"
|
||||||
|
json-rpc-error "^2.0.0"
|
||||||
|
json-stable-stringify "^1.0.1"
|
||||||
|
promise-to-callback "^1.0.0"
|
||||||
|
readable-stream "^2.2.9"
|
||||||
|
request "^2.85.0"
|
||||||
|
semaphore "^1.0.3"
|
||||||
|
ws "^5.1.1"
|
||||||
|
xhr "^2.2.0"
|
||||||
|
xtend "^4.0.1"
|
||||||
|
|
||||||
web3-providers-http@1.0.0-beta.35:
|
web3-providers-http@1.0.0-beta.35:
|
||||||
version "1.0.0-beta.35"
|
version "1.0.0-beta.35"
|
||||||
resolved "https://registry.yarnpkg.com/web3-providers-http/-/web3-providers-http-1.0.0-beta.35.tgz#92059d9d6de6e9f82f4fae30b743efd841afc1e1"
|
resolved "https://registry.yarnpkg.com/web3-providers-http/-/web3-providers-http-1.0.0-beta.35.tgz#92059d9d6de6e9f82f4fae30b743efd841afc1e1"
|
||||||
|
@ -18028,7 +18195,7 @@ web3@^0.16.0:
|
||||||
utf8 "^2.1.1"
|
utf8 "^2.1.1"
|
||||||
xmlhttprequest "*"
|
xmlhttprequest "*"
|
||||||
|
|
||||||
web3@^0.18.4:
|
web3@^0.18.2, web3@^0.18.4:
|
||||||
version "0.18.4"
|
version "0.18.4"
|
||||||
resolved "https://registry.yarnpkg.com/web3/-/web3-0.18.4.tgz#81ec1784145491f2eaa8955b31c06049e07c5e7d"
|
resolved "https://registry.yarnpkg.com/web3/-/web3-0.18.4.tgz#81ec1784145491f2eaa8955b31c06049e07c5e7d"
|
||||||
integrity sha1-gewXhBRUkfLqqJVbMcBgSeB8Xn0=
|
integrity sha1-gewXhBRUkfLqqJVbMcBgSeB8Xn0=
|
||||||
|
@ -18371,14 +18538,6 @@ which@^1.2.14, which@^1.2.9, which@^1.3.0, which@^1.3.1:
|
||||||
dependencies:
|
dependencies:
|
||||||
isexe "^2.0.0"
|
isexe "^2.0.0"
|
||||||
|
|
||||||
why-did-you-update@^1.0.6:
|
|
||||||
version "1.0.6"
|
|
||||||
resolved "https://registry.yarnpkg.com/why-did-you-update/-/why-did-you-update-1.0.6.tgz#2e2c6a04291e715755ecdff1ac8272f721df6f04"
|
|
||||||
integrity sha512-XVrdHhdrPBDuSW8b/uH6DCb1/0984qv8KElpE8NZiRvWZX8nw49av577+ZyIrxSNesi6r2cQEhpxQTKFFHTj8A==
|
|
||||||
dependencies:
|
|
||||||
lodash "^4.17.11"
|
|
||||||
react-fast-compare "^2.0.3"
|
|
||||||
|
|
||||||
wide-align@^1.1.0:
|
wide-align@^1.1.0:
|
||||||
version "1.1.3"
|
version "1.1.3"
|
||||||
resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457"
|
resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457"
|
||||||
|
|
Loading…
Reference in New Issue