olympus-protocol-connector
Version:
Module made by Olympus Labs for easier access to the Olympus protocol through Javascript/Typescript
134 lines • 2.89 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MARKET_PLACE_ABI = [
{
constant: true,
inputs: [
{
name: '',
type: 'uint256',
},
],
name: 'products',
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: '',
type: 'address',
},
{
name: '',
type: 'uint256',
},
],
name: 'productMappings',
outputs: [
{
name: '',
type: 'address',
},
],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [
{
name: 'newOwner',
type: 'address',
},
],
name: 'transferOwnership',
outputs: [],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
anonymous: false,
inputs: [
{
indexed: true,
name: 'previousOwner',
type: 'address',
},
{
indexed: true,
name: 'newOwner',
type: 'address',
},
],
name: 'OwnershipTransferred',
type: 'event',
},
{
constant: true,
inputs: [],
name: 'getAllProducts',
outputs: [
{
name: 'allProducts',
type: 'address[]',
},
],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [],
name: 'registerProduct',
outputs: [
{
name: 'success',
type: 'bool',
},
],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: true,
inputs: [],
name: 'getOwnProducts',
outputs: [
{
name: 'addresses',
type: 'address[]',
},
],
payable: false,
stateMutability: 'view',
type: 'function',
},
];
//# sourceMappingURL=MarketPlace.js.map