Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upstream master changes to release/v2.x #1117

Closed
wants to merge 544 commits into from
Closed
Changes from 3 commits
Commits
Show all changes
544 commits
Select commit Hold shift + click to select a range
998a739
chore: telegram icon
pavania1 Aug 8, 2024
01be379
chore: Implement select feegranter
Hemanthghs Aug 8, 2024
13ce0ae
chore: add feegranter to all txns
Hemanthghs Aug 8, 2024
22e2cc5
chore: review changes
Hemanthghs Aug 8, 2024
676f176
feat: Implement use feegrant (#1379)
Hemanthghs Aug 8, 2024
efb2d34
Merge branch 'v2/settings' into pavania1/authz
Hemanthghs Aug 8, 2024
50bdc79
feat: implement Authz UI (#1380)
Hemanthghs Aug 8, 2024
109367f
feat: Implement add/remove network in general settings (#1381)
Hemanthghs Aug 8, 2024
6c7b556
chore: remove bg for the portfolio
pavania1 Aug 9, 2024
6cb571a
wip: create new authz grant
Hemanthghs Aug 9, 2024
bdbd14d
wip
Hemanthghs Aug 9, 2024
0b71c7a
wip
Hemanthghs Aug 9, 2024
ee2e34e
chore: dashboard screen changed
pavania1 Aug 12, 2024
1b922d4
chore: added hover for the button
pavania1 Aug 12, 2024
b36689a
chore: Dashboard withoutconnection layout
pavania1 Aug 12, 2024
bfb5d34
wip
Hemanthghs Aug 12, 2024
55b6816
chore: singalProposal Loading
pavania1 Aug 12, 2024
b4e2830
chore: asset information
pavania1 Aug 12, 2024
9e1e856
chore: added path to the logo
pavania1 Aug 12, 2024
55bd920
chore: dashboard loading
pavania1 Aug 12, 2024
73d2b1e
chore: fix dashboard loading spacing issues
pavania1 Aug 12, 2024
de2cd42
chore: background color
pavania1 Aug 12, 2024
e640d93
feat: Implement tx status tracking
Hemanthghs Aug 12, 2024
9a963bf
chore: review changes
Hemanthghs Aug 13, 2024
30f6a6a
feat: Implement create new authz (#1384)
Hemanthghs Aug 13, 2024
7d38b19
feat: Implement select authz granter popup (#1385)
Hemanthghs Aug 13, 2024
31bae57
V2/chary/authz (#1386)
charymalloju Aug 14, 2024
fa0b966
fix selected authz mode
charymalloju Aug 14, 2024
be1d567
chore: fix use authz
Hemanthghs Aug 14, 2024
a5fca6a
fix lint issues
charymalloju Aug 14, 2024
e9fb6d6
add init authz
charymalloju Aug 14, 2024
98edbbb
feat: Implement use authz grant (#1387)
Hemanthghs Aug 14, 2024
4294e27
chore: Illustrations (#1382)
pavania1 Aug 14, 2024
b1c847f
feat: Implement settings (#1388)
charymalloju Aug 14, 2024
d9fdab2
handled stake authorization permissions
charymalloju Aug 16, 2024
2ae63a7
fix index
charymalloju Aug 16, 2024
7436d1f
chore: disable unsupported modules
Hemanthghs Aug 20, 2024
ee6ade2
chore: update network config sample file URL
Hemanthghs Aug 20, 2024
6763b49
chore: disable unsupported modules (#1389)
charymalloju Aug 20, 2024
92ad49a
Merge branch 'v2/dev' into pavania1/Dashbord-review-changes
charymalloju Aug 20, 2024
0e84e5b
Dashboard review changes (#1383)
charymalloju Aug 20, 2024
e85ae73
chore: disable authz and feegrant creation based on config
Hemanthghs Aug 20, 2024
09342a0
chore: group all feegrants by granter address
Hemanthghs Aug 20, 2024
70d6d2f
chore: authz and feegrant updates (#1391)
charymalloju Aug 20, 2024
11d49cf
fix remove console and amount staking
charymalloju Aug 20, 2024
fb0bd0c
fix cancel undboding status and amount in txn
charymalloju Aug 20, 2024
cf8babb
fix authz mode in token distribution
charymalloju Aug 20, 2024
8629014
add tooltip for disble side bar options
charymalloju Aug 20, 2024
3b28b1f
fix wallet connect issues
charymalloju Aug 20, 2024
026b2ff
feat: Implement cosmwasm functionality (#1392)
Hemanthghs Aug 22, 2024
8b24d2e
chore: Transaction history dashboard
pavania1 Aug 22, 2024
f14d718
feat: Implement list codes and contracts (#1393)
Hemanthghs Aug 22, 2024
5aad5bc
Update LICENSE
anilcse Aug 22, 2024
b0ebe33
chore: transaction header
pavania1 Aug 22, 2024
ae9cb8f
chore: update readme and add example env file
Hemanthghs Aug 22, 2024
3b3e386
chore: update readme and add example env file (#1395)
charymalloju Aug 22, 2024
1a393b9
Merge branch 'master' into update-license
charymalloju Aug 22, 2024
1438e20
Update LICENSE (#1394)
charymalloju Aug 22, 2024
a75fe71
chore: repeat transactions
pavania1 Aug 22, 2024
574d2e1
chore: retry transaction
pavania1 Aug 22, 2024
5074856
Merge branch 'v2/dev' of https://github.com/vitwit/resolute into pava…
pavania1 Aug 23, 2024
40460f1
feat: UI implementation of txn history (#1396)
charymalloju Aug 23, 2024
9aae2bb
added all networks
charymalloju Aug 23, 2024
1a93dcf
Merge branch 'v2/dev' of github.com:vitwit/resolute into v2/dev
charymalloju Aug 23, 2024
2eb1fd4
Pavania1/v2/cosmwasm/iterations (#1397)
pavania1 Aug 26, 2024
20aaf9c
chore: add boiler plate for deploy contract
Hemanthghs Aug 26, 2024
6d0b7bd
add txns
charymalloju Aug 26, 2024
65c6467
Merge branch 'v2/dev' of https://github.com/vitwit/resolute into v2/c…
Hemanthghs Aug 27, 2024
5e156e7
feat: Integrate execute/query contracts (#1399)
Hemanthghs Aug 27, 2024
846f168
feat: Implement UI for deploy contract (#1398)
pavania1 Aug 27, 2024
31a573a
Merge branch 'v2/dev' of https://github.com/vitwit/resolute into pava…
pavania1 Aug 27, 2024
1890b72
chore: dashboard-cards
pavania1 Aug 27, 2024
16aabb9
chore: dashboard-governance-cards
pavania1 Aug 27, 2024
c657503
chore: stakingCard
pavania1 Aug 27, 2024
71c58f8
chore: multisig-cards
pavania1 Aug 27, 2024
6867ed4
chore: CustomNetworkCard
pavania1 Aug 28, 2024
eb275a1
chore: ui Fixes in Authz module
pavania1 Aug 28, 2024
a08b27b
chore: buttons
pavania1 Aug 28, 2024
e701a67
feat: Integrate upload wasm file (#1401)
Hemanthghs Aug 28, 2024
2a8bec0
add single tx
charymalloju Aug 28, 2024
db6a12b
feat: Implement cosmwasm contracts (#1403)
charymalloju Aug 28, 2024
2d049e9
Merge branch 'v2/dev' into pavania1/colors
charymalloju Aug 28, 2024
8a2a805
chore:background colors (#1400)
charymalloju Aug 28, 2024
35219f9
add messages search txns
charymalloju Aug 28, 2024
2773d49
add search txn api
charymalloju Aug 28, 2024
6cfc769
fix the nil pointer issues
charymalloju Aug 28, 2024
ac01f85
feat: Integrate transaction builder
Hemanthghs Aug 28, 2024
24ad2de
wip
Hemanthghs Aug 28, 2024
6d697b4
chore: update routing
Hemanthghs Aug 28, 2024
30d94df
Merge branch 'v2/dev' of https://github.com/vitwit/resolute into pava…
pavania1 Aug 29, 2024
ddfdc29
chore: GranttomeLoading
pavania1 Aug 29, 2024
38d8eb4
chore: textfileds in deploycontract
pavania1 Aug 29, 2024
891dd0b
chore: search contract
pavania1 Aug 29, 2024
a259aa1
chore: Settings-emptyscreen
pavania1 Aug 29, 2024
eb04f04
chore: fix build issue
pavania1 Aug 29, 2024
9ec676a
feat: Implement repeat/retry txn (#1407)
Hemanthghs Aug 30, 2024
1d475b5
Merge branch 'v2/dev' of https://github.com/vitwit/resolute into v2/c…
Hemanthghs Aug 30, 2024
50ed1dc
Merge branch 'v2/chary/txns' into hemanth/integrate-txn-builder
Hemanthghs Aug 30, 2024
ac80153
chore: contract-info card bg color
pavania1 Aug 30, 2024
4ae4428
chore: codes card bg color
pavania1 Aug 30, 2024
7ede0b7
chore: Settings-emptyscreen (#1406)
charymalloju Sep 2, 2024
2d701a3
Merge branch 'v2/dev' into pavania1/contract-review-changes
charymalloju Sep 2, 2024
544b2d0
contract UI review changes (#1405)
charymalloju Sep 2, 2024
462020c
Merge branch 'v2/dev' into pavania1/settings-ui-fixes
charymalloju Sep 2, 2024
89ee2e3
fix: settings UI (#1402)
charymalloju Sep 2, 2024
1e7adc1
feat: Add search txn hash (#1408)
Hemanthghs Sep 2, 2024
cd8ded8
feat: Integrate transaction builder and update routing (#1404)
charymalloju Sep 2, 2024
2faf230
Merge branch 'v2/dev' of github.com:vitwit/resolute into v2/chary/txns
charymalloju Sep 2, 2024
c442c7f
V2/chary/txns (#1409)
charymalloju Sep 2, 2024
8e2128b
add few msgs to transaction details page
charymalloju Sep 2, 2024
5eaceef
chore: transaction history iterations
Hemanthghs Sep 3, 2024
10845dc
chore: transaction history iterations (#1410)
charymalloju Sep 3, 2024
830839f
chore: sidebar
pavania1 Sep 3, 2024
8eaf146
Merge branch 'v2/dev' of https://github.com/vitwit/resolute into pava…
pavania1 Sep 3, 2024
860ee95
chore: transaction history
pavania1 Sep 3, 2024
c6e72f1
chore: transaction-history
pavania1 Sep 3, 2024
6294d71
chore: sidemenu
pavania1 Sep 3, 2024
941ec73
chore: fix build
pavania1 Sep 3, 2024
ff1a77f
chore: sidebar and txnHistory (#1411)
charymalloju Sep 3, 2024
3e027ad
chore: added switch-icon in all networks
pavania1 Sep 4, 2024
933bf4b
chore: removing inner shadow for cards
pavania1 Sep 4, 2024
f6bede5
chore: rights reserved size
pavania1 Sep 4, 2024
56fd1cb
chore: removing list type
pavania1 Sep 4, 2024
57398b5
chore: removing current status in deposit Proposal
pavania1 Sep 4, 2024
640f253
chore: adjust the spacing between network and placeholder
pavania1 Sep 4, 2024
0c5329b
chore: in multisig added gap between btn and line
pavania1 Sep 4, 2024
bc41fff
chore: transaction history header
pavania1 Sep 4, 2024
8315c52
chore: removed the extra space in txn builder
pavania1 Sep 4, 2024
9fbfd56
wip
Hemanthghs Sep 4, 2024
af64053
Merge branch 'v2/dev' of https://github.com/vitwit/resolute into hema…
Hemanthghs Sep 4, 2024
63fb6b0
chore: remove links to icons
pavania1 Sep 4, 2024
fc44a2b
chore: remove txn messages header
pavania1 Sep 4, 2024
a875819
chore: transaction history
pavania1 Sep 4, 2024
ff3c66f
chore: no transactions illustration
pavania1 Sep 4, 2024
9fc4646
chore: fetch data on start of app
Hemanthghs Sep 4, 2024
7e67da0
chore: EmptyScreen for customNetwork
pavania1 Sep 4, 2024
49f53fa
chore: upload boxes dashes
pavania1 Sep 4, 2024
abec130
remove secondary text color in proposal
charymalloju Sep 5, 2024
51e9fb2
chore: discord link
pavania1 Sep 5, 2024
8a428a2
chore: close icon in logout Popup
pavania1 Sep 5, 2024
2ad85f9
fix log error log
charymalloju Sep 5, 2024
9f9f7fe
chore: validator list in new delegation Popup bg
pavania1 Sep 5, 2024
7b355ee
chore: removed the discord from topbar and footer
pavania1 Sep 5, 2024
23c8298
chore: proposal summary text
pavania1 Sep 5, 2024
e5a0f4c
feat: add metamask
Hemanthghs Sep 5, 2024
8f65637
updated usd denom price sql
charymalloju Sep 5, 2024
895be52
fix denom price
charymalloju Sep 5, 2024
81c2815
chore: fix authz balances issue
Hemanthghs Sep 5, 2024
b432f9c
Merge branch 'v2/dev' of https://github.com/vitwit/resolute into hema…
Hemanthghs Sep 5, 2024
39172d0
Merge branch 'v2/dev' into pavania1/v2-ui-fixes
charymalloju Sep 6, 2024
79ac7d9
fix: Overall UI fixes (#1412)
charymalloju Sep 6, 2024
8433783
Merge branch 'v2/dev' into hemanth/dev
charymalloju Sep 6, 2024
cdb6fc2
fix lint issues
charymalloju Sep 6, 2024
fe54ef5
chore: fix
Hemanthghs Sep 6, 2024
ed0067b
chore: fetch data on initial render of app (#1413)
charymalloju Sep 6, 2024
58d1fc8
add new networks to backend
charymalloju Sep 6, 2024
a507a5a
chore: display vote option if already voted
Hemanthghs Sep 6, 2024
1f24973
Merge branch 'v2/dev' of https://github.com/vitwit/resolute into hema…
Hemanthghs Sep 6, 2024
98b0afd
Merge branch 'v2/dev' into hemanth/gov
charymalloju Sep 6, 2024
bf419ec
chore: display vote option if already voted (#1414)
charymalloju Sep 6, 2024
0b69799
wip
Hemanthghs Sep 6, 2024
616d02e
add authentication token to networks requests
charymalloju Sep 6, 2024
0986d2f
Merge branch 'v2/dev' of github.com:vitwit/resolute into v2/dev
charymalloju Sep 6, 2024
bf07639
chore: show already voted option in authz mode
Hemanthghs Sep 6, 2024
bf8c794
chore
Hemanthghs Sep 6, 2024
8cc2bf0
Merge branch 'v2/dev' into hemanth/gov-fix
Hemanthghs Sep 6, 2024
af81cf1
chore: show already voted option in authz mode (#1415)
charymalloju Sep 9, 2024
04720f7
add few networks
charymalloju Sep 9, 2024
595f18d
Merge branch 'v2/dev' of github.com:vitwit/resolute into v2/dev
charymalloju Sep 9, 2024
1b1a589
push change urls from frontend
charymalloju Sep 9, 2024
bcfc5b3
fix response encoding
charymalloju Sep 9, 2024
b39f6fb
add saga network
charymalloju Sep 9, 2024
fd5b4a5
handled withdraw delegator reward
charymalloju Sep 9, 2024
ad9071d
chore: add ibc transfer msg to create authz
Hemanthghs Sep 10, 2024
2343bed
Merge branch 'v2/dev' of https://github.com/vitwit/resolute into hema…
Hemanthghs Sep 10, 2024
095eba5
chore: update loaders ui
Hemanthghs Sep 10, 2024
83bab0b
wip
Hemanthghs Sep 11, 2024
e635ffc
feat: display send grant alert
Hemanthghs Sep 11, 2024
d845b1f
chore: singalProposal
pavania1 Sep 12, 2024
bfd7e87
fix transction insert errr
charymalloju Sep 12, 2024
d2c6fb7
chore: authz ui changes
Hemanthghs Sep 12, 2024
c464cef
chore: fix lint issues
Hemanthghs Sep 12, 2024
6ba7d01
Merge branch 'v2/dev' into hemanth/v2-updates
Hemanthghs Sep 12, 2024
76d01e0
chore: deposit Popup
pavania1 Sep 12, 2024
25a7f0c
chore: add rpc endpoints
Hemanthghs Sep 12, 2024
5a69f3d
chore
Hemanthghs Sep 12, 2024
31c9a5f
Merge branch 'v2/dev' of https://github.com/vitwit/resolute into pava…
pavania1 Sep 12, 2024
e659b9c
chore: v2 updates and fixes (#1416)
charymalloju Sep 12, 2024
f056789
Merge branch 'v2/dev' into pavania1/beta-ui-fixes
charymalloju Sep 12, 2024
049ec7d
fix:beta UI fixes (#1417)
charymalloju Sep 12, 2024
c9c16f0
chore: fix ui glitch
Hemanthghs Sep 12, 2024
1244145
Merge branch 'v2/dev' of https://github.com/vitwit/resolute into hema…
Hemanthghs Sep 12, 2024
47702af
chore: fix ui glitch (#1418)
charymalloju Sep 12, 2024
624311f
chore
Hemanthghs Sep 12, 2024
730c9b0
Merge branch 'v2/dev' of https://github.com/vitwit/resolute into hema…
Hemanthghs Sep 12, 2024
69420d1
chore: fix lint issues
Hemanthghs Sep 12, 2024
5d33186
chore
Hemanthghs Sep 12, 2024
7374016
feat: Integrate metamask-snap wallet (#1419)
charymalloju Sep 12, 2024
8a1e915
chore: footer
pavania1 Sep 12, 2024
8c98179
Merge branch 'v2/dev' of https://github.com/vitwit/resolute into pava…
pavania1 Sep 12, 2024
a491dd1
chore: metamask-snap loading
Hemanthghs Sep 12, 2024
c71a96c
chore: social icons
pavania1 Sep 12, 2024
e360452
chore: fix build issue
pavania1 Sep 12, 2024
37f5baa
chore: metamask-snap loading (#1420)
charymalloju Sep 12, 2024
2f20192
Merge branch 'v2/dev' into pavania1/v2-footer
charymalloju Sep 12, 2024
98271cb
fix: footer (#1421)
charymalloju Sep 12, 2024
c55d648
change osmosis rpc end point
charymalloju Sep 13, 2024
17a2f3b
chore: logo
pavania1 Sep 13, 2024
06c2feb
chore: metamask
pavania1 Sep 13, 2024
64892b5
chore: capitalize
pavania1 Sep 13, 2024
9555a4b
chore: Metamask snap
pavania1 Sep 13, 2024
26c901b
metamask (#1422)
charymalloju Sep 13, 2024
c224e08
chore: illustrations for Authz
pavania1 Sep 13, 2024
a29e8fb
Merge branch 'v2/dev' of https://github.com/vitwit/resolute into pava…
pavania1 Sep 13, 2024
5531b6b
chore: integrate events tracking
Hemanthghs Sep 13, 2024
9851e40
Merge branch 'v2/dev' of https://github.com/vitwit/resolute into hema…
Hemanthghs Sep 13, 2024
86196e7
chore
Hemanthghs Sep 13, 2024
3749862
chore: spacing
pavania1 Sep 13, 2024
4f4111e
fixed metamask connection
charymalloju Sep 13, 2024
aa4d389
Merge branch 'v2/dev' of github.com:vitwit/resolute into v2/dev
charymalloju Sep 13, 2024
93f4351
Merge branch 'v2/dev' into pavania1/authz-illustrations
charymalloju Sep 13, 2024
3532720
chore: illustrations for Authz (#1423)
charymalloju Sep 13, 2024
cb3e9b9
Merge branch 'v2/dev' into hemanth/events
charymalloju Sep 13, 2024
42fd0b7
chore: integrate events tracking (#1424)
charymalloju Sep 13, 2024
d06d609
added initialize ga
charymalloju Sep 17, 2024
50e1a1a
Merge branch 'v2/dev' of github.com:vitwit/resolute into v2/dev
charymalloju Sep 17, 2024
236cfbc
chore: update metamask connection
Hemanthghs Sep 18, 2024
52dad86
add reducer for metamask connection
Hemanthghs Sep 18, 2024
424af0d
add clear for localstorgage logout
charymalloju Sep 18, 2024
80c08d1
Hemanth/wallet connection (#1425)
charymalloju Sep 18, 2024
25f4701
chore: update logo in skeleton loader
Hemanthghs Sep 18, 2024
211b428
chore: update readme
Hemanthghs Sep 19, 2024
0506451
chore
Hemanthghs Sep 19, 2024
2c592a8
Hemanth/v2 readme (#1427)
charymalloju Sep 19, 2024
7c436d3
chore: update error messages
Hemanthghs Sep 20, 2024
060b52c
chore: update error messages (#1428)
charymalloju Sep 20, 2024
7694562
chore: fix feegranter issue
Hemanthghs Sep 20, 2024
3958fac
chore: fix feegranter issue (#1429)
charymalloju Sep 20, 2024
1fbc7e5
Merge branch 'master' of https://github.com/vitwit/resolute into v2/dev
Hemanthghs Sep 20, 2024
8204002
V2/dev (#1431)
charymalloju Sep 20, 2024
f978397
chore: update chainsInfo
Hemanthghs Sep 20, 2024
d50a50e
chore: update chains config (#1432)
charymalloju Sep 20, 2024
a146b00
Update README.md
anilcse Sep 21, 2024
b51271d
update txn endpoints
Hemanthghs Sep 21, 2024
8c7a68a
fix (cosmwasm): update get txn endpoints (#1434)
charymalloju Sep 21, 2024
1130652
Merge branch 'master' into update-readme
charymalloju Sep 21, 2024
a3e1e7e
Update README.md (#1433)
charymalloju Sep 21, 2024
a01de84
fix noble image url
charymalloju Sep 23, 2024
c4170f4
fix noble image url (#1435)
charymalloju Sep 23, 2024
7422df3
chore(deps): bump secp256k1 from 4.0.3 to 4.0.4 in /frontend (#1449)
dependabot[bot] Oct 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -73,6 +73,9 @@ const DialogTxInstantiateStatus = ({ chainID }: { chainID: string }) => {
<div className="grid grid-cols-2 gap-6">
<TxnInfoCard name="Code ID">
<div className="text-b1">{txResponse?.codeId || '-'}</div>
{txResponse?.codeId ? (
<Copy content={txResponse?.codeId} />
) : null}
</TxnInfoCard>
<TxnInfoCard name="Contract Address">
<div className="text-b1">
Original file line number Diff line number Diff line change
@@ -72,6 +72,9 @@ const DialogTxUploadCodeStatus = ({ chainID }: { chainID: string }) => {
<div className="space-y-6">
<TxnInfoCard name="Code ID">
<div className="text-b1">{txResponse?.codeId || '-'}</div>
{txResponse?.codeId ? (
<Copy content={txResponse?.codeId} />
) : null}
</TxnInfoCard>
<TxnInfoCard name="Txn Hash">
<div className="text-b1">
35 changes: 22 additions & 13 deletions frontend/src/store/features/cosmwasm/cosmwasmSlice.ts
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ import { createAsyncThunk, createSlice, PayloadAction } from '@reduxjs/toolkit';
import { cloneDeep } from 'lodash';
import { setError } from '../common/commonSlice';
import axios from 'axios';
import { cleanURL, trackEvent } from '@/utils/util';
import { addChainIDParam, cleanURL, trackEvent } from '@/utils/util';
import { parseTxResult } from '@/utils/signing';
import { getCodes, getContractsByCode } from './cosmwasmService';
import { FAILED, SUCCESS } from '@/utils/constants';
@@ -226,17 +226,20 @@ export const executeContract = createAsyncThunk(
async (data: ExecuteContractInputs, { rejectWithValue, dispatch }) => {
try {
const response = await data.getExecutionOutput(data);
const txn = await axios.get(
cleanURL(data.baseURLs[0]) + '/cosmos/tx/v1beta1/txs/' + response.txHash
);
let txnUrl =
cleanURL(data.baseURLs[0]) +
'/cosmos/tx/v1beta1/txs/' +
response.txHash;
txnUrl = addChainIDParam(txnUrl, data.chainID);
const txn = await axios.get(txnUrl);
const {
code,
transactionHash,
fee = [],
memo = '',
rawLog = '',
} = parseTxResult(txn?.data?.tx_response);
if(code === 0) {
if (code === 0) {
trackEvent('COSMWASM', 'EXECUTE_CONTRACT', SUCCESS);
} else {
trackEvent('COSMWASM', 'EXECUTE_CONTRACT', FAILED);
@@ -264,17 +267,20 @@ export const uploadCode = createAsyncThunk(
async (data: UploadCodeInputs, { rejectWithValue, dispatch }) => {
try {
const response = await data.uploadContract(data);
const txn = await axios.get(
cleanURL(data.baseURLs[0]) + '/cosmos/tx/v1beta1/txs/' + response.txHash
);
let txnUrl =
cleanURL(data.baseURLs[0]) +
'/cosmos/tx/v1beta1/txs/' +
response.txHash;
txnUrl = addChainIDParam(txnUrl, data.chainID);
const txn = await axios.get(txnUrl);
const {
code,
transactionHash,
fee = [],
memo = '',
rawLog = '',
} = parseTxResult(txn?.data?.tx_response);
if(code === 0) {
if (code === 0) {
trackEvent('COSMWASM', 'UPLOAD_CODE', SUCCESS);
} else {
trackEvent('COSMWASM', 'UPLOAD_CODE', FAILED);
@@ -309,17 +315,20 @@ export const txInstantiateContract = createAsyncThunk(
async (data: InstantiateContractInputs, { rejectWithValue, dispatch }) => {
try {
const response = await data.instantiateContract(data);
const txn = await axios.get(
cleanURL(data.baseURLs[0]) + '/cosmos/tx/v1beta1/txs/' + response.txHash
);
let txnUrl =
cleanURL(data.baseURLs[0]) +
'/cosmos/tx/v1beta1/txs/' +
response.txHash;
txnUrl = addChainIDParam(txnUrl, data.chainID);
const txn = await axios.get(txnUrl);
const {
code,
transactionHash,
fee = [],
memo = '',
rawLog = '',
} = parseTxResult(txn?.data?.tx_response);
if(code === 0) {
if (code === 0) {
trackEvent('COSMWASM', 'INSTANTIATE_CONTRACT', SUCCESS);
} else {
trackEvent('COSMWASM', 'INSTANTIATE_CONTRACT', FAILED);
Loading