tripio
Version:
Tripio SDK for JavaScript
495 lines • 11 kB
JavaScript
export default [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "from",
"type": "address"
},
{
"indexed": true,
"name": "to",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
},
{
"constant": false,
"inputs": [],
"name": "acceptOwnership",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_vendor",
"type": "address"
},
{
"indexed": false,
"name": "_name",
"type": "string"
}
],
"name": "VendorUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_vendor",
"type": "address"
},
{
"indexed": false,
"name": "_valid",
"type": "bool"
}
],
"name": "VendorValid",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_vendor",
"type": "address"
}
],
"name": "VendorRemoved",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_vendor",
"type": "address"
},
{
"indexed": false,
"name": "_name",
"type": "string"
}
],
"name": "VendorAdded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "_index",
"type": "uint256"
}
],
"name": "TokenRemoved",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_token",
"type": "address"
}
],
"name": "TokenAdded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "_uri",
"type": "string"
}
],
"name": "TokenBaseURIChanged",
"type": "event"
},
{
"constant": false,
"inputs": [
{
"name": "_contract",
"type": "address"
}
],
"name": "addToken",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_vendor",
"type": "address"
},
{
"name": "_name",
"type": "string"
}
],
"name": "addVendor",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "destroy",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_vendorId",
"type": "uint256"
},
{
"name": "_valid",
"type": "bool"
}
],
"name": "makeVendorValid",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_tokenId",
"type": "uint256"
}
],
"name": "removeToken",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_vendor",
"type": "address"
}
],
"name": "removeVendorByAddress",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_vendorId",
"type": "uint256"
}
],
"name": "removeVendorById",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"name": "_dataSource",
"type": "address"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"constant": false,
"inputs": [
{
"name": "_uri",
"type": "string"
}
],
"name": "updateBaseTokenURI",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_vendorId",
"type": "uint256"
},
{
"name": "_name",
"type": "string"
}
],
"name": "updateVendorName",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_tokenId",
"type": "uint256"
}
],
"name": "getToken",
"outputs": [
{
"name": "_symbol",
"type": "string"
},
{
"name": "_name",
"type": "string"
},
{
"name": "_decimals",
"type": "uint8"
},
{
"name": "_token",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_vendorId",
"type": "uint256"
}
],
"name": "getVendor",
"outputs": [
{
"name": "_name",
"type": "string"
},
{
"name": "_vendor",
"type": "address"
},
{
"name": "_timestamp",
"type": "uint256"
},
{
"name": "_valid",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_vendor",
"type": "address"
}
],
"name": "getVendorByAddress",
"outputs": [
{
"name": "_vendorId",
"type": "uint256"
},
{
"name": "_name",
"type": "string"
},
{
"name": "_timestamp",
"type": "uint256"
},
{
"name": "_valid",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_from",
"type": "uint256"
},
{
"name": "_limit",
"type": "uint256"
}
],
"name": "getVendorIds",
"outputs": [
{
"name": "",
"type": "uint256[]"
},
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "newOwner",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "owner",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_from",
"type": "uint256"
},
{
"name": "_limit",
"type": "uint256"
}
],
"name": "supportedTokens",
"outputs": [
{
"name": "",
"type": "uint256[]"
},
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
}
];