0.1.1 • Published 2 years ago

@cosmonauts/osmosis v0.1.1

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
2 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

2 years ago

0.1.0

2 years ago

0.0.42

2 years ago

0.0.41

2 years ago

0.0.40

2 years ago

0.0.39

2 years ago

0.0.38

2 years ago

0.0.37

2 years ago

0.0.36

2 years ago

0.0.35

2 years ago

0.0.34

2 years ago

0.0.33

2 years ago

0.0.32

2 years ago

0.0.31

2 years ago

0.0.30

2 years ago

0.0.29

2 years ago

0.0.28

2 years ago

0.0.27

2 years ago

0.0.26

2 years ago

0.0.25

2 years ago

0.0.24

2 years ago

0.0.23

2 years ago

0.0.22

2 years ago

0.0.21

2 years ago

0.0.20

2 years ago

0.0.19

2 years ago

0.0.18

2 years ago

0.0.17

2 years ago

0.0.16

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago