@gnosis.pm/conditional-tokens-contracts
Advanced tools
Comparing version 0.5.4 to 1.0.0
@@ -513,3 +513,3 @@ { | ||
"schemaVersion": "3.0.16", | ||
"updatedAt": "2019-11-04T15:42:49.881Z", | ||
"updatedAt": "2019-12-09T11:24:15.958Z", | ||
"devdoc": { | ||
@@ -516,0 +516,0 @@ "details": "Collection of functions related to the address type,", |
@@ -100,3 +100,3 @@ { | ||
], | ||
"metadata": "{\"compiler\":{\"version\":\"0.5.10+commit.5a6ea5b1\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[{\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"operator\",\"type\":\"address\"},{\"name\":\"from\",\"type\":\"address\"},{\"name\":\"ids\",\"type\":\"uint256[]\"},{\"name\":\"values\",\"type\":\"uint256[]\"},{\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes4\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"operator\",\"type\":\"address\"},{\"name\":\"from\",\"type\":\"address\"},{\"name\":\"id\",\"type\":\"uint256\"},{\"name\":\"value\",\"type\":\"uint256\"},{\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onERC1155Received\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes4\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"}],\"devdoc\":{\"methods\":{\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\":{\"details\":\"Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256(\\\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\\\"))` (i.e. 0xbc197c81, or its own function selector).\",\"params\":{\"data\":\"Additional data with no specified format\",\"from\":\"The address which previously owned the token\",\"ids\":\"An array containing ids of each token being transferred (order and length must match values array)\",\"operator\":\"The address which initiated the batch transfer (i.e. msg.sender)\",\"values\":\"An array containing amounts of each token being transferred (order and length must match ids array)\"},\"return\":\"`bytes4(keccak256(\\\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\\\"))` if transfer is allowed\"},\"onERC1155Received(address,address,uint256,uint256,bytes)\":{\"details\":\"Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256(\\\"onERC1155Received(address,address,uint256,uint256,bytes)\\\"))` (i.e. 0xf23a6e61, or its own function selector).\",\"params\":{\"data\":\"Additional data with no specified format\",\"from\":\"The address which previously owned the token\",\"id\":\"The ID of the token being transferred\",\"operator\":\"The address which initiated the transfer (i.e. msg.sender)\",\"value\":\"The amount of tokens being transferred\"},\"return\":\"`bytes4(keccak256(\\\"onERC1155Received(address,address,uint256,uint256,bytes)\\\"))` if transfer is allowed\"},\"supportsInterface(bytes4)\":{\"details\":\"See `IERC165.supportsInterface`. * Time complexity O(1), guaranteed to always use less than 30 000 gas.\"}}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/home/alan/src/github.com/gnosis/conditional-tokens-contracts/contracts/ERC1155/ERC1155TokenReceiver.sol\":\"ERC1155TokenReceiver\"},\"evmVersion\":\"petersburg\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/alan/src/github.com/gnosis/conditional-tokens-contracts/contracts/ERC1155/ERC1155TokenReceiver.sol\":{\"keccak256\":\"0x5d1e709c759b9bd72865c8608582d66fc338fde3a77f41abb04ae943915a5695\",\"urls\":[\"bzzr://55e5a597486430ad437bb8c8f0c93cf573b833fa84ccf64a25afaa01c761b839\",\"dweb:/ipfs/QmQ727N1676jG9F5iwakSG2RNeV82TVBGJHgHPmHxib8ah\"]},\"/home/alan/src/github.com/gnosis/conditional-tokens-contracts/contracts/ERC1155/IERC1155TokenReceiver.sol\":{\"keccak256\":\"0xca815b5ca57df8f1056b962c2728d6a1e56fc7d9a7869ccee8f5a1ac6075b75d\",\"urls\":[\"bzzr://61df3e61bf24c80714e326ffdc274aaefc342241de3e72374131f613cddbd042\",\"dweb:/ipfs/QmPnF3rGuY2H3Gifvha4dW7fJPptP7wJerHzjz4dpzfTJW\"]},\"openzeppelin-solidity/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xac2eacd7e7762e275442f28f21d821544df5aae2ed7698af13be8c41b7005e2e\",\"urls\":[\"bzzr://43e901f6f210568ebc1d3591da3ce6a9d10796b854767a9c6e3da10305a8a332\",\"dweb:/ipfs/QmQhfx2Ufr8a2gFXm3KogL66xGgAuAWMwcamkWFKGG6Vya\"]},\"openzeppelin-solidity/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0x661553e43d7c4fbb2de504e5999fd5c104d367488350ed5bf023031bd1ba5ac5\",\"urls\":[\"bzzr://fc2ba15143ce3a00268ecd15fc98eb2469b18bfe27a64bbab0ac6446f161c739\",\"dweb:/ipfs/QmV7wjtRf11ibUHh4g8JjuhMpy68pPhV95L2y46UBoRfsZ\"]}},\"version\":1}", | ||
"metadata": "{\"compiler\":{\"version\":\"0.5.10+commit.5a6ea5b1\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[{\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"operator\",\"type\":\"address\"},{\"name\":\"from\",\"type\":\"address\"},{\"name\":\"ids\",\"type\":\"uint256[]\"},{\"name\":\"values\",\"type\":\"uint256[]\"},{\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes4\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"operator\",\"type\":\"address\"},{\"name\":\"from\",\"type\":\"address\"},{\"name\":\"id\",\"type\":\"uint256\"},{\"name\":\"value\",\"type\":\"uint256\"},{\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onERC1155Received\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes4\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"}],\"devdoc\":{\"methods\":{\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\":{\"details\":\"Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256(\\\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\\\"))` (i.e. 0xbc197c81, or its own function selector).\",\"params\":{\"data\":\"Additional data with no specified format\",\"from\":\"The address which previously owned the token\",\"ids\":\"An array containing ids of each token being transferred (order and length must match values array)\",\"operator\":\"The address which initiated the batch transfer (i.e. msg.sender)\",\"values\":\"An array containing amounts of each token being transferred (order and length must match ids array)\"},\"return\":\"`bytes4(keccak256(\\\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\\\"))` if transfer is allowed\"},\"onERC1155Received(address,address,uint256,uint256,bytes)\":{\"details\":\"Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256(\\\"onERC1155Received(address,address,uint256,uint256,bytes)\\\"))` (i.e. 0xf23a6e61, or its own function selector).\",\"params\":{\"data\":\"Additional data with no specified format\",\"from\":\"The address which previously owned the token\",\"id\":\"The ID of the token being transferred\",\"operator\":\"The address which initiated the transfer (i.e. msg.sender)\",\"value\":\"The amount of tokens being transferred\"},\"return\":\"`bytes4(keccak256(\\\"onERC1155Received(address,address,uint256,uint256,bytes)\\\"))` if transfer is allowed\"},\"supportsInterface(bytes4)\":{\"details\":\"See `IERC165.supportsInterface`. * Time complexity O(1), guaranteed to always use less than 30 000 gas.\"}}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/denis/projects/gnosis/conditional-tokens-contracts/contracts/ERC1155/ERC1155TokenReceiver.sol\":\"ERC1155TokenReceiver\"},\"evmVersion\":\"petersburg\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/denis/projects/gnosis/conditional-tokens-contracts/contracts/ERC1155/ERC1155TokenReceiver.sol\":{\"keccak256\":\"0x5d1e709c759b9bd72865c8608582d66fc338fde3a77f41abb04ae943915a5695\",\"urls\":[\"bzzr://55e5a597486430ad437bb8c8f0c93cf573b833fa84ccf64a25afaa01c761b839\",\"dweb:/ipfs/QmQ727N1676jG9F5iwakSG2RNeV82TVBGJHgHPmHxib8ah\"]},\"/Users/denis/projects/gnosis/conditional-tokens-contracts/contracts/ERC1155/IERC1155TokenReceiver.sol\":{\"keccak256\":\"0xca815b5ca57df8f1056b962c2728d6a1e56fc7d9a7869ccee8f5a1ac6075b75d\",\"urls\":[\"bzzr://61df3e61bf24c80714e326ffdc274aaefc342241de3e72374131f613cddbd042\",\"dweb:/ipfs/QmPnF3rGuY2H3Gifvha4dW7fJPptP7wJerHzjz4dpzfTJW\"]},\"openzeppelin-solidity/contracts/introspection/ERC165.sol\":{\"keccak256\":\"0xac2eacd7e7762e275442f28f21d821544df5aae2ed7698af13be8c41b7005e2e\",\"urls\":[\"bzzr://43e901f6f210568ebc1d3591da3ce6a9d10796b854767a9c6e3da10305a8a332\",\"dweb:/ipfs/QmQhfx2Ufr8a2gFXm3KogL66xGgAuAWMwcamkWFKGG6Vya\"]},\"openzeppelin-solidity/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0x661553e43d7c4fbb2de504e5999fd5c104d367488350ed5bf023031bd1ba5ac5\",\"urls\":[\"bzzr://fc2ba15143ce3a00268ecd15fc98eb2469b18bfe27a64bbab0ac6446f161c739\",\"dweb:/ipfs/QmV7wjtRf11ibUHh4g8JjuhMpy68pPhV95L2y46UBoRfsZ\"]}},\"version\":1}", | ||
"bytecode": "0x", | ||
@@ -107,5 +107,5 @@ "deployedBytecode": "0x", | ||
"source": "pragma solidity ^0.5.0;\n\nimport \"./IERC1155TokenReceiver.sol\";\nimport \"openzeppelin-solidity/contracts/introspection/ERC165.sol\";\n\ncontract ERC1155TokenReceiver is ERC165, IERC1155TokenReceiver {\n constructor() public {\n _registerInterface(\n ERC1155TokenReceiver(0).onERC1155Received.selector ^\n ERC1155TokenReceiver(0).onERC1155BatchReceived.selector\n );\n }\n}\n", | ||
"sourcePath": "/home/alan/src/github.com/gnosis/conditional-tokens-contracts/contracts/ERC1155/ERC1155TokenReceiver.sol", | ||
"sourcePath": "/Users/denis/projects/gnosis/conditional-tokens-contracts/contracts/ERC1155/ERC1155TokenReceiver.sol", | ||
"ast": { | ||
"absolutePath": "/home/alan/src/github.com/gnosis/conditional-tokens-contracts/contracts/ERC1155/ERC1155TokenReceiver.sol", | ||
"absolutePath": "/Users/denis/projects/gnosis/conditional-tokens-contracts/contracts/ERC1155/ERC1155TokenReceiver.sol", | ||
"exportedSymbols": { | ||
@@ -131,3 +131,3 @@ "ERC1155TokenReceiver": [ | ||
{ | ||
"absolutePath": "/home/alan/src/github.com/gnosis/conditional-tokens-contracts/contracts/ERC1155/IERC1155TokenReceiver.sol", | ||
"absolutePath": "/Users/denis/projects/gnosis/conditional-tokens-contracts/contracts/ERC1155/IERC1155TokenReceiver.sol", | ||
"file": "./IERC1155TokenReceiver.sol", | ||
@@ -483,3 +483,3 @@ "id": 2027, | ||
"legacyAST": { | ||
"absolutePath": "/home/alan/src/github.com/gnosis/conditional-tokens-contracts/contracts/ERC1155/ERC1155TokenReceiver.sol", | ||
"absolutePath": "/Users/denis/projects/gnosis/conditional-tokens-contracts/contracts/ERC1155/ERC1155TokenReceiver.sol", | ||
"exportedSymbols": { | ||
@@ -505,3 +505,3 @@ "ERC1155TokenReceiver": [ | ||
{ | ||
"absolutePath": "/home/alan/src/github.com/gnosis/conditional-tokens-contracts/contracts/ERC1155/IERC1155TokenReceiver.sol", | ||
"absolutePath": "/Users/denis/projects/gnosis/conditional-tokens-contracts/contracts/ERC1155/IERC1155TokenReceiver.sol", | ||
"file": "./IERC1155TokenReceiver.sol", | ||
@@ -862,3 +862,3 @@ "id": 2027, | ||
"schemaVersion": "3.0.16", | ||
"updatedAt": "2019-11-04T15:42:49.875Z", | ||
"updatedAt": "2019-12-09T11:24:15.953Z", | ||
"devdoc": { | ||
@@ -865,0 +865,0 @@ "methods": { |
@@ -1315,3 +1315,3 @@ { | ||
"schemaVersion": "3.0.16", | ||
"updatedAt": "2019-11-04T15:42:49.878Z", | ||
"updatedAt": "2019-12-09T11:24:15.956Z", | ||
"devdoc": { | ||
@@ -1318,0 +1318,0 @@ "details": "Implementation of the `IERC165` interface. * Contracts may inherit from this and call `_registerInterface` to declare their support of an interface.", |
@@ -94,3 +94,3 @@ { | ||
], | ||
"metadata": "{\"compiler\":{\"version\":\"0.5.10+commit.5a6ea5b1\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[{\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"operator\",\"type\":\"address\"},{\"name\":\"from\",\"type\":\"address\"},{\"name\":\"ids\",\"type\":\"uint256[]\"},{\"name\":\"values\",\"type\":\"uint256[]\"},{\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes4\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"operator\",\"type\":\"address\"},{\"name\":\"from\",\"type\":\"address\"},{\"name\":\"id\",\"type\":\"uint256\"},{\"name\":\"value\",\"type\":\"uint256\"},{\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onERC1155Received\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes4\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"See https://eips.ethereum.org/EIPS/eip-1155\",\"methods\":{\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\":{\"details\":\"Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256(\\\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\\\"))` (i.e. 0xbc197c81, or its own function selector).\",\"params\":{\"data\":\"Additional data with no specified format\",\"from\":\"The address which previously owned the token\",\"ids\":\"An array containing ids of each token being transferred (order and length must match values array)\",\"operator\":\"The address which initiated the batch transfer (i.e. msg.sender)\",\"values\":\"An array containing amounts of each token being transferred (order and length must match ids array)\"},\"return\":\"`bytes4(keccak256(\\\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\\\"))` if transfer is allowed\"},\"onERC1155Received(address,address,uint256,uint256,bytes)\":{\"details\":\"Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256(\\\"onERC1155Received(address,address,uint256,uint256,bytes)\\\"))` (i.e. 0xf23a6e61, or its own function selector).\",\"params\":{\"data\":\"Additional data with no specified format\",\"from\":\"The address which previously owned the token\",\"id\":\"The ID of the token being transferred\",\"operator\":\"The address which initiated the transfer (i.e. msg.sender)\",\"value\":\"The amount of tokens being transferred\"},\"return\":\"`bytes4(keccak256(\\\"onERC1155Received(address,address,uint256,uint256,bytes)\\\"))` if transfer is allowed\"},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) to learn more about how these ids are created. * This function call must use less than 30 000 gas.\"}},\"title\":\"ERC-1155 Multi Token Receiver Interface\"},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/home/alan/src/github.com/gnosis/conditional-tokens-contracts/contracts/ERC1155/IERC1155TokenReceiver.sol\":\"IERC1155TokenReceiver\"},\"evmVersion\":\"petersburg\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/alan/src/github.com/gnosis/conditional-tokens-contracts/contracts/ERC1155/IERC1155TokenReceiver.sol\":{\"keccak256\":\"0xca815b5ca57df8f1056b962c2728d6a1e56fc7d9a7869ccee8f5a1ac6075b75d\",\"urls\":[\"bzzr://61df3e61bf24c80714e326ffdc274aaefc342241de3e72374131f613cddbd042\",\"dweb:/ipfs/QmPnF3rGuY2H3Gifvha4dW7fJPptP7wJerHzjz4dpzfTJW\"]},\"openzeppelin-solidity/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0x661553e43d7c4fbb2de504e5999fd5c104d367488350ed5bf023031bd1ba5ac5\",\"urls\":[\"bzzr://fc2ba15143ce3a00268ecd15fc98eb2469b18bfe27a64bbab0ac6446f161c739\",\"dweb:/ipfs/QmV7wjtRf11ibUHh4g8JjuhMpy68pPhV95L2y46UBoRfsZ\"]}},\"version\":1}", | ||
"metadata": "{\"compiler\":{\"version\":\"0.5.10+commit.5a6ea5b1\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[{\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"operator\",\"type\":\"address\"},{\"name\":\"from\",\"type\":\"address\"},{\"name\":\"ids\",\"type\":\"uint256[]\"},{\"name\":\"values\",\"type\":\"uint256[]\"},{\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes4\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"operator\",\"type\":\"address\"},{\"name\":\"from\",\"type\":\"address\"},{\"name\":\"id\",\"type\":\"uint256\"},{\"name\":\"value\",\"type\":\"uint256\"},{\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onERC1155Received\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes4\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"See https://eips.ethereum.org/EIPS/eip-1155\",\"methods\":{\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\":{\"details\":\"Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256(\\\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\\\"))` (i.e. 0xbc197c81, or its own function selector).\",\"params\":{\"data\":\"Additional data with no specified format\",\"from\":\"The address which previously owned the token\",\"ids\":\"An array containing ids of each token being transferred (order and length must match values array)\",\"operator\":\"The address which initiated the batch transfer (i.e. msg.sender)\",\"values\":\"An array containing amounts of each token being transferred (order and length must match ids array)\"},\"return\":\"`bytes4(keccak256(\\\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\\\"))` if transfer is allowed\"},\"onERC1155Received(address,address,uint256,uint256,bytes)\":{\"details\":\"Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256(\\\"onERC1155Received(address,address,uint256,uint256,bytes)\\\"))` (i.e. 0xf23a6e61, or its own function selector).\",\"params\":{\"data\":\"Additional data with no specified format\",\"from\":\"The address which previously owned the token\",\"id\":\"The ID of the token being transferred\",\"operator\":\"The address which initiated the transfer (i.e. msg.sender)\",\"value\":\"The amount of tokens being transferred\"},\"return\":\"`bytes4(keccak256(\\\"onERC1155Received(address,address,uint256,uint256,bytes)\\\"))` if transfer is allowed\"},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) to learn more about how these ids are created. * This function call must use less than 30 000 gas.\"}},\"title\":\"ERC-1155 Multi Token Receiver Interface\"},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/denis/projects/gnosis/conditional-tokens-contracts/contracts/ERC1155/IERC1155TokenReceiver.sol\":\"IERC1155TokenReceiver\"},\"evmVersion\":\"petersburg\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/denis/projects/gnosis/conditional-tokens-contracts/contracts/ERC1155/IERC1155TokenReceiver.sol\":{\"keccak256\":\"0xca815b5ca57df8f1056b962c2728d6a1e56fc7d9a7869ccee8f5a1ac6075b75d\",\"urls\":[\"bzzr://61df3e61bf24c80714e326ffdc274aaefc342241de3e72374131f613cddbd042\",\"dweb:/ipfs/QmPnF3rGuY2H3Gifvha4dW7fJPptP7wJerHzjz4dpzfTJW\"]},\"openzeppelin-solidity/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0x661553e43d7c4fbb2de504e5999fd5c104d367488350ed5bf023031bd1ba5ac5\",\"urls\":[\"bzzr://fc2ba15143ce3a00268ecd15fc98eb2469b18bfe27a64bbab0ac6446f161c739\",\"dweb:/ipfs/QmV7wjtRf11ibUHh4g8JjuhMpy68pPhV95L2y46UBoRfsZ\"]}},\"version\":1}", | ||
"bytecode": "0x", | ||
@@ -101,5 +101,5 @@ "deployedBytecode": "0x", | ||
"source": "pragma solidity ^0.5.0;\n\nimport \"openzeppelin-solidity/contracts/introspection/IERC165.sol\";\n\n/**\n @title ERC-1155 Multi Token Receiver Interface\n @dev See https://eips.ethereum.org/EIPS/eip-1155\n*/\ncontract IERC1155TokenReceiver is IERC165 {\n\n /**\n @dev Handles the receipt of a single ERC1155 token type. This function is\n called at the end of a `safeTransferFrom` after the balance has been updated.\n To accept the transfer, this must return\n `bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))`\n (i.e. 0xf23a6e61, or its own function selector).\n @param operator The address which initiated the transfer (i.e. msg.sender)\n @param from The address which previously owned the token\n @param id The ID of the token being transferred\n @param value The amount of tokens being transferred\n @param data Additional data with no specified format\n @return `bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))` if transfer is allowed\n */\n function onERC1155Received(\n address operator,\n address from,\n uint256 id,\n uint256 value,\n bytes calldata data\n )\n external\n returns(bytes4);\n\n /**\n @dev Handles the receipt of a multiple ERC1155 token types. This function\n is called at the end of a `safeBatchTransferFrom` after the balances have\n been updated. To accept the transfer(s), this must return\n `bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))`\n (i.e. 0xbc197c81, or its own function selector).\n @param operator The address which initiated the batch transfer (i.e. msg.sender)\n @param from The address which previously owned the token\n @param ids An array containing ids of each token being transferred (order and length must match values array)\n @param values An array containing amounts of each token being transferred (order and length must match ids array)\n @param data Additional data with no specified format\n @return `bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))` if transfer is allowed\n */\n function onERC1155BatchReceived(\n address operator,\n address from,\n uint256[] calldata ids,\n uint256[] calldata values,\n bytes calldata data\n )\n external\n returns(bytes4);\n}\n", | ||
"sourcePath": "/home/alan/src/github.com/gnosis/conditional-tokens-contracts/contracts/ERC1155/IERC1155TokenReceiver.sol", | ||
"sourcePath": "/Users/denis/projects/gnosis/conditional-tokens-contracts/contracts/ERC1155/IERC1155TokenReceiver.sol", | ||
"ast": { | ||
"absolutePath": "/home/alan/src/github.com/gnosis/conditional-tokens-contracts/contracts/ERC1155/IERC1155TokenReceiver.sol", | ||
"absolutePath": "/Users/denis/projects/gnosis/conditional-tokens-contracts/contracts/ERC1155/IERC1155TokenReceiver.sol", | ||
"exportedSymbols": { | ||
@@ -572,3 +572,3 @@ "IERC1155TokenReceiver": [ | ||
"legacyAST": { | ||
"absolutePath": "/home/alan/src/github.com/gnosis/conditional-tokens-contracts/contracts/ERC1155/IERC1155TokenReceiver.sol", | ||
"absolutePath": "/Users/denis/projects/gnosis/conditional-tokens-contracts/contracts/ERC1155/IERC1155TokenReceiver.sol", | ||
"exportedSymbols": { | ||
@@ -1046,3 +1046,3 @@ "IERC1155TokenReceiver": [ | ||
"schemaVersion": "3.0.16", | ||
"updatedAt": "2019-11-04T15:42:49.876Z", | ||
"updatedAt": "2019-12-09T11:24:15.955Z", | ||
"devdoc": { | ||
@@ -1049,0 +1049,0 @@ "details": "See https://eips.ethereum.org/EIPS/eip-1155", |
@@ -281,3 +281,3 @@ { | ||
"schemaVersion": "3.0.16", | ||
"updatedAt": "2019-11-04T15:42:49.878Z", | ||
"updatedAt": "2019-12-09T11:24:15.956Z", | ||
"devdoc": { | ||
@@ -284,0 +284,0 @@ "details": "Interface of the ERC165 standard, as defined in the [EIP](https://eips.ethereum.org/EIPS/eip-165). * Implementers can declare support of contract interfaces, which can then be queried by others (`ERC165Checker`). * For an implementation, see `ERC165`.", |
@@ -67,11 +67,11 @@ { | ||
], | ||
"metadata": "{\"compiler\":{\"version\":\"0.5.10+commit.5a6ea5b1\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":false,\"inputs\":[{\"name\":\"newAddress\",\"type\":\"address\"}],\"name\":\"upgrade\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"lastCompletedMigration\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"completed\",\"type\":\"uint256\"}],\"name\":\"setCompleted\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/home/alan/src/github.com/gnosis/conditional-tokens-contracts/contracts/Migrations.sol\":\"Migrations\"},\"evmVersion\":\"petersburg\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/alan/src/github.com/gnosis/conditional-tokens-contracts/contracts/Migrations.sol\":{\"keccak256\":\"0x39666fa26b6e786234e01c48cdfdbbffe1a1af5dfe0fb74ec6b970daeb3f3bc3\",\"urls\":[\"bzzr://0c9536b8c4f627d916bf201ed9b72c99bddd268e16eaf4ed8d521ad6c9b27cab\",\"dweb:/ipfs/QmZVULUy8eqntGaErvJsuZN876vc6mNYwRVC9zC39QzjRx\"]}},\"version\":1}", | ||
"bytecode": "0x608060405234801561001057600080fd5b50600080546001600160a01b031916331790556101b3806100326000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80630900f010146100515780638da5cb5b14610079578063fbdbad3c1461009d578063fdacd576146100b7575b600080fd5b6100776004803603602081101561006757600080fd5b50356001600160a01b03166100d4565b005b610081610151565b604080516001600160a01b039092168252519081900360200190f35b6100a5610160565b60408051918252519081900360200190f35b610077600480360360208110156100cd57600080fd5b5035610166565b6000546001600160a01b031633141561014e576000819050806001600160a01b031663fdacd5766001546040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561013457600080fd5b505af1158015610148573d6000803e3d6000fd5b50505050505b50565b6000546001600160a01b031681565b60015481565b6000546001600160a01b031633141561014e5760015556fea265627a7a72305820c06760eb8f9c5d8a0cca3cbe078eb8b13f3b5162be86462d93078c7f1a1617dc64736f6c634300050a0032", | ||
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80630900f010146100515780638da5cb5b14610079578063fbdbad3c1461009d578063fdacd576146100b7575b600080fd5b6100776004803603602081101561006757600080fd5b50356001600160a01b03166100d4565b005b610081610151565b604080516001600160a01b039092168252519081900360200190f35b6100a5610160565b60408051918252519081900360200190f35b610077600480360360208110156100cd57600080fd5b5035610166565b6000546001600160a01b031633141561014e576000819050806001600160a01b031663fdacd5766001546040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561013457600080fd5b505af1158015610148573d6000803e3d6000fd5b50505050505b50565b6000546001600160a01b031681565b60015481565b6000546001600160a01b031633141561014e5760015556fea265627a7a72305820c06760eb8f9c5d8a0cca3cbe078eb8b13f3b5162be86462d93078c7f1a1617dc64736f6c634300050a0032", | ||
"metadata": "{\"compiler\":{\"version\":\"0.5.10+commit.5a6ea5b1\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":false,\"inputs\":[{\"name\":\"newAddress\",\"type\":\"address\"}],\"name\":\"upgrade\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"lastCompletedMigration\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"completed\",\"type\":\"uint256\"}],\"name\":\"setCompleted\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/denis/projects/gnosis/conditional-tokens-contracts/contracts/Migrations.sol\":\"Migrations\"},\"evmVersion\":\"petersburg\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/denis/projects/gnosis/conditional-tokens-contracts/contracts/Migrations.sol\":{\"keccak256\":\"0x39666fa26b6e786234e01c48cdfdbbffe1a1af5dfe0fb74ec6b970daeb3f3bc3\",\"urls\":[\"bzzr://0c9536b8c4f627d916bf201ed9b72c99bddd268e16eaf4ed8d521ad6c9b27cab\",\"dweb:/ipfs/QmZVULUy8eqntGaErvJsuZN876vc6mNYwRVC9zC39QzjRx\"]}},\"version\":1}", | ||
"bytecode": "0x608060405234801561001057600080fd5b50600080546001600160a01b031916331790556101b3806100326000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80630900f010146100515780638da5cb5b14610079578063fbdbad3c1461009d578063fdacd576146100b7575b600080fd5b6100776004803603602081101561006757600080fd5b50356001600160a01b03166100d4565b005b610081610151565b604080516001600160a01b039092168252519081900360200190f35b6100a5610160565b60408051918252519081900360200190f35b610077600480360360208110156100cd57600080fd5b5035610166565b6000546001600160a01b031633141561014e576000819050806001600160a01b031663fdacd5766001546040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561013457600080fd5b505af1158015610148573d6000803e3d6000fd5b50505050505b50565b6000546001600160a01b031681565b60015481565b6000546001600160a01b031633141561014e5760015556fea265627a7a723058200f53f3b210e9b2e05c90f4d64105202d89697151d9b669777aa5d5ba12af9e4b64736f6c634300050a0032", | ||
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80630900f010146100515780638da5cb5b14610079578063fbdbad3c1461009d578063fdacd576146100b7575b600080fd5b6100776004803603602081101561006757600080fd5b50356001600160a01b03166100d4565b005b610081610151565b604080516001600160a01b039092168252519081900360200190f35b6100a5610160565b60408051918252519081900360200190f35b610077600480360360208110156100cd57600080fd5b5035610166565b6000546001600160a01b031633141561014e576000819050806001600160a01b031663fdacd5766001546040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561013457600080fd5b505af1158015610148573d6000803e3d6000fd5b50505050505b50565b6000546001600160a01b031681565b60015481565b6000546001600160a01b031633141561014e5760015556fea265627a7a723058200f53f3b210e9b2e05c90f4d64105202d89697151d9b669777aa5d5ba12af9e4b64736f6c634300050a0032", | ||
"sourceMap": "26:512:6:-;;;190:56;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;221:5:6;:18;;-1:-1:-1;;;;;;221:18:6;229:10;221:18;;;26:512;;;;;;", | ||
"deployedSourceMap": "26:512:6:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26:512:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;365:171;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;365:171:6;-1:-1:-1;;;;;365:171:6;;:::i;:::-;;52:20;;;:::i;:::-;;;;-1:-1:-1;;;;;52:20:6;;;;;;;;;;;;;;78:34;;;:::i;:::-;;;;;;;;;;;;;;;;252:107;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;252:107:6;;:::i;365:171::-;169:5;;-1:-1:-1;;;;;169:5:6;155:10;:19;151:26;;;430:19;463:10;430:44;;484:8;-1:-1:-1;;;;;484:21:6;;506:22;;484:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;484:45:6;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;484:45:6;;;;176:1;151:26;365:171;:::o;52:20::-;;;-1:-1:-1;;;;;52:20:6;;:::o;78:34::-;;;;:::o;252:107::-;169:5;;-1:-1:-1;;;;;169:5:6;155:10;:19;151:26;;;318:22;:34;252:107::o", | ||
"source": "pragma solidity ^0.5.1;\n\n\ncontract Migrations {\n address public owner;\n uint public lastCompletedMigration;\n\n modifier restricted() {\n if (msg.sender == owner) _;\n }\n\n constructor() public {\n owner = msg.sender;\n }\n\n function setCompleted(uint completed) public restricted {\n lastCompletedMigration = completed;\n }\n\n function upgrade(address newAddress) public restricted {\n Migrations upgraded = Migrations(newAddress);\n upgraded.setCompleted(lastCompletedMigration);\n }\n}\n", | ||
"sourcePath": "/home/alan/src/github.com/gnosis/conditional-tokens-contracts/contracts/Migrations.sol", | ||
"sourcePath": "/Users/denis/projects/gnosis/conditional-tokens-contracts/contracts/Migrations.sol", | ||
"ast": { | ||
"absolutePath": "/home/alan/src/github.com/gnosis/conditional-tokens-contracts/contracts/Migrations.sol", | ||
"absolutePath": "/Users/denis/projects/gnosis/conditional-tokens-contracts/contracts/Migrations.sol", | ||
"exportedSymbols": { | ||
@@ -722,3 +722,3 @@ "Migrations": [ | ||
"legacyAST": { | ||
"absolutePath": "/home/alan/src/github.com/gnosis/conditional-tokens-contracts/contracts/Migrations.sol", | ||
"absolutePath": "/Users/denis/projects/gnosis/conditional-tokens-contracts/contracts/Migrations.sol", | ||
"exportedSymbols": { | ||
@@ -1372,5 +1372,18 @@ "Migrations": [ | ||
}, | ||
"networks": {}, | ||
"networks": { | ||
"1": { | ||
"events": {}, | ||
"links": {}, | ||
"address": "0x03Ce050DAEB28021086Bf8e9B7843d6212c05F7B", | ||
"transactionHash": "0x0ac0453238d2b4bb9ba0e393bb446c6453588fff9f259125c9a6cec4b0465336" | ||
}, | ||
"4": { | ||
"events": {}, | ||
"links": {}, | ||
"address": "0x06Fe100857e0cFE8B818E7476013C0203292D2A4", | ||
"transactionHash": "0xa424fff196b8c0521bd902036a894fd9b6a3b9d10cc63533ae8bbfec4a393134" | ||
} | ||
}, | ||
"schemaVersion": "3.0.16", | ||
"updatedAt": "2019-11-04T15:42:49.877Z", | ||
"updatedAt": "2019-12-09T11:24:15.955Z", | ||
"devdoc": { | ||
@@ -1377,0 +1390,0 @@ "methods": {} |
@@ -1,1 +0,596 @@ | ||
{} | ||
{ | ||
"ConditionalTokens": { | ||
"1": { | ||
"events": { | ||
"0xab3760c3bd2bb38b5bcf54dc79802ed67338b4cf29f3054ded67ed24661e4177": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"name": "conditionId", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "oracle", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "questionId", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "outcomeSlotCount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "ConditionPreparation", | ||
"type": "event", | ||
"signature": "0xab3760c3bd2bb38b5bcf54dc79802ed67338b4cf29f3054ded67ed24661e4177" | ||
}, | ||
"0xb44d84d3289691f71497564b85d4233648d9dbae8cbdbb4329f301c3a0185894": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"name": "conditionId", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "oracle", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "questionId", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "outcomeSlotCount", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "payoutNumerators", | ||
"type": "uint256[]" | ||
} | ||
], | ||
"name": "ConditionResolution", | ||
"type": "event", | ||
"signature": "0xb44d84d3289691f71497564b85d4233648d9dbae8cbdbb4329f301c3a0185894" | ||
}, | ||
"0x2e6bb91f8cbcda0c93623c54d0403a43514fabc40084ec96b6d5379a74786298": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"name": "stakeholder", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "collateralToken", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "parentCollectionId", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "conditionId", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "partition", | ||
"type": "uint256[]" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "amount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "PositionSplit", | ||
"type": "event", | ||
"signature": "0x2e6bb91f8cbcda0c93623c54d0403a43514fabc40084ec96b6d5379a74786298" | ||
}, | ||
"0x6f13ca62553fcc2bcd2372180a43949c1e4cebba603901ede2f4e14f36b282ca": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"name": "stakeholder", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "collateralToken", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "parentCollectionId", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "conditionId", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "partition", | ||
"type": "uint256[]" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "amount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "PositionsMerge", | ||
"type": "event", | ||
"signature": "0x6f13ca62553fcc2bcd2372180a43949c1e4cebba603901ede2f4e14f36b282ca" | ||
}, | ||
"0x2682012a4a4f1973119f1c9b90745d1bd91fa2bab387344f044cb3586864d18d": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"name": "redeemer", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "collateralToken", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "parentCollectionId", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "conditionId", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "indexSets", | ||
"type": "uint256[]" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "payout", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "PayoutRedemption", | ||
"type": "event", | ||
"signature": "0x2682012a4a4f1973119f1c9b90745d1bd91fa2bab387344f044cb3586864d18d" | ||
}, | ||
"0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"name": "operator", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "from", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "to", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "id", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "value", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "TransferSingle", | ||
"type": "event", | ||
"signature": "0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62" | ||
}, | ||
"0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"name": "operator", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "from", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "to", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "ids", | ||
"type": "uint256[]" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "values", | ||
"type": "uint256[]" | ||
} | ||
], | ||
"name": "TransferBatch", | ||
"type": "event", | ||
"signature": "0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb" | ||
}, | ||
"0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"name": "owner", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "operator", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "approved", | ||
"type": "bool" | ||
} | ||
], | ||
"name": "ApprovalForAll", | ||
"type": "event", | ||
"signature": "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31" | ||
}, | ||
"0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"name": "value", | ||
"type": "string" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "id", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "URI", | ||
"type": "event", | ||
"signature": "0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b" | ||
} | ||
}, | ||
"links": {}, | ||
"address": "0xC59b0e4De5F1248C1140964E0fF287B192407E0C", | ||
"transactionHash": "0x7e10ef2a2116a46153d52ad50d6428fa9f4b19c36c803ba2f707cd70b7434348" | ||
}, | ||
"4": { | ||
"events": { | ||
"0xab3760c3bd2bb38b5bcf54dc79802ed67338b4cf29f3054ded67ed24661e4177": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"name": "conditionId", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "oracle", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "questionId", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "outcomeSlotCount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "ConditionPreparation", | ||
"type": "event", | ||
"signature": "0xab3760c3bd2bb38b5bcf54dc79802ed67338b4cf29f3054ded67ed24661e4177" | ||
}, | ||
"0xb44d84d3289691f71497564b85d4233648d9dbae8cbdbb4329f301c3a0185894": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"name": "conditionId", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "oracle", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "questionId", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "outcomeSlotCount", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "payoutNumerators", | ||
"type": "uint256[]" | ||
} | ||
], | ||
"name": "ConditionResolution", | ||
"type": "event", | ||
"signature": "0xb44d84d3289691f71497564b85d4233648d9dbae8cbdbb4329f301c3a0185894" | ||
}, | ||
"0x2e6bb91f8cbcda0c93623c54d0403a43514fabc40084ec96b6d5379a74786298": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"name": "stakeholder", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "collateralToken", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "parentCollectionId", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "conditionId", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "partition", | ||
"type": "uint256[]" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "amount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "PositionSplit", | ||
"type": "event", | ||
"signature": "0x2e6bb91f8cbcda0c93623c54d0403a43514fabc40084ec96b6d5379a74786298" | ||
}, | ||
"0x6f13ca62553fcc2bcd2372180a43949c1e4cebba603901ede2f4e14f36b282ca": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"name": "stakeholder", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "collateralToken", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "parentCollectionId", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "conditionId", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "partition", | ||
"type": "uint256[]" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "amount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "PositionsMerge", | ||
"type": "event", | ||
"signature": "0x6f13ca62553fcc2bcd2372180a43949c1e4cebba603901ede2f4e14f36b282ca" | ||
}, | ||
"0x2682012a4a4f1973119f1c9b90745d1bd91fa2bab387344f044cb3586864d18d": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"name": "redeemer", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "collateralToken", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "parentCollectionId", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "conditionId", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "indexSets", | ||
"type": "uint256[]" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "payout", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "PayoutRedemption", | ||
"type": "event", | ||
"signature": "0x2682012a4a4f1973119f1c9b90745d1bd91fa2bab387344f044cb3586864d18d" | ||
}, | ||
"0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"name": "operator", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "from", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "to", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "id", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "value", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "TransferSingle", | ||
"type": "event", | ||
"signature": "0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62" | ||
}, | ||
"0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"name": "operator", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "from", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "to", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "ids", | ||
"type": "uint256[]" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "values", | ||
"type": "uint256[]" | ||
} | ||
], | ||
"name": "TransferBatch", | ||
"type": "event", | ||
"signature": "0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb" | ||
}, | ||
"0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"name": "owner", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "operator", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "approved", | ||
"type": "bool" | ||
} | ||
], | ||
"name": "ApprovalForAll", | ||
"type": "event", | ||
"signature": "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31" | ||
}, | ||
"0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"name": "value", | ||
"type": "string" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "id", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "URI", | ||
"type": "event", | ||
"signature": "0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b" | ||
} | ||
}, | ||
"links": {}, | ||
"address": "0x36bede640D19981A82090519bC1626249984c908", | ||
"transactionHash": "0x7db87634594160ae8acc745d38329f6e8902ae8cd98a9f1b10afb606b41c436b" | ||
} | ||
}, | ||
"Migrations": { | ||
"1": { | ||
"events": {}, | ||
"links": {}, | ||
"address": "0x03Ce050DAEB28021086Bf8e9B7843d6212c05F7B", | ||
"transactionHash": "0x0ac0453238d2b4bb9ba0e393bb446c6453588fff9f259125c9a6cec4b0465336" | ||
}, | ||
"4": { | ||
"events": {}, | ||
"links": {}, | ||
"address": "0x06Fe100857e0cFE8B818E7476013C0203292D2A4", | ||
"transactionHash": "0xa424fff196b8c0521bd902036a894fd9b6a3b9d10cc63533ae8bbfec4a393134" | ||
} | ||
} | ||
} |
{ | ||
"name": "@gnosis.pm/conditional-tokens-contracts", | ||
"version": "0.5.4", | ||
"version": "1.0.0", | ||
"description": "Collection of smart contracts for the conditional tokens", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
AI-detected potential malware
Supply chain riskAI has identified this package as malware. This is a strong signal that the package may be malicious.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
4733285
93019
0
0
1