0.1.1 • Published 3 years ago

@cosmonauts/osmosis v0.1.1

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
3 years ago

Osmosis Protobufs 🔭

Typescript Protobuf Messages for Osmosis

usage

npm install @cosmonauts/osmosis

Example

import { coin } from '@cosmjs/amino';
import { MsgJoinPool } from '@cosmonauts/osmosis/main/proto/osmosis/gamm/v1beta1/tx';
const msg = MsgJoinPool.fromPartial({
  poolId: '606',
  sender: 'osmo1f4vxvvvvvvvvvv3luuddddddddddcccccccccc',
  shareOutAmount: '101010101',
  tokenInMaxs: [
    coin(
      10248,
      'ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2'
    ),
    coin(
      64837969,
      'ibc/B9E0A1A524E98BB407D3CED8720EFEFD186002F90C1B1B7964811DD0CCC12228'
    )
  ]
});

API

Current exports the following messages:

  • MsgExitPool
  • MsgExitPoolResponse
  • MsgExitSwapExternAmountOut
  • MsgExitSwapExternAmountOutResponse
  • MsgExitSwapShareAmountIn
  • MsgExitSwapShareAmountInResponse
  • MsgJoinPool
  • MsgJoinPoolResponse
  • MsgJoinSwapExternAmountIn
  • MsgJoinSwapExternAmountInResponse
  • MsgJoinSwapShareAmountOut
  • MsgJoinSwapShareAmountOutResponse
  • MsgSwapExactAmountIn
  • MsgSwapExactAmountInResponse
  • MsgSwapExactAmountOut
  • MsgSwapExactAmountOutResponse
  • SwapAmountInRoute
  • SwapAmountOutRoute
0.1.1

3 years ago

0.1.0

3 years ago

0.0.42

3 years ago

0.0.41

3 years ago

0.0.40

3 years ago

0.0.39

3 years ago

0.0.38

3 years ago

0.0.37

3 years ago

0.0.36

3 years ago

0.0.35

3 years ago

0.0.34

3 years ago

0.0.33

3 years ago

0.0.32

3 years ago

0.0.31

3 years ago

0.0.30

3 years ago

0.0.29

3 years ago

0.0.28

3 years ago

0.0.27

3 years ago

0.0.26

3 years ago

0.0.25

3 years ago

0.0.24

3 years ago

0.0.23

3 years ago

0.0.22

3 years ago

0.0.21

3 years ago

0.0.20

3 years ago

0.0.19

3 years ago

0.0.18

3 years ago

0.0.17

3 years ago

0.0.16

3 years ago

0.0.15

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago