UNPKG

raiden-ts

Version:

Raiden Light Client Typescript/Javascript SDK

102 lines (98 loc) 2.06 kB
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer, utils } from "ethers"; import type { Provider } from "@ethersproject/providers"; import type { Deposit, DepositInterface } from "../Deposit"; const _abi = [ { inputs: [ { internalType: "contract Token", name: "_token", type: "address", }, { internalType: "uint256", name: "_release_at", type: "uint256", }, { internalType: "address", name: "_withdrawer", type: "address", }, { internalType: "contract ServiceRegistryConfigurableParameters", name: "_service_registry", type: "address", }, ], stateMutability: "nonpayable", type: "constructor", }, { inputs: [], name: "token", outputs: [ { internalType: "contract Token", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address payable", name: "_to", type: "address", }, ], name: "withdraw", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "withdrawable_after", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "withdrawer", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, ]; export class Deposit__factory { static readonly abi = _abi; static createInterface(): DepositInterface { return new utils.Interface(_abi) as DepositInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): Deposit { return new Contract(address, _abi, signerOrProvider) as Deposit; } }