UNPKG

olympus-protocol-connector

Version:

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

429 lines 9.07 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WHITELIST_PROVIDER_ABI = [ { constant: false, inputs: [ { name: '_newMode', type: 'uint8', }, ], name: 'adjustFeeMode', outputs: [ { name: 'success', type: 'bool', }, ], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: true, inputs: [], name: 'name', outputs: [ { name: '', type: 'string', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: false, inputs: [ { name: '_newPercentage', type: 'uint256', }, ], name: 'adjustFeePercentage', outputs: [ { name: 'success', type: 'bool', }, ], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: false, inputs: [ { name: '_newWallet', type: 'address', }, ], name: 'setWalletId', outputs: [ { name: 'success', type: 'bool', }, ], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: true, inputs: [], name: 'version', outputs: [ { name: '', type: 'string', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'feeAmount', 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: '', type: 'address', }, { name: '', type: 'uint256', }, { name: '', type: 'address', }, ], name: 'whitelist', outputs: [ { name: '', type: 'bool', }, ], 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: 'enabled', outputs: [ { name: '', type: 'bool', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: false, inputs: [ { name: '_newAmount', type: 'uint256', }, ], name: 'adjustFeeAmount', outputs: [ { name: 'success', type: 'bool', }, ], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: true, inputs: [ { name: '_amount', type: 'uint256', }, ], name: 'calculateFee', outputs: [ { name: 'amount', type: 'uint256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'feePercentage', outputs: [ { name: '', type: 'uint256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'feeMode', outputs: [ { name: '', type: 'uint8', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'FEE_CHARGER_DENOMINATOR', outputs: [ { name: '', type: 'uint256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'MOT', outputs: [ { name: '', type: 'address', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: false, inputs: [ { name: '_motAddress', type: 'address', }, ], name: 'setMotAddress', outputs: [ { name: 'success', type: 'bool', }, ], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: true, inputs: [], name: 'category', outputs: [ { name: '', type: 'string', }, ], 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', }, ], 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: '_key', type: 'uint256', }, { name: 'enable', type: 'bool', }, ], name: 'setStatus', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: false, inputs: [ { name: 'accounts', type: 'address[]', }, { name: '_key', type: 'uint256', }, { name: 'allowed', type: 'bool', }, ], name: 'setAllowed', outputs: [ { name: '', type: 'bool', }, ], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: true, inputs: [ { name: '_key', type: 'uint256', }, { name: 'account', type: 'address', }, ], name: 'isAllowed', outputs: [ { name: '', type: 'bool', }, ], payable: false, stateMutability: 'view', type: 'function', }, ]; //# sourceMappingURL=WhitelistProvider.js.map