olympus-protocol-connector
Version:
Module made by Olympus Labs for easier access to the Olympus protocol through Javascript/Typescript
369 lines • 7.87 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.STEP_ABI = [
{
constant: true,
inputs: [],
name: 'name',
outputs: [
{
name: '',
type: 'string',
},
],
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: '',
type: 'address',
},
{
name: '',
type: 'bytes32',
},
],
name: 'currentFunctionStep',
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: 'owner',
outputs: [
{
name: '',
type: 'address',
},
],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [
{
name: '',
type: 'address',
},
{
name: '',
type: 'bytes32',
},
],
name: 'currentCallStep',
outputs: [
{
name: '',
type: 'uint256',
},
],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [
{
name: '',
type: 'address',
},
{
name: '',
type: 'bytes32',
},
],
name: 'maxCalls',
outputs: [
{
name: '',
type: 'uint256',
},
],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: true,
inputs: [
{
name: '',
type: 'address',
},
{
name: '',
type: 'bytes32',
},
],
name: 'status',
outputs: [
{
name: '',
type: 'uint256',
},
],
payable: false,
stateMutability: 'view',
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: '_category',
type: 'bytes32',
},
{
name: '_maxCalls',
type: 'uint256',
},
],
name: 'setMaxCalls',
outputs: [],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: false,
inputs: [
{
name: '_categories',
type: 'bytes32[]',
},
{
name: '_maxCallsList',
type: 'uint256[]',
},
],
name: 'setMultipleMaxCalls',
outputs: [],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: false,
inputs: [
{
name: '_category',
type: 'bytes32',
},
],
name: 'getMaxCalls',
outputs: [
{
name: '',
type: 'uint256',
},
],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: false,
inputs: [
{
name: '_category',
type: 'bytes32',
},
],
name: 'initializeOrContinue',
outputs: [
{
name: '_currentFunctionStep',
type: 'uint256',
},
],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: true,
inputs: [
{
name: '_category',
type: 'bytes32',
},
],
name: 'getStatus',
outputs: [
{
name: '_currentStatus',
type: 'uint256',
},
],
payable: false,
stateMutability: 'view',
type: 'function',
},
{
constant: false,
inputs: [
{
name: '_category',
type: 'bytes32',
},
],
name: 'updateStatus',
outputs: [
{
name: '_success',
type: 'bool',
},
],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: false,
inputs: [
{
name: '_category',
type: 'bytes32',
},
],
name: 'goNextStep',
outputs: [
{
name: '_shouldCallAgain',
type: 'bool',
},
],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
{
constant: false,
inputs: [
{
name: '_category',
type: 'bytes32',
},
],
name: 'finalize',
outputs: [
{
name: 'success',
type: 'bool',
},
],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
},
];
//# sourceMappingURL=StepService.js.map