UNPKG

olympus-protocol-connector

Version:

Module made by Olympus Labs for easier access to the Olympus protocol through Javascript/Typescript

1,148 lines 24.1 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BINARY_FUTURE_ABI = [ { constant: true, inputs: [], name: 'name', outputs: [ { name: '', type: 'string', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'LOCKER', outputs: [ { name: '', type: 'bytes32', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [ { name: '', type: 'address', }, ], name: 'userRedeemBalance', outputs: [ { name: '', type: 'uint256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'WITHDRAW', outputs: [ { name: '', type: 'bytes32', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'fundType', outputs: [ { name: '', type: 'uint8', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'status', outputs: [ { name: '', type: 'uint8', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [ { name: '_name', type: 'bytes32', }, ], name: 'getComponentByName', outputs: [ { name: '', type: 'address', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: false, inputs: [ { name: '_name', type: 'bytes32', }, ], name: 'updateComponent', outputs: [ { name: '', type: 'address', }, ], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: true, inputs: [], name: 'REWARDS_PERCENTAGE', outputs: [ { name: '', type: 'uint256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'investingPeriod', outputs: [ { name: '', type: 'uint256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'ORACLE', outputs: [ { name: '', type: 'bytes32', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'MIN_REWARDS', outputs: [ { name: '', type: 'uint256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'TOKEN_DENOMINATOR', outputs: [ { name: '', type: 'uint256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'componentList', outputs: [ { name: '', type: 'address', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'targetAddress', outputs: [ { name: '', type: 'address', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'STEP', outputs: [ { name: '', type: 'bytes32', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'version', outputs: [ { name: '', type: 'string', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'LONG', outputs: [ { name: '', type: 'int256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [ { name: '', type: 'uint256', }, ], name: 'winnersBalances', outputs: [ { name: '', type: 'uint256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'MAX_INVESTORS', outputs: [ { name: '', type: 'uint256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: false, inputs: [], name: 'renounceOwnership', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: true, inputs: [], name: 'description', outputs: [ { name: '', type: 'string', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'futureOwnBalance', outputs: [ { name: '', type: 'uint256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'PRICE', outputs: [ { name: '', type: 'bytes32', }, ], 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: 'DENOMINATOR', outputs: [ { name: '', type: 'uint256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'symbol', outputs: [ { name: '', type: 'string', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [ { name: '', type: 'uint256', }, ], name: 'winnersInvestment', outputs: [ { name: '', type: 'uint256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'SHORT', outputs: [ { name: '', type: 'int256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'EXCHANGE', outputs: [ { name: '', type: 'bytes32', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'longToken', outputs: [ { name: '', type: 'address', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'REIMBURSABLE', outputs: [ { name: '', type: 'bytes32', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [ { name: '', type: 'uint256', }, ], name: 'prices', outputs: [ { name: '', type: 'uint256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'FEE', outputs: [ { name: '', type: 'bytes32', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'REBALANCE', outputs: [ { name: '', type: 'bytes32', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'shortToken', outputs: [ { name: '', type: 'address', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [ { name: '', type: 'uint256', }, ], name: 'tokensCleared', outputs: [ { name: '', type: 'bool', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'category', outputs: [ { name: '', type: 'bytes32', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: false, inputs: [ { name: '_newOwner', type: 'address', }, ], name: 'transferOwnership', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: true, inputs: [], name: 'MARKET', outputs: [ { name: '', type: 'bytes32', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'accumulatedFee', outputs: [ { name: '', type: 'uint256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [ { name: '', type: 'uint256', }, ], name: 'winnersBalancesRedeemed', outputs: [ { name: '', type: 'uint256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'MAX_REWARDS', outputs: [ { name: '', type: 'uint256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { inputs: [ { name: '_name', type: 'string', }, { name: '_description', type: 'string', }, { name: '_symbol', type: 'string', }, { name: '_category', type: 'bytes32', }, { name: '_targetAddress', type: 'address', }, { name: '_investingPeriod', type: 'uint256', }, ], payable: false, stateMutability: 'nonpayable', type: 'constructor', }, { payable: true, stateMutability: 'payable', type: 'fallback', }, { anonymous: false, inputs: [ { indexed: false, name: '_direction', type: 'int256', }, { indexed: false, name: '_period', type: 'uint256', }, { indexed: false, name: '_holder', type: 'address', }, { indexed: false, name: '_amount', type: 'uint256', }, ], name: 'DepositReturned', type: 'event', }, { anonymous: false, inputs: [ { indexed: false, name: '_direction', type: 'int256', }, { indexed: false, name: '_period', type: 'uint256', }, { indexed: false, name: '_holder', type: 'address', }, { indexed: false, name: '_amount', type: 'uint256', }, ], name: 'Benefits', type: 'event', }, { anonymous: false, inputs: [ { indexed: false, name: '_amount', type: 'uint256', }, { indexed: false, name: '_to', type: 'address', }, ], name: 'CallerRewarded', type: 'event', }, { anonymous: false, inputs: [ { indexed: false, name: '_name', type: 'bytes32', }, { indexed: false, name: '_componentAddress', type: 'address', }, ], name: 'ComponentUpdated', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, name: 'previousOwner', type: 'address', }, ], name: 'OwnershipRenounced', 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: '_componentList', type: 'address', }, { name: '_fee', type: 'uint256', }, ], name: 'initialize', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: true, inputs: [], name: 'getName', outputs: [ { name: '', type: 'string', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'getDescription', outputs: [ { name: '', type: 'string', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'getTargetAddress', outputs: [ { name: '', type: 'address', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'getLongToken', outputs: [ { name: '', type: 'address', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'getShortToken', outputs: [ { name: '', type: 'address', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [ { name: '_seconds', type: 'uint256', }, ], name: 'getPeriod', outputs: [ { name: '', type: 'uint256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'getCurrentPeriod', outputs: [ { name: '', type: 'uint256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'getTargetPrice', outputs: [ { name: '', type: 'uint256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: false, inputs: [ { name: '_direction', type: 'int256', }, { name: '_period', type: 'uint256', }, ], name: 'invest', outputs: [ { name: '', type: 'bool', }, ], payable: true, stateMutability: 'payable', type: 'function', }, { constant: false, inputs: [ { name: '_period', type: 'uint256', }, ], name: 'clear', outputs: [ { name: '', type: 'bool', }, ], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: false, inputs: [], name: 'redeem', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: true, inputs: [ { name: '_direction', type: 'int256', }, ], name: 'getToken', outputs: [ { name: '', type: 'address', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [ { name: '_direction', type: 'int256', }, { name: '_id', type: 'uint256', }, ], name: 'isTokenValid', outputs: [ { name: '', type: 'bool', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [ { name: '_direction', type: 'int256', }, { name: '_id', type: 'uint256', }, ], name: 'getTokenDeposit', outputs: [ { name: '', type: 'uint256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [ { name: '_direction', type: 'int256', }, { name: '_id', type: 'uint256', }, ], name: 'ownerOf', outputs: [ { name: '', type: 'address', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [ { name: '_direction', type: 'int256', }, { name: '_period', type: 'uint256', }, ], name: 'getTokensByPeriod', outputs: [ { name: '', type: 'uint256[]', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [ { name: '_direction', type: 'int256', }, { name: '_period', type: 'uint256', }, ], name: 'getSupplyByPeriod', outputs: [ { name: '', type: 'uint256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: false, inputs: [ { name: '_fee', type: 'uint256', }, ], name: 'setManagementFee', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: false, inputs: [ { name: '_amount', type: 'uint256', }, ], name: 'withdrawFee', outputs: [ { name: '', type: 'bool', }, ], payable: false, stateMutability: 'nonpayable', type: 'function', }, ]; //# sourceMappingURL=BinaryFuture.js.map