UNPKG

raiden-ts

Version:

Raiden Light Client Typescript/Javascript SDK

239 lines 5.83 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ServiceRegistryConfigurableParameters__factory = void 0; const ethers_1 = require("ethers"); const _abi = [ { inputs: [ { internalType: "address", name: "new_controller", type: "address", }, ], name: "changeController", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "_price_bump_numerator", type: "uint256", }, { internalType: "uint256", name: "_price_bump_denominator", type: "uint256", }, { internalType: "uint256", name: "_decay_constant", type: "uint256", }, { internalType: "uint256", name: "_min_price", type: "uint256", }, { internalType: "uint256", name: "_registration_duration", type: "uint256", }, ], name: "changeParameters", outputs: [ { internalType: "bool", name: "_success", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "controller", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "currentPrice", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "decay_constant", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "_set_price", type: "uint256", }, { internalType: "uint256", name: "_seconds_passed", type: "uint256", }, ], name: "decayedPrice", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "deprecated", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "min_price", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "price_bump_denominator", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "price_bump_numerator", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "registration_duration", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "setDeprecationSwitch", outputs: [ { internalType: "bool", name: "_success", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "set_price", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "set_price_at", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, ]; class ServiceRegistryConfigurableParameters__factory { static createInterface() { return new ethers_1.utils.Interface(_abi); } static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.ServiceRegistryConfigurableParameters__factory = ServiceRegistryConfigurableParameters__factory; ServiceRegistryConfigurableParameters__factory.abi = _abi; //# sourceMappingURL=ServiceRegistryConfigurableParameters__factory.js.map