export function request_deposits_api(signer) {
    return () => {
        const url = `${signer.client.host}/api/deposit/list`;
        const content = 'GET' + url;
        return signer._signer.gen_token(content);
    };
}
export function request_contracts_api(signer) {
    return () => {
        const url = `${signer.client.host}/api/contract/list`;
        const content = 'GET' + url;
        return signer._signer.gen_token(content);
    };
}
export default function (client) {
    return {
        contracts: request_contracts_api(client),
        deposits: request_deposits_api(client)
    };
}
