raiden-ts
Version:
Raiden Light Client Typescript/Javascript SDK
235 lines • 5.58 kB
JavaScript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, utils } from "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",
},
];
export class ServiceRegistryConfigurableParameters__factory {
static createInterface() {
return new utils.Interface(_abi);
}
static connect(address, signerOrProvider) {
return new Contract(address, _abi, signerOrProvider);
}
}
ServiceRegistryConfigurableParameters__factory.abi = _abi;
//# sourceMappingURL=ServiceRegistryConfigurableParameters__factory.js.map