remove pagination
This commit is contained in:
parent
d620c7e43a
commit
30826a0ed6
@ -74,9 +74,9 @@ export interface WasmRequestRegistry extends AbstractRegistry {
|
|||||||
return this.request(this.registry.cosmwasm_code, { code_id }); // `code_id` is a param in above url
|
return this.request(this.registry.cosmwasm_code, { code_id }); // `code_id` is a param in above url
|
||||||
}
|
}
|
||||||
getWasmCodeContracts(code_id: string, page?: PageRequest) {
|
getWasmCodeContracts(code_id: string, page?: PageRequest) {
|
||||||
if(!page) page = new PageRequest()
|
// if(!page) page = new PageRequest()
|
||||||
const query = `?${page.toQueryString()}`
|
// const query = `?${page.toQueryString()}`
|
||||||
return this.request(this.registry.cosmwasm_code_id_contracts, { code_id }, query);
|
return this.request(this.registry.cosmwasm_code_id_contracts, { code_id });
|
||||||
}
|
}
|
||||||
getWasmParams() {
|
getWasmParams() {
|
||||||
return this.request(this.registry.cosmwasm_param, {});
|
return this.request(this.registry.cosmwasm_param, {});
|
||||||
@ -85,9 +85,9 @@ export interface WasmRequestRegistry extends AbstractRegistry {
|
|||||||
return this.request(this.registry.cosmwasm_contract_address, { address });
|
return this.request(this.registry.cosmwasm_contract_address, { address });
|
||||||
}
|
}
|
||||||
getWasmContractsByCreator(creator_address: string, page?: PageRequest) {
|
getWasmContractsByCreator(creator_address: string, page?: PageRequest) {
|
||||||
if(!page) page = new PageRequest()
|
// if(!page) page = new PageRequest()
|
||||||
const query = `?${page.toQueryString()}`
|
// const query = `?${page.toQueryString()}`
|
||||||
return this.request(this.registry.cosmwasm_wasm_contracts_creator, { creator_address }, query);
|
return this.request(this.registry.cosmwasm_wasm_contracts_creator, { creator_address });
|
||||||
}
|
}
|
||||||
getWasmContractHistory(address: string) {
|
getWasmContractHistory(address: string) {
|
||||||
return this.request(this.registry.cosmwasm_contract_address_history, {
|
return this.request(this.registry.cosmwasm_contract_address_history, {
|
||||||
|
Loading…
Reference in New Issue
Block a user