@graphprotocol/graph-cli
Version:
CLI for building for and deploying to The Graph
409 lines (408 loc) • 7.22 kB
JSON
[
{
"constant": true,
"inputs": [],
"name": "nonFungibleRegistry",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "unpause",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "acceptedToken",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "paused",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "ownerCutPercentage",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "destroy",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "pause",
"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": "publicationFeeInWei",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"name": "auctionByAssetId",
"outputs": [
{
"name": "id",
"type": "bytes32"
},
{
"name": "seller",
"type": "address"
},
{
"name": "price",
"type": "uint256"
},
{
"name": "expiresAt",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_recipient",
"type": "address"
}
],
"name": "destroyAndSend",
"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": false,
"name": "id",
"type": "bytes32"
},
{
"indexed": true,
"name": "assetId",
"type": "uint256"
},
{
"indexed": true,
"name": "seller",
"type": "address"
},
{
"indexed": false,
"name": "priceInWei",
"type": "uint256"
},
{
"indexed": false,
"name": "expiresAt",
"type": "uint256"
}
],
"name": "AuctionCreated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "id",
"type": "bytes32"
},
{
"indexed": true,
"name": "assetId",
"type": "uint256"
},
{
"indexed": true,
"name": "seller",
"type": "address"
},
{
"indexed": false,
"name": "totalPrice",
"type": "uint256"
},
{
"indexed": true,
"name": "winner",
"type": "address"
}
],
"name": "AuctionSuccessful",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "id",
"type": "bytes32"
},
{
"indexed": true,
"name": "assetId",
"type": "uint256"
},
{
"indexed": true,
"name": "seller",
"type": "address"
}
],
"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": [],
"name": "Pause",
"type": "event"
},
{
"anonymous": false,
"inputs": [],
"name": "Unpause",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
},
{
"constant": false,
"inputs": [
{
"name": "publicationFee",
"type": "uint256"
}
],
"name": "setPublicationFee",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "ownerCut",
"type": "uint8"
}
],
"name": "setOwnerCut",
"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": false,
"inputs": [
{
"name": "assetId",
"type": "uint256"
}
],
"name": "cancelOrder",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "assetId",
"type": "uint256"
},
{
"name": "price",
"type": "uint256"
}
],
"name": "executeOrder",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
}
]