import { IClient } from '@liquality/types' ; export default abstract class Provider { client : IClient ; param { ! ChainAbstractionLayer } client setClient ( client ) { this . client = client ; } param { ! string } method return { function } getMethod ( method , requestor = this ) { return this . client . getMethod ( method , requestor ) . bind ( this ) ; } }