juno-network 0.0.4 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/main/codegen/cosmos/bundle.js +55 -143
- package/main/codegen/cosmos/client.js +2 -34
- package/main/codegen/cosmos/lcd.js +33 -168
- package/main/codegen/cosmos/rpc.query.js +34 -164
- package/main/codegen/cosmos/rpc.tx.js +33 -137
- package/main/codegen/cosmwasm/bundle.js +10 -10
- package/main/codegen/cosmwasm/lcd.js +42 -177
- package/main/codegen/cosmwasm/rpc.query.js +42 -172
- package/main/codegen/cosmwasm/rpc.tx.js +42 -146
- package/main/codegen/ibc/bundle.js +19 -41
- package/main/codegen/ibc/client.js +2 -10
- package/main/codegen/ibc/lcd.js +54 -219
- package/main/codegen/ibc/rpc.query.js +54 -223
- package/main/codegen/ibc/rpc.tx.js +54 -184
- package/main/codegen/juno/bundle.js +6 -6
- package/main/codegen/juno/lcd.js +40 -175
- package/main/codegen/juno/rpc.query.js +40 -170
- package/module/codegen/cosmos/bundle.js +55 -99
- package/module/codegen/cosmos/client.js +2 -18
- package/module/codegen/cosmos/lcd.js +0 -45
- package/module/codegen/cosmos/rpc.query.js +0 -30
- package/module/codegen/cosmos/rpc.tx.js +0 -24
- package/module/codegen/cosmwasm/bundle.js +10 -10
- package/module/codegen/cosmwasm/lcd.js +0 -45
- package/module/codegen/cosmwasm/rpc.query.js +0 -30
- package/module/codegen/cosmwasm/rpc.tx.js +0 -24
- package/module/codegen/ibc/bundle.js +19 -30
- package/module/codegen/ibc/client.js +2 -6
- package/module/codegen/ibc/lcd.js +0 -55
- package/module/codegen/ibc/rpc.query.js +0 -39
- package/module/codegen/ibc/rpc.tx.js +0 -30
- package/module/codegen/juno/bundle.js +6 -6
- package/module/codegen/juno/lcd.js +0 -45
- package/module/codegen/juno/rpc.query.js +0 -30
- package/package.json +7 -6
- package/types/codegen/JunoSwap.react-query.d.ts +10 -10
- package/types/codegen/contracts.d.ts +11 -10
- package/types/codegen/cosmos/bundle.d.ts +5486 -10208
- package/types/codegen/cosmos/lcd.d.ts +0 -27
- package/types/codegen/cosmos/rpc.query.d.ts +0 -30
- package/types/codegen/cosmos/rpc.tx.d.ts +0 -24
- package/types/codegen/cosmwasm/bundle.d.ts +27 -177
- package/types/codegen/cosmwasm/lcd.d.ts +0 -27
- package/types/codegen/cosmwasm/rpc.query.d.ts +0 -30
- package/types/codegen/cosmwasm/rpc.tx.d.ts +0 -24
- package/types/codegen/google/bundle.d.ts +1 -58
- package/types/codegen/ibc/bundle.d.ts +146 -2097
- package/types/codegen/ibc/lcd.d.ts +0 -33
- package/types/codegen/ibc/rpc.query.d.ts +0 -39
- package/types/codegen/ibc/rpc.tx.d.ts +0 -30
- package/types/codegen/ics23/bundle.d.ts +1 -569
- package/types/codegen/juno/bundle.d.ts +6 -63
- package/types/codegen/juno/lcd.d.ts +0 -27
- package/types/codegen/juno/rpc.query.d.ts +0 -30
- package/main/codegen/confio/proofs.js +0 -1471
- package/main/codegen/cosmos/app/v1alpha1/config.js +0 -172
- package/main/codegen/cosmos/app/v1alpha1/module.js +0 -272
- package/main/codegen/cosmos/app/v1alpha1/query.js +0 -113
- package/main/codegen/cosmos/app/v1alpha1/query.rpc.query.js +0 -48
- package/main/codegen/cosmos/auth/v1beta1/auth.js +0 -323
- package/main/codegen/cosmos/auth/v1beta1/genesis.js +0 -118
- package/main/codegen/cosmos/auth/v1beta1/query.js +0 -827
- package/main/codegen/cosmos/auth/v1beta1/query.lcd.js +0 -297
- package/main/codegen/cosmos/auth/v1beta1/query.rpc.query.js +0 -114
- package/main/codegen/cosmos/authz/v1beta1/authz.js +0 -324
- package/main/codegen/cosmos/authz/v1beta1/event.js +0 -178
- package/main/codegen/cosmos/authz/v1beta1/genesis.js +0 -102
- package/main/codegen/cosmos/authz/v1beta1/query.js +0 -533
- package/main/codegen/cosmos/authz/v1beta1/query.lcd.js +0 -183
- package/main/codegen/cosmos/authz/v1beta1/query.rpc.query.js +0 -70
- package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +0 -96
- package/main/codegen/cosmos/authz/v1beta1/tx.js +0 -439
- package/main/codegen/cosmos/authz/v1beta1/tx.registry.js +0 -130
- package/main/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +0 -70
- package/main/codegen/cosmos/base/abci/v1beta1/abci.js +0 -1128
- package/main/codegen/cosmos/base/kv/v1beta1/kv.js +0 -170
- package/main/codegen/cosmos/base/query/v1beta1/pagination.js +0 -190
- package/main/codegen/cosmos/base/reflection/v1beta1/reflection.js +0 -277
- package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +0 -745
- package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +0 -251
- package/main/codegen/cosmos/base/store/v1beta1/listening.js +0 -109
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +0 -1130
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.js +0 -103
- package/main/codegen/cosmos/base/v1beta1/coin.js +0 -268
- package/main/codegen/cosmos/crisis/v1beta1/genesis.js +0 -73
- package/main/codegen/cosmos/crisis/v1beta1/tx.amino.js +0 -32
- package/main/codegen/cosmos/crisis/v1beta1/tx.js +0 -137
- package/main/codegen/cosmos/crisis/v1beta1/tx.registry.js +0 -70
- package/main/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +0 -48
- package/main/codegen/cosmos/evidence/v1beta1/evidence.js +0 -111
- package/main/codegen/cosmos/evidence/v1beta1/genesis.js +0 -102
- package/main/codegen/cosmos/evidence/v1beta1/query.js +0 -285
- package/main/codegen/cosmos/evidence/v1beta1/query.lcd.js +0 -127
- package/main/codegen/cosmos/evidence/v1beta1/query.rpc.query.js +0 -59
- package/main/codegen/cosmos/evidence/v1beta1/tx.amino.js +0 -34
- package/main/codegen/cosmos/evidence/v1beta1/tx.js +0 -144
- package/main/codegen/cosmos/evidence/v1beta1/tx.registry.js +0 -70
- package/main/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +0 -48
- package/main/codegen/cosmos/feegrant/v1beta1/feegrant.js +0 -444
- package/main/codegen/cosmos/feegrant/v1beta1/genesis.js +0 -102
- package/main/codegen/cosmos/feegrant/v1beta1/query.js +0 -472
- package/main/codegen/cosmos/feegrant/v1beta1/query.lcd.js +0 -160
- package/main/codegen/cosmos/feegrant/v1beta1/query.rpc.query.js +0 -70
- package/main/codegen/cosmos/feegrant/v1beta1/tx.amino.js +0 -57
- package/main/codegen/cosmos/feegrant/v1beta1/tx.js +0 -248
- package/main/codegen/cosmos/feegrant/v1beta1/tx.registry.js +0 -100
- package/main/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +0 -59
- package/main/codegen/cosmos/genutil/v1beta1/genesis.js +0 -101
- package/main/codegen/cosmos/mint/v1beta1/genesis.js +0 -85
- package/main/codegen/cosmos/mint/v1beta1/mint.js +0 -202
- package/main/codegen/cosmos/mint/v1beta1/query.js +0 -307
- package/main/codegen/cosmos/mint/v1beta1/query.lcd.js +0 -143
- package/main/codegen/cosmos/mint/v1beta1/query.rpc.query.js +0 -70
- package/main/codegen/cosmos/nft/v1beta1/event.js +0 -271
- package/main/codegen/cosmos/nft/v1beta1/genesis.js +0 -229
- package/main/codegen/cosmos/nft/v1beta1/nft.js +0 -252
- package/main/codegen/cosmos/nft/v1beta1/query.js +0 -944
- package/main/codegen/cosmos/nft/v1beta1/query.lcd.js +0 -336
- package/main/codegen/cosmos/nft/v1beta1/query.rpc.query.js +0 -114
- package/main/codegen/cosmos/nft/v1beta1/tx.amino.js +0 -36
- package/main/codegen/cosmos/nft/v1beta1/tx.js +0 -149
- package/main/codegen/cosmos/nft/v1beta1/tx.registry.js +0 -70
- package/main/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +0 -48
- package/main/codegen/cosmos/orm/v1/orm.js +0 -332
- package/main/codegen/cosmos/params/v1beta1/params.js +0 -206
- package/main/codegen/cosmos/params/v1beta1/query.js +0 -358
- package/main/codegen/cosmos/params/v1beta1/query.lcd.js +0 -124
- package/main/codegen/cosmos/params/v1beta1/query.rpc.query.js +0 -59
- package/main/codegen/cosmos/slashing/v1beta1/genesis.js +0 -377
- package/main/codegen/cosmos/slashing/v1beta1/query.js +0 -380
- package/main/codegen/cosmos/slashing/v1beta1/query.lcd.js +0 -159
- package/main/codegen/cosmos/slashing/v1beta1/query.rpc.query.js +0 -70
- package/main/codegen/cosmos/slashing/v1beta1/slashing.js +0 -242
- package/main/codegen/cosmos/slashing/v1beta1/tx.amino.js +0 -24
- package/main/codegen/cosmos/slashing/v1beta1/tx.js +0 -113
- package/main/codegen/cosmos/slashing/v1beta1/tx.registry.js +0 -70
- package/main/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +0 -48
- package/main/codegen/cosmos/upgrade/v1beta1/query.js +0 -577
- package/main/codegen/cosmos/upgrade/v1beta1/query.lcd.js +0 -230
- package/main/codegen/cosmos/upgrade/v1beta1/query.rpc.query.js +0 -92
- package/main/codegen/cosmos/upgrade/v1beta1/tx.amino.js +0 -64
- package/main/codegen/cosmos/upgrade/v1beta1/tx.js +0 -224
- package/main/codegen/cosmos/upgrade/v1beta1/tx.registry.js +0 -100
- package/main/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +0 -59
- package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +0 -344
- package/main/codegen/cosmos/vesting/v1beta1/tx.amino.js +0 -133
- package/main/codegen/cosmos/vesting/v1beta1/tx.js +0 -494
- package/main/codegen/cosmos/vesting/v1beta1/tx.registry.js +0 -130
- package/main/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +0 -70
- package/main/codegen/cosmos/vesting/v1beta1/vesting.js +0 -570
- package/main/codegen/google/api/annotations.js +0 -5
- package/main/codegen/google/api/http.js +0 -369
- package/main/codegen/ibc/core/client/v1/client.js +0 -585
- package/main/codegen/ibc/core/client/v1/genesis.js +0 -367
- package/main/codegen/ibc/core/client/v1/query.js +0 -1047
- package/main/codegen/ibc/core/client/v1/query.lcd.js +0 -361
- package/main/codegen/ibc/core/client/v1/query.rpc.query.js +0 -125
- package/main/codegen/ibc/core/client/v1/tx.amino.js +0 -149
- package/main/codegen/ibc/core/client/v1/tx.js +0 -538
- package/main/codegen/ibc/core/client/v1/tx.registry.js +0 -160
- package/main/codegen/ibc/core/client/v1/tx.rpc.msg.js +0 -81
- package/main/codegen/ibc/core/connection/v1/connection.js +0 -755
- package/main/codegen/ibc/core/connection/v1/genesis.js +0 -162
- package/main/codegen/ibc/core/connection/v1/query.js +0 -799
- package/main/codegen/ibc/core/connection/v1/query.lcd.js +0 -258
- package/main/codegen/ibc/core/connection/v1/query.rpc.query.js +0 -92
- package/main/codegen/ibc/core/connection/v1/tx.amino.js +0 -274
- package/main/codegen/ibc/core/connection/v1/tx.js +0 -763
- package/main/codegen/ibc/core/connection/v1/tx.registry.js +0 -160
- package/main/codegen/ibc/core/connection/v1/tx.rpc.msg.js +0 -81
- package/main/codegen/ibc/core/port/v1/query.js +0 -192
- package/main/codegen/ibc/core/port/v1/query.rpc.query.js +0 -48
- package/main/codegen/ibc/core/types/v1/genesis.js +0 -101
- package/module/codegen/confio/proofs.js +0 -1371
- package/module/codegen/cosmos/app/v1alpha1/config.js +0 -148
- package/module/codegen/cosmos/app/v1alpha1/module.js +0 -227
- package/module/codegen/cosmos/app/v1alpha1/query.js +0 -104
- package/module/codegen/cosmos/app/v1alpha1/query.rpc.query.js +0 -20
- package/module/codegen/cosmos/auth/v1beta1/auth.js +0 -297
- package/module/codegen/cosmos/auth/v1beta1/genesis.js +0 -82
- package/module/codegen/cosmos/auth/v1beta1/query.js +0 -806
- package/module/codegen/cosmos/auth/v1beta1/query.lcd.js +0 -86
- package/module/codegen/cosmos/auth/v1beta1/query.rpc.query.js +0 -62
- package/module/codegen/cosmos/authz/v1beta1/authz.js +0 -298
- package/module/codegen/cosmos/authz/v1beta1/event.js +0 -169
- package/module/codegen/cosmos/authz/v1beta1/genesis.js +0 -67
- package/module/codegen/cosmos/authz/v1beta1/query.js +0 -473
- package/module/codegen/cosmos/authz/v1beta1/query.lcd.js +0 -72
- package/module/codegen/cosmos/authz/v1beta1/query.rpc.query.js +0 -34
- package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +0 -91
- package/module/codegen/cosmos/authz/v1beta1/tx.js +0 -402
- package/module/codegen/cosmos/authz/v1beta1/tx.registry.js +0 -124
- package/module/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +0 -34
- package/module/codegen/cosmos/base/abci/v1beta1/abci.js +0 -982
- package/module/codegen/cosmos/base/kv/v1beta1/kv.js +0 -139
- package/module/codegen/cosmos/base/query/v1beta1/pagination.js +0 -189
- package/module/codegen/cosmos/base/reflection/v1beta1/reflection.js +0 -235
- package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +0 -712
- package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +0 -225
- package/module/codegen/cosmos/base/store/v1beta1/listening.js +0 -104
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +0 -1091
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.js +0 -55
- package/module/codegen/cosmos/base/v1beta1/coin.js +0 -268
- package/module/codegen/cosmos/crisis/v1beta1/genesis.js +0 -61
- package/module/codegen/cosmos/crisis/v1beta1/tx.amino.js +0 -27
- package/module/codegen/cosmos/crisis/v1beta1/tx.js +0 -129
- package/module/codegen/cosmos/crisis/v1beta1/tx.registry.js +0 -54
- package/module/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +0 -20
- package/module/codegen/cosmos/evidence/v1beta1/evidence.js +0 -102
- package/module/codegen/cosmos/evidence/v1beta1/genesis.js +0 -67
- package/module/codegen/cosmos/evidence/v1beta1/query.js +0 -255
- package/module/codegen/cosmos/evidence/v1beta1/query.lcd.js +0 -41
- package/module/codegen/cosmos/evidence/v1beta1/query.rpc.query.js +0 -27
- package/module/codegen/cosmos/evidence/v1beta1/tx.amino.js +0 -29
- package/module/codegen/cosmos/evidence/v1beta1/tx.js +0 -137
- package/module/codegen/cosmos/evidence/v1beta1/tx.registry.js +0 -54
- package/module/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +0 -20
- package/module/codegen/cosmos/feegrant/v1beta1/feegrant.js +0 -365
- package/module/codegen/cosmos/feegrant/v1beta1/genesis.js +0 -67
- package/module/codegen/cosmos/feegrant/v1beta1/query.js +0 -429
- package/module/codegen/cosmos/feegrant/v1beta1/query.lcd.js +0 -49
- package/module/codegen/cosmos/feegrant/v1beta1/query.rpc.query.js +0 -34
- package/module/codegen/cosmos/feegrant/v1beta1/tx.amino.js +0 -54
- package/module/codegen/cosmos/feegrant/v1beta1/tx.js +0 -247
- package/module/codegen/cosmos/feegrant/v1beta1/tx.registry.js +0 -89
- package/module/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +0 -27
- package/module/codegen/cosmos/genutil/v1beta1/genesis.js +0 -68
- package/module/codegen/cosmos/mint/v1beta1/genesis.js +0 -73
- package/module/codegen/cosmos/mint/v1beta1/mint.js +0 -193
- package/module/codegen/cosmos/mint/v1beta1/query.js +0 -308
- package/module/codegen/cosmos/mint/v1beta1/query.lcd.js +0 -32
- package/module/codegen/cosmos/mint/v1beta1/query.rpc.query.js +0 -34
- package/module/codegen/cosmos/nft/v1beta1/event.js +0 -264
- package/module/codegen/cosmos/nft/v1beta1/genesis.js +0 -163
- package/module/codegen/cosmos/nft/v1beta1/nft.js +0 -242
- package/module/codegen/cosmos/nft/v1beta1/query.js +0 -917
- package/module/codegen/cosmos/nft/v1beta1/query.lcd.js +0 -125
- package/module/codegen/cosmos/nft/v1beta1/query.rpc.query.js +0 -62
- package/module/codegen/cosmos/nft/v1beta1/tx.amino.js +0 -31
- package/module/codegen/cosmos/nft/v1beta1/tx.js +0 -141
- package/module/codegen/cosmos/nft/v1beta1/tx.registry.js +0 -54
- package/module/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +0 -20
- package/module/codegen/cosmos/orm/v1/orm.js +0 -305
- package/module/codegen/cosmos/params/v1beta1/params.js +0 -175
- package/module/codegen/cosmos/params/v1beta1/query.js +0 -317
- package/module/codegen/cosmos/params/v1beta1/query.lcd.js +0 -38
- package/module/codegen/cosmos/params/v1beta1/query.rpc.query.js +0 -27
- package/module/codegen/cosmos/slashing/v1beta1/genesis.js +0 -317
- package/module/codegen/cosmos/slashing/v1beta1/query.js +0 -355
- package/module/codegen/cosmos/slashing/v1beta1/query.lcd.js +0 -48
- package/module/codegen/cosmos/slashing/v1beta1/query.rpc.query.js +0 -34
- package/module/codegen/cosmos/slashing/v1beta1/slashing.js +0 -234
- package/module/codegen/cosmos/slashing/v1beta1/tx.amino.js +0 -19
- package/module/codegen/cosmos/slashing/v1beta1/tx.js +0 -105
- package/module/codegen/cosmos/slashing/v1beta1/tx.registry.js +0 -54
- package/module/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +0 -20
- package/module/codegen/cosmos/upgrade/v1beta1/query.js +0 -565
- package/module/codegen/cosmos/upgrade/v1beta1/query.lcd.js +0 -69
- package/module/codegen/cosmos/upgrade/v1beta1/query.rpc.query.js +0 -48
- package/module/codegen/cosmos/upgrade/v1beta1/tx.amino.js +0 -59
- package/module/codegen/cosmos/upgrade/v1beta1/tx.js +0 -224
- package/module/codegen/cosmos/upgrade/v1beta1/tx.registry.js +0 -89
- package/module/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +0 -27
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +0 -337
- package/module/codegen/cosmos/vesting/v1beta1/tx.amino.js +0 -114
- package/module/codegen/cosmos/vesting/v1beta1/tx.js +0 -440
- package/module/codegen/cosmos/vesting/v1beta1/tx.registry.js +0 -124
- package/module/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +0 -34
- package/module/codegen/cosmos/vesting/v1beta1/vesting.js +0 -480
- package/module/codegen/google/api/annotations.js +0 -1
- package/module/codegen/google/api/http.js +0 -328
- package/module/codegen/ibc/core/client/v1/client.js +0 -549
- package/module/codegen/ibc/core/client/v1/genesis.js +0 -287
- package/module/codegen/ibc/core/client/v1/query.js +0 -1029
- package/module/codegen/ibc/core/client/v1/query.lcd.js +0 -125
- package/module/codegen/ibc/core/client/v1/query.rpc.query.js +0 -69
- package/module/codegen/ibc/core/client/v1/tx.amino.js +0 -150
- package/module/codegen/ibc/core/client/v1/tx.js +0 -544
- package/module/codegen/ibc/core/client/v1/tx.registry.js +0 -159
- package/module/codegen/ibc/core/client/v1/tx.rpc.msg.js +0 -41
- package/module/codegen/ibc/core/connection/v1/connection.js +0 -663
- package/module/codegen/ibc/core/connection/v1/genesis.js +0 -110
- package/module/codegen/ibc/core/connection/v1/query.js +0 -766
- package/module/codegen/ibc/core/connection/v1/query.lcd.js +0 -97
- package/module/codegen/ibc/core/connection/v1/query.rpc.query.js +0 -48
- package/module/codegen/ibc/core/connection/v1/tx.amino.js +0 -269
- package/module/codegen/ibc/core/connection/v1/tx.js +0 -747
- package/module/codegen/ibc/core/connection/v1/tx.registry.js +0 -159
- package/module/codegen/ibc/core/connection/v1/tx.rpc.msg.js +0 -41
- package/module/codegen/ibc/core/port/v1/query.js +0 -182
- package/module/codegen/ibc/core/port/v1/query.rpc.query.js +0 -20
- package/module/codegen/ibc/core/types/v1/genesis.js +0 -87
- package/types/codegen/confio/proofs.d.ts +0 -309
- package/types/codegen/cosmos/app/v1alpha1/config.d.ts +0 -51
- package/types/codegen/cosmos/app/v1alpha1/module.d.ts +0 -105
- package/types/codegen/cosmos/app/v1alpha1/query.d.ts +0 -25
- package/types/codegen/cosmos/app/v1alpha1/query.rpc.query.d.ts +0 -11
- package/types/codegen/cosmos/auth/v1beta1/auth.d.ts +0 -49
- package/types/codegen/cosmos/auth/v1beta1/genesis.d.ts +0 -18
- package/types/codegen/cosmos/auth/v1beta1/query.d.ts +0 -171
- package/types/codegen/cosmos/auth/v1beta1/query.lcd.d.ts +0 -14
- package/types/codegen/cosmos/auth/v1beta1/query.rpc.query.d.ts +0 -23
- package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +0 -67
- package/types/codegen/cosmos/authz/v1beta1/event.d.ts +0 -34
- package/types/codegen/cosmos/authz/v1beta1/genesis.d.ts +0 -14
- package/types/codegen/cosmos/authz/v1beta1/query.d.ts +0 -88
- package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +0 -10
- package/types/codegen/cosmos/authz/v1beta1/query.rpc.query.d.ts +0 -15
- package/types/codegen/cosmos/authz/v1beta1/tx.amino.d.ts +0 -54
- package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +0 -88
- package/types/codegen/cosmos/authz/v1beta1/tx.registry.d.ts +0 -76
- package/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +0 -15
- package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +0 -224
- package/types/codegen/cosmos/base/kv/v1beta1/kv.d.ts +0 -25
- package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +0 -79
- package/types/codegen/cosmos/base/reflection/v1beta1/reflection.d.ts +0 -53
- package/types/codegen/cosmos/base/snapshots/v1beta1/snapshot.d.ts +0 -118
- package/types/codegen/cosmos/base/store/v1beta1/commit_info.d.ts +0 -47
- package/types/codegen/cosmos/base/store/v1beta1/listening.d.ts +0 -24
- package/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts +0 -197
- package/types/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.d.ts +0 -21
- package/types/codegen/cosmos/base/v1beta1/coin.d.ts +0 -58
- package/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts +0 -18
- package/types/codegen/cosmos/crisis/v1beta1/tx.amino.d.ts +0 -17
- package/types/codegen/cosmos/crisis/v1beta1/tx.d.ts +0 -25
- package/types/codegen/cosmos/crisis/v1beta1/tx.registry.d.ts +0 -36
- package/types/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.d.ts +0 -11
- package/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts +0 -19
- package/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts +0 -15
- package/types/codegen/cosmos/evidence/v1beta1/query.d.ts +0 -60
- package/types/codegen/cosmos/evidence/v1beta1/query.lcd.d.ts +0 -9
- package/types/codegen/cosmos/evidence/v1beta1/query.rpc.query.d.ts +0 -13
- package/types/codegen/cosmos/evidence/v1beta1/tx.amino.d.ts +0 -19
- package/types/codegen/cosmos/evidence/v1beta1/tx.d.ts +0 -30
- package/types/codegen/cosmos/evidence/v1beta1/tx.registry.d.ts +0 -36
- package/types/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.d.ts +0 -11
- package/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -89
- package/types/codegen/cosmos/feegrant/v1beta1/genesis.d.ts +0 -14
- package/types/codegen/cosmos/feegrant/v1beta1/query.d.ts +0 -84
- package/types/codegen/cosmos/feegrant/v1beta1/query.lcd.d.ts +0 -10
- package/types/codegen/cosmos/feegrant/v1beta1/query.rpc.query.d.ts +0 -15
- package/types/codegen/cosmos/feegrant/v1beta1/tx.amino.d.ts +0 -32
- package/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts +0 -56
- package/types/codegen/cosmos/feegrant/v1beta1/tx.registry.d.ts +0 -56
- package/types/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +0 -13
- package/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts +0 -14
- package/types/codegen/cosmos/mint/v1beta1/genesis.d.ts +0 -17
- package/types/codegen/cosmos/mint/v1beta1/mint.d.ts +0 -38
- package/types/codegen/cosmos/mint/v1beta1/query.d.ts +0 -78
- package/types/codegen/cosmos/mint/v1beta1/query.lcd.d.ts +0 -10
- package/types/codegen/cosmos/mint/v1beta1/query.rpc.query.d.ts +0 -15
- package/types/codegen/cosmos/nft/v1beta1/event.d.ts +0 -42
- package/types/codegen/cosmos/nft/v1beta1/genesis.d.ts +0 -30
- package/types/codegen/cosmos/nft/v1beta1/nft.d.ts +0 -47
- package/types/codegen/cosmos/nft/v1beta1/query.d.ts +0 -166
- package/types/codegen/cosmos/nft/v1beta1/query.lcd.d.ts +0 -14
- package/types/codegen/cosmos/nft/v1beta1/query.rpc.query.d.ts +0 -23
- package/types/codegen/cosmos/nft/v1beta1/tx.amino.d.ts +0 -18
- package/types/codegen/cosmos/nft/v1beta1/tx.d.ts +0 -30
- package/types/codegen/cosmos/nft/v1beta1/tx.registry.d.ts +0 -36
- package/types/codegen/cosmos/nft/v1beta1/tx.rpc.msg.d.ts +0 -11
- package/types/codegen/cosmos/orm/v1/orm.d.ts +0 -117
- package/types/codegen/cosmos/params/v1beta1/params.d.ts +0 -31
- package/types/codegen/cosmos/params/v1beta1/query.d.ts +0 -71
- package/types/codegen/cosmos/params/v1beta1/query.lcd.d.ts +0 -9
- package/types/codegen/cosmos/params/v1beta1/query.rpc.query.d.ts +0 -13
- package/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts +0 -70
- package/types/codegen/cosmos/slashing/v1beta1/query.d.ts +0 -85
- package/types/codegen/cosmos/slashing/v1beta1/query.lcd.d.ts +0 -10
- package/types/codegen/cosmos/slashing/v1beta1/query.rpc.query.d.ts +0 -15
- package/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts +0 -52
- package/types/codegen/cosmos/slashing/v1beta1/tx.amino.d.ts +0 -15
- package/types/codegen/cosmos/slashing/v1beta1/tx.d.ts +0 -23
- package/types/codegen/cosmos/slashing/v1beta1/tx.registry.d.ts +0 -36
- package/types/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.d.ts +0 -11
- package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +0 -163
- package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +0 -12
- package/types/codegen/cosmos/upgrade/v1beta1/query.rpc.query.d.ts +0 -19
- package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +0 -39
- package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +0 -65
- package/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts +0 -56
- package/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +0 -13
- package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +0 -102
- package/types/codegen/cosmos/vesting/v1beta1/tx.amino.d.ts +0 -58
- package/types/codegen/cosmos/vesting/v1beta1/tx.d.ts +0 -88
- package/types/codegen/cosmos/vesting/v1beta1/tx.registry.d.ts +0 -76
- package/types/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +0 -15
- package/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts +0 -97
- package/types/codegen/google/api/annotations.d.ts +0 -1
- package/types/codegen/google/api/http.d.ts +0 -375
- package/types/codegen/ibc/core/client/v1/client.d.ts +0 -143
- package/types/codegen/ibc/core/client/v1/genesis.d.ts +0 -56
- package/types/codegen/ibc/core/client/v1/query.d.ts +0 -263
- package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +0 -15
- package/types/codegen/ibc/core/client/v1/query.rpc.query.d.ts +0 -25
- package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +0 -77
- package/types/codegen/ibc/core/client/v1/tx.d.ts +0 -131
- package/types/codegen/ibc/core/client/v1/tx.registry.d.ts +0 -96
- package/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +0 -17
- package/types/codegen/ibc/core/connection/v1/connection.d.ts +0 -164
- package/types/codegen/ibc/core/connection/v1/genesis.d.ts +0 -18
- package/types/codegen/ibc/core/connection/v1/query.d.ts +0 -180
- package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +0 -12
- package/types/codegen/ibc/core/connection/v1/query.rpc.query.d.ts +0 -19
- package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +0 -103
- package/types/codegen/ibc/core/connection/v1/tx.d.ts +0 -151
- package/types/codegen/ibc/core/connection/v1/tx.registry.d.ts +0 -96
- package/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts +0 -17
- package/types/codegen/ibc/core/port/v1/query.d.ts +0 -37
- package/types/codegen/ibc/core/port/v1/query.rpc.query.d.ts +0 -11
- package/types/codegen/ibc/core/types/v1/genesis.d.ts +0 -21
@@ -2,16 +2,6 @@ export const createLCDClient = async ({
|
|
2
2
|
restEndpoint
|
3
3
|
}) => ({
|
4
4
|
cosmos: {
|
5
|
-
auth: {
|
6
|
-
v1beta1: new (await import("../cosmos/auth/v1beta1/query.lcd")).LCDQueryClient({
|
7
|
-
restEndpoint
|
8
|
-
})
|
9
|
-
},
|
10
|
-
authz: {
|
11
|
-
v1beta1: new (await import("../cosmos/authz/v1beta1/query.lcd")).LCDQueryClient({
|
12
|
-
restEndpoint
|
13
|
-
})
|
14
|
-
},
|
15
5
|
bank: {
|
16
6
|
v1beta1: new (await import("../cosmos/bank/v1beta1/query.lcd")).LCDQueryClient({
|
17
7
|
restEndpoint
|
@@ -22,16 +12,6 @@ export const createLCDClient = async ({
|
|
22
12
|
restEndpoint
|
23
13
|
})
|
24
14
|
},
|
25
|
-
evidence: {
|
26
|
-
v1beta1: new (await import("../cosmos/evidence/v1beta1/query.lcd")).LCDQueryClient({
|
27
|
-
restEndpoint
|
28
|
-
})
|
29
|
-
},
|
30
|
-
feegrant: {
|
31
|
-
v1beta1: new (await import("../cosmos/feegrant/v1beta1/query.lcd")).LCDQueryClient({
|
32
|
-
restEndpoint
|
33
|
-
})
|
34
|
-
},
|
35
15
|
gov: {
|
36
16
|
v1: new (await import("../cosmos/gov/v1/query.lcd")).LCDQueryClient({
|
37
17
|
restEndpoint
|
@@ -45,35 +25,10 @@ export const createLCDClient = async ({
|
|
45
25
|
restEndpoint
|
46
26
|
})
|
47
27
|
},
|
48
|
-
mint: {
|
49
|
-
v1beta1: new (await import("../cosmos/mint/v1beta1/query.lcd")).LCDQueryClient({
|
50
|
-
restEndpoint
|
51
|
-
})
|
52
|
-
},
|
53
|
-
nft: {
|
54
|
-
v1beta1: new (await import("../cosmos/nft/v1beta1/query.lcd")).LCDQueryClient({
|
55
|
-
restEndpoint
|
56
|
-
})
|
57
|
-
},
|
58
|
-
params: {
|
59
|
-
v1beta1: new (await import("../cosmos/params/v1beta1/query.lcd")).LCDQueryClient({
|
60
|
-
restEndpoint
|
61
|
-
})
|
62
|
-
},
|
63
|
-
slashing: {
|
64
|
-
v1beta1: new (await import("../cosmos/slashing/v1beta1/query.lcd")).LCDQueryClient({
|
65
|
-
restEndpoint
|
66
|
-
})
|
67
|
-
},
|
68
28
|
staking: {
|
69
29
|
v1beta1: new (await import("../cosmos/staking/v1beta1/query.lcd")).LCDQueryClient({
|
70
30
|
restEndpoint
|
71
31
|
})
|
72
|
-
},
|
73
|
-
upgrade: {
|
74
|
-
v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.lcd")).LCDQueryClient({
|
75
|
-
restEndpoint
|
76
|
-
})
|
77
32
|
}
|
78
33
|
},
|
79
34
|
juno: {
|
@@ -2,27 +2,12 @@ export const createRPCQueryClient = async ({
|
|
2
2
|
rpc
|
3
3
|
}) => ({
|
4
4
|
cosmos: {
|
5
|
-
app: {
|
6
|
-
v1alpha1: new (await import("../cosmos/app/v1alpha1/query.rpc.query")).QueryClientImpl(rpc)
|
7
|
-
},
|
8
|
-
auth: {
|
9
|
-
v1beta1: new (await import("../cosmos/auth/v1beta1/query.rpc.query")).QueryClientImpl(rpc)
|
10
|
-
},
|
11
|
-
authz: {
|
12
|
-
v1beta1: new (await import("../cosmos/authz/v1beta1/query.rpc.query")).QueryClientImpl(rpc)
|
13
|
-
},
|
14
5
|
bank: {
|
15
6
|
v1beta1: new (await import("../cosmos/bank/v1beta1/query.rpc.query")).QueryClientImpl(rpc)
|
16
7
|
},
|
17
8
|
distribution: {
|
18
9
|
v1beta1: new (await import("../cosmos/distribution/v1beta1/query.rpc.query")).QueryClientImpl(rpc)
|
19
10
|
},
|
20
|
-
evidence: {
|
21
|
-
v1beta1: new (await import("../cosmos/evidence/v1beta1/query.rpc.query")).QueryClientImpl(rpc)
|
22
|
-
},
|
23
|
-
feegrant: {
|
24
|
-
v1beta1: new (await import("../cosmos/feegrant/v1beta1/query.rpc.query")).QueryClientImpl(rpc)
|
25
|
-
},
|
26
11
|
gov: {
|
27
12
|
v1: new (await import("../cosmos/gov/v1/query.rpc.query")).QueryClientImpl(rpc),
|
28
13
|
v1beta1: new (await import("../cosmos/gov/v1beta1/query.rpc.query")).QueryClientImpl(rpc)
|
@@ -30,23 +15,8 @@ export const createRPCQueryClient = async ({
|
|
30
15
|
group: {
|
31
16
|
v1: new (await import("../cosmos/group/v1/query.rpc.query")).QueryClientImpl(rpc)
|
32
17
|
},
|
33
|
-
mint: {
|
34
|
-
v1beta1: new (await import("../cosmos/mint/v1beta1/query.rpc.query")).QueryClientImpl(rpc)
|
35
|
-
},
|
36
|
-
nft: {
|
37
|
-
v1beta1: new (await import("../cosmos/nft/v1beta1/query.rpc.query")).QueryClientImpl(rpc)
|
38
|
-
},
|
39
|
-
params: {
|
40
|
-
v1beta1: new (await import("../cosmos/params/v1beta1/query.rpc.query")).QueryClientImpl(rpc)
|
41
|
-
},
|
42
|
-
slashing: {
|
43
|
-
v1beta1: new (await import("../cosmos/slashing/v1beta1/query.rpc.query")).QueryClientImpl(rpc)
|
44
|
-
},
|
45
18
|
staking: {
|
46
19
|
v1beta1: new (await import("../cosmos/staking/v1beta1/query.rpc.query")).QueryClientImpl(rpc)
|
47
|
-
},
|
48
|
-
upgrade: {
|
49
|
-
v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.rpc.query")).QueryClientImpl(rpc)
|
50
20
|
}
|
51
21
|
},
|
52
22
|
juno: {
|
package/package.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
2
|
"name": "juno-network",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.1.1",
|
4
4
|
"description": "juno",
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
6
|
-
"homepage": "https://github.com/
|
6
|
+
"homepage": "https://github.com/CosmosContracts/typescript#readme",
|
7
7
|
"license": "SEE LICENSE IN LICENSE",
|
8
8
|
"main": "main/index.js",
|
9
9
|
"module": "module/index.js",
|
@@ -37,11 +37,11 @@
|
|
37
37
|
},
|
38
38
|
"repository": {
|
39
39
|
"type": "git",
|
40
|
-
"url": "https://github.com/
|
40
|
+
"url": "https://github.com/CosmosContracts/typescript"
|
41
41
|
},
|
42
42
|
"keywords": [],
|
43
43
|
"bugs": {
|
44
|
-
"url": "https://github.com/
|
44
|
+
"url": "https://github.com/CosmosContracts/typescript/issues"
|
45
45
|
},
|
46
46
|
"devDependencies": {
|
47
47
|
"@babel/cli": "7.18.10",
|
@@ -89,5 +89,6 @@
|
|
89
89
|
"@osmonauts/helpers": "^0.4.1",
|
90
90
|
"@tanstack/react-query": "^4.1.3",
|
91
91
|
"protobufjs": "^6.11.2"
|
92
|
-
}
|
93
|
-
|
92
|
+
},
|
93
|
+
"gitHead": "0350293760f440721ee2fe97e9351422e9192f39"
|
94
|
+
}
|
@@ -19,22 +19,22 @@ export interface JunoSwapToken2ForToken1PriceQuery extends JunoSwapReactQuery<To
|
|
19
19
|
token2Amount: Uint128;
|
20
20
|
};
|
21
21
|
}
|
22
|
-
export declare function useJunoSwapToken2ForToken1PriceQuery({ client, args, options }: JunoSwapToken2ForToken1PriceQuery):
|
22
|
+
export declare function useJunoSwapToken2ForToken1PriceQuery({ client, args, options }: JunoSwapToken2ForToken1PriceQuery): import("@tanstack/react-query").UseQueryResult<Token2ForToken1PriceResponse, Error>;
|
23
23
|
export interface JunoSwapToken1ForToken2PriceQuery extends JunoSwapReactQuery<Token1ForToken2PriceResponse> {
|
24
24
|
args: {
|
25
25
|
token1Amount: Uint128;
|
26
26
|
};
|
27
27
|
}
|
28
|
-
export declare function useJunoSwapToken1ForToken2PriceQuery({ client, args, options }: JunoSwapToken1ForToken2PriceQuery):
|
28
|
+
export declare function useJunoSwapToken1ForToken2PriceQuery({ client, args, options }: JunoSwapToken1ForToken2PriceQuery): import("@tanstack/react-query").UseQueryResult<Token1ForToken2PriceResponse, Error>;
|
29
29
|
export interface JunoSwapInfoQuery extends JunoSwapReactQuery<InfoResponse> {
|
30
30
|
}
|
31
|
-
export declare function useJunoSwapInfoQuery({ client, options }: JunoSwapInfoQuery):
|
31
|
+
export declare function useJunoSwapInfoQuery({ client, options }: JunoSwapInfoQuery): import("@tanstack/react-query").UseQueryResult<InfoResponse, Error>;
|
32
32
|
export interface JunoSwapBalanceQuery extends JunoSwapReactQuery<BalanceResponse> {
|
33
33
|
args: {
|
34
34
|
address: string;
|
35
35
|
};
|
36
36
|
}
|
37
|
-
export declare function useJunoSwapBalanceQuery({ client, args, options }: JunoSwapBalanceQuery):
|
37
|
+
export declare function useJunoSwapBalanceQuery({ client, args, options }: JunoSwapBalanceQuery): import("@tanstack/react-query").UseQueryResult<BalanceResponse, Error>;
|
38
38
|
export interface JunoSwapSwapToMutation {
|
39
39
|
client: JunoSwapClient;
|
40
40
|
msg: {
|
@@ -50,7 +50,7 @@ export interface JunoSwapSwapToMutation {
|
|
50
50
|
funds?: Coin[];
|
51
51
|
};
|
52
52
|
}
|
53
|
-
export declare function useJunoSwapSwapToMutation(options?: Omit<UseMutationOptions<ExecuteResult, Error, JunoSwapSwapToMutation>, "mutationFn">):
|
53
|
+
export declare function useJunoSwapSwapToMutation(options?: Omit<UseMutationOptions<ExecuteResult, Error, JunoSwapSwapToMutation>, "mutationFn">): import("@tanstack/react-query").UseMutationResult<ExecuteResult, Error, JunoSwapSwapToMutation, unknown>;
|
54
54
|
export interface JunoSwapMultiContractSwapMutation {
|
55
55
|
client: JunoSwapClient;
|
56
56
|
msg: {
|
@@ -67,7 +67,7 @@ export interface JunoSwapMultiContractSwapMutation {
|
|
67
67
|
funds?: Coin[];
|
68
68
|
};
|
69
69
|
}
|
70
|
-
export declare function useJunoSwapMultiContractSwapMutation(options?: Omit<UseMutationOptions<ExecuteResult, Error, JunoSwapMultiContractSwapMutation>, "mutationFn">):
|
70
|
+
export declare function useJunoSwapMultiContractSwapMutation(options?: Omit<UseMutationOptions<ExecuteResult, Error, JunoSwapMultiContractSwapMutation>, "mutationFn">): import("@tanstack/react-query").UseMutationResult<ExecuteResult, Error, JunoSwapMultiContractSwapMutation, unknown>;
|
71
71
|
export interface JunoSwapSwapToken2ForToken1Mutation {
|
72
72
|
client: JunoSwapClient;
|
73
73
|
msg: {
|
@@ -81,7 +81,7 @@ export interface JunoSwapSwapToken2ForToken1Mutation {
|
|
81
81
|
funds?: Coin[];
|
82
82
|
};
|
83
83
|
}
|
84
|
-
export declare function useJunoSwapSwapToken2ForToken1Mutation(options?: Omit<UseMutationOptions<ExecuteResult, Error, JunoSwapSwapToken2ForToken1Mutation>, "mutationFn">):
|
84
|
+
export declare function useJunoSwapSwapToken2ForToken1Mutation(options?: Omit<UseMutationOptions<ExecuteResult, Error, JunoSwapSwapToken2ForToken1Mutation>, "mutationFn">): import("@tanstack/react-query").UseMutationResult<ExecuteResult, Error, JunoSwapSwapToken2ForToken1Mutation, unknown>;
|
85
85
|
export interface JunoSwapSwapToken1ForToken2Mutation {
|
86
86
|
client: JunoSwapClient;
|
87
87
|
msg: {
|
@@ -95,7 +95,7 @@ export interface JunoSwapSwapToken1ForToken2Mutation {
|
|
95
95
|
funds?: Coin[];
|
96
96
|
};
|
97
97
|
}
|
98
|
-
export declare function useJunoSwapSwapToken1ForToken2Mutation(options?: Omit<UseMutationOptions<ExecuteResult, Error, JunoSwapSwapToken1ForToken2Mutation>, "mutationFn">):
|
98
|
+
export declare function useJunoSwapSwapToken1ForToken2Mutation(options?: Omit<UseMutationOptions<ExecuteResult, Error, JunoSwapSwapToken1ForToken2Mutation>, "mutationFn">): import("@tanstack/react-query").UseMutationResult<ExecuteResult, Error, JunoSwapSwapToken1ForToken2Mutation, unknown>;
|
99
99
|
export interface JunoSwapRemoveLiquidityMutation {
|
100
100
|
client: JunoSwapClient;
|
101
101
|
msg: {
|
@@ -110,7 +110,7 @@ export interface JunoSwapRemoveLiquidityMutation {
|
|
110
110
|
funds?: Coin[];
|
111
111
|
};
|
112
112
|
}
|
113
|
-
export declare function useJunoSwapRemoveLiquidityMutation(options?: Omit<UseMutationOptions<ExecuteResult, Error, JunoSwapRemoveLiquidityMutation>, "mutationFn">):
|
113
|
+
export declare function useJunoSwapRemoveLiquidityMutation(options?: Omit<UseMutationOptions<ExecuteResult, Error, JunoSwapRemoveLiquidityMutation>, "mutationFn">): import("@tanstack/react-query").UseMutationResult<ExecuteResult, Error, JunoSwapRemoveLiquidityMutation, unknown>;
|
114
114
|
export interface JunoSwapAddLiquidityMutation {
|
115
115
|
client: JunoSwapClient;
|
116
116
|
msg: {
|
@@ -125,4 +125,4 @@ export interface JunoSwapAddLiquidityMutation {
|
|
125
125
|
funds?: Coin[];
|
126
126
|
};
|
127
127
|
}
|
128
|
-
export declare function useJunoSwapAddLiquidityMutation(options?: Omit<UseMutationOptions<ExecuteResult, Error, JunoSwapAddLiquidityMutation>, "mutationFn">):
|
128
|
+
export declare function useJunoSwapAddLiquidityMutation(options?: Omit<UseMutationOptions<ExecuteResult, Error, JunoSwapAddLiquidityMutation>, "mutationFn">): import("@tanstack/react-query").UseMutationResult<ExecuteResult, Error, JunoSwapAddLiquidityMutation, unknown>;
|
@@ -3,20 +3,21 @@
|
|
3
3
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
4
4
|
* and run the @cosmwasm/ts-codegen generate command to regenerate this file.
|
5
5
|
*/
|
6
|
+
import * as _0 from "./JunoSwap.types";
|
6
7
|
import * as _1 from "./JunoSwap.client";
|
7
8
|
import * as _2 from "./JunoSwap.react-query";
|
8
9
|
export declare namespace contracts {
|
9
10
|
const JunoSwap: {
|
10
|
-
useJunoSwapToken2ForToken1PriceQuery({ client, args, options }: _2.JunoSwapToken2ForToken1PriceQuery):
|
11
|
-
useJunoSwapToken1ForToken2PriceQuery({ client, args, options }: _2.JunoSwapToken1ForToken2PriceQuery):
|
12
|
-
useJunoSwapInfoQuery({ client, options }: _2.JunoSwapInfoQuery):
|
13
|
-
useJunoSwapBalanceQuery({ client, args, options }: _2.JunoSwapBalanceQuery):
|
14
|
-
useJunoSwapSwapToMutation(options?: Omit<UseMutationOptions<ExecuteResult, Error, _2.JunoSwapSwapToMutation>, "mutationFn">):
|
15
|
-
useJunoSwapMultiContractSwapMutation(options?: Omit<UseMutationOptions<ExecuteResult, Error, _2.JunoSwapMultiContractSwapMutation>, "mutationFn">):
|
16
|
-
useJunoSwapSwapToken2ForToken1Mutation(options?: Omit<UseMutationOptions<ExecuteResult, Error, _2.JunoSwapSwapToken2ForToken1Mutation>, "mutationFn">):
|
17
|
-
useJunoSwapSwapToken1ForToken2Mutation(options?: Omit<UseMutationOptions<ExecuteResult, Error, _2.JunoSwapSwapToken1ForToken2Mutation>, "mutationFn">):
|
18
|
-
useJunoSwapRemoveLiquidityMutation(options?: Omit<UseMutationOptions<ExecuteResult, Error, _2.JunoSwapRemoveLiquidityMutation>, "mutationFn">):
|
19
|
-
useJunoSwapAddLiquidityMutation(options?: Omit<UseMutationOptions<ExecuteResult, Error, _2.JunoSwapAddLiquidityMutation>, "mutationFn">):
|
11
|
+
useJunoSwapToken2ForToken1PriceQuery({ client, args, options }: _2.JunoSwapToken2ForToken1PriceQuery): import("@tanstack/react-query").UseQueryResult<_0.Token2ForToken1PriceResponse, Error>;
|
12
|
+
useJunoSwapToken1ForToken2PriceQuery({ client, args, options }: _2.JunoSwapToken1ForToken2PriceQuery): import("@tanstack/react-query").UseQueryResult<_0.Token1ForToken2PriceResponse, Error>;
|
13
|
+
useJunoSwapInfoQuery({ client, options }: _2.JunoSwapInfoQuery): import("@tanstack/react-query").UseQueryResult<_0.InfoResponse, Error>;
|
14
|
+
useJunoSwapBalanceQuery({ client, args, options }: _2.JunoSwapBalanceQuery): import("@tanstack/react-query").UseQueryResult<_0.BalanceResponse, Error>;
|
15
|
+
useJunoSwapSwapToMutation(options?: Omit<import("@tanstack/react-query").UseMutationOptions<import("@cosmjs/cosmwasm-stargate").ExecuteResult, Error, _2.JunoSwapSwapToMutation, unknown>, "mutationFn">): import("@tanstack/react-query").UseMutationResult<import("@cosmjs/cosmwasm-stargate").ExecuteResult, Error, _2.JunoSwapSwapToMutation, unknown>;
|
16
|
+
useJunoSwapMultiContractSwapMutation(options?: Omit<import("@tanstack/react-query").UseMutationOptions<import("@cosmjs/cosmwasm-stargate").ExecuteResult, Error, _2.JunoSwapMultiContractSwapMutation, unknown>, "mutationFn">): import("@tanstack/react-query").UseMutationResult<import("@cosmjs/cosmwasm-stargate").ExecuteResult, Error, _2.JunoSwapMultiContractSwapMutation, unknown>;
|
17
|
+
useJunoSwapSwapToken2ForToken1Mutation(options?: Omit<import("@tanstack/react-query").UseMutationOptions<import("@cosmjs/cosmwasm-stargate").ExecuteResult, Error, _2.JunoSwapSwapToken2ForToken1Mutation, unknown>, "mutationFn">): import("@tanstack/react-query").UseMutationResult<import("@cosmjs/cosmwasm-stargate").ExecuteResult, Error, _2.JunoSwapSwapToken2ForToken1Mutation, unknown>;
|
18
|
+
useJunoSwapSwapToken1ForToken2Mutation(options?: Omit<import("@tanstack/react-query").UseMutationOptions<import("@cosmjs/cosmwasm-stargate").ExecuteResult, Error, _2.JunoSwapSwapToken1ForToken2Mutation, unknown>, "mutationFn">): import("@tanstack/react-query").UseMutationResult<import("@cosmjs/cosmwasm-stargate").ExecuteResult, Error, _2.JunoSwapSwapToken1ForToken2Mutation, unknown>;
|
19
|
+
useJunoSwapRemoveLiquidityMutation(options?: Omit<import("@tanstack/react-query").UseMutationOptions<import("@cosmjs/cosmwasm-stargate").ExecuteResult, Error, _2.JunoSwapRemoveLiquidityMutation, unknown>, "mutationFn">): import("@tanstack/react-query").UseMutationResult<import("@cosmjs/cosmwasm-stargate").ExecuteResult, Error, _2.JunoSwapRemoveLiquidityMutation, unknown>;
|
20
|
+
useJunoSwapAddLiquidityMutation(options?: Omit<import("@tanstack/react-query").UseMutationOptions<import("@cosmjs/cosmwasm-stargate").ExecuteResult, Error, _2.JunoSwapAddLiquidityMutation, unknown>, "mutationFn">): import("@tanstack/react-query").UseMutationResult<import("@cosmjs/cosmwasm-stargate").ExecuteResult, Error, _2.JunoSwapAddLiquidityMutation, unknown>;
|
20
21
|
JunoSwapQueryClient: typeof _1.JunoSwapQueryClient;
|
21
22
|
JunoSwapClient: typeof _1.JunoSwapClient;
|
22
23
|
};
|