From 7dcf3746e9d882ba2a329bb1203dcc98bdf59af4 Mon Sep 17 00:00:00 2001 From: Ariel Barmat Date: Thu, 22 Feb 2018 10:21:46 -0300 Subject: [PATCH] chore: update ABI of Marketplace contract --- src/contracts/artifacts/Marketplace.json | 294 ++++++++++++++++++++++- 1 file changed, 290 insertions(+), 4 deletions(-) diff --git a/src/contracts/artifacts/Marketplace.json b/src/contracts/artifacts/Marketplace.json index 3511c8e..0661c9f 100644 --- a/src/contracts/artifacts/Marketplace.json +++ b/src/contracts/artifacts/Marketplace.json @@ -1,8 +1,294 @@ { "contractName": "Marketplace", - "abi": [], - "compiler": {}, + "abi": [ + { + "constant": false, + "inputs": [ + { + "name": "ownerCut", + "type": "uint8" + } + ], + "name": "setOwnerCut", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "assetId", + "type": "uint256" + } + ], + "name": "cancelOrder", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "", + "type": "uint256" + } + ], + "name": "auctionList", + "outputs": [ + { + "name": "seller", + "type": "address" + }, + { + "name": "price", + "type": "uint256" + }, + { + "name": "startedAt", + "type": "uint256" + }, + { + "name": "expiresAt", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "ownerCutPercentage", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "owner", + "outputs": [ + { + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "assetId", + "type": "uint256" + } + ], + "name": "executeOrder", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "assetId", + "type": "uint256" + }, + { + "name": "priceInWei", + "type": "uint256" + }, + { + "name": "expiresAt", + "type": "uint256" + } + ], + "name": "createOrder", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "publicationFeeInWei", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "publicationFee", + "type": "uint256" + } + ], + "name": "setPublicationFee", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "name": "_acceptedToken", + "type": "address" + }, + { + "name": "_nonFungibleRegistry", + "type": "address" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "assetId", + "type": "uint256" + }, + { + "indexed": true, + "name": "creator", + "type": "address" + }, + { + "indexed": false, + "name": "priceInWei", + "type": "uint256" + }, + { + "indexed": false, + "name": "expiresAt", + "type": "uint256" + } + ], + "name": "AuctionCreated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "assetId", + "type": "uint256" + }, + { + "indexed": false, + "name": "totalPrice", + "type": "uint256" + }, + { + "indexed": true, + "name": "winner", + "type": "address" + } + ], + "name": "AuctionSuccessful", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "assetId", + "type": "uint256" + } + ], + "name": "AuctionCancelled", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "publicationFee", + "type": "uint256" + } + ], + "name": "ChangedPublicationFee", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "ownerCut", + "type": "uint256" + } + ], + "name": "ChangedOwnerCut", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + } + ], + "compiler": { + "name": "solc", + "version": "0.4.19+commit.c4cbbb05.Emscripten.clang" + }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2018-01-20T20:59:16.190Z" -} + "updatedAt": "2018-02-22T03:32:21.886Z" +} \ No newline at end of file