Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into feat/add-dex-pause
Browse files Browse the repository at this point in the history
  • Loading branch information
jcompagni10 committed Jul 9, 2024
2 parents 74dc209 + 40c2c30 commit 73f56cc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions src/proposal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,15 @@ export type ParamsInterchainqueriesInfo = {
tx_query_removal_limit: number;
};

export type WhitelistedHook = {
code_id: number;
denom_creator: string;
};
export type ParamsTokenfactoryInfo = {
denom_creation_fee: any;
denom_creation_gas_consume: number;
fee_collector_address: string;
whitelisted_hooks: WhitelistedHook[];
};

export type ParamsFeeburnerInfo = {
Expand Down Expand Up @@ -319,7 +324,7 @@ export const updateInterchainqueriesParamsProposal = (
},
});

export const updateTokenfacoryParamsProposal = (
export const updateTokenfactoryParamsProposal = (
info: ParamsTokenfactoryInfo,
): any => ({
custom: {
Expand All @@ -333,6 +338,7 @@ export const updateTokenfacoryParamsProposal = (
denom_creation_fee: info.denom_creation_fee,
denom_creation_gas_consume: info.denom_creation_gas_consume,
fee_collector_address: info.fee_collector_address,
whitelisted_hooks: info.whitelisted_hooks,
},
}),
},
Expand Down Expand Up @@ -373,7 +379,7 @@ export const updateTransferParamsProposal = (
signer: ADMIN_MODULE_ADDRESS,
params: {
send_enabled: info.send_enabled,
receive_enabled: info.receive_enabled
receive_enabled: info.receive_enabled,
},
}),
},
Expand Down
4 changes: 2 additions & 2 deletions src/tokenfactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ export const msgMintDenom = async (
});
const res = await cmNeutron.execTx(
{
gas_limit: Long.fromString('200000'),
amount: [{ denom: cmNeutron.chain.denom, amount: '1000' }],
gas_limit: Long.fromString('500000'),
amount: [{ denom: cmNeutron.chain.denom, amount: '2000' }],
},
[packAnyMsg('/osmosis.tokenfactory.v1beta1.MsgMint', msgMint)],
10,
Expand Down

0 comments on commit 73f56cc

Please sign in to comment.