Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Update OrderValidator and create DevUtils contract #1835

Merged
merged 10 commits into from
Jun 1, 2019
9 changes: 9 additions & 0 deletions contracts/asset-proxy/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
[
{
"version": "2.2.0",
"changes": [
{
"note": "Add `LibAssetProxyIds` and `LibAssetData` contracts",
"pr": 1835
}
]
},
{
"timestamp": 1558712885,
"version": "2.1.5",
Expand Down
1 change: 1 addition & 0 deletions contracts/asset-proxy/contracts/src/ERC1155Proxy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ contract ERC1155Proxy is
// Id of this proxy.
bytes4 constant internal PROXY_ID = bytes4(keccak256("ERC1155Assets(address,uint256[],uint256[],bytes)"));

// solhint-disable-next-line payable-fallback
function ()
external
{
Expand Down
12 changes: 10 additions & 2 deletions contracts/asset-proxy/contracts/src/interfaces/IAssetData.sol
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,23 @@ pragma experimental ABIEncoderV2;
// This argument is ABI encoded as one of the methods of this interface.
interface IAssetData {

function ERC20Token(address tokenContract)
function ERC20Token(address tokenAddress)
external;

function ERC721Token(
address tokenContract,
address tokenAddress,
uint256 tokenId
)
external;

function ERC1155Assets(
address tokenAddress,
uint256[] calldata tokenIds,
uint256[] calldata tokenValues,
bytes calldata callbackData
)
external;

function MultiAsset(
uint256[] calldata amounts,
bytes[] calldata nestedAssetData
Expand Down
Loading