Skip to content

Commit 37db549

Browse files
committed
chore: removed parsing of underscore
1 parent 26fbf8b commit 37db549

35 files changed

+171
-166
lines changed

.gitbook/SUMMARY.md

Lines changed: 60 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -63,77 +63,77 @@
6363
* [Modules](developers/modules/README.md)
6464
* [Injective](developers/modules/injective/README.md)
6565
* [Auction](developers/modules/injective/auction/README.md)
66-
* [State](developers/modules/injective/auction/01\_state.md)
67-
* [Messages](developers/modules/injective/auction/02\_messages.md)
68-
* [EndBlock](developers/modules/injective/auction/03\_end\_block.md)
69-
* [Events](developers/modules/injective/auction/04\_events.md)
70-
* [Params](developers/modules/injective/auction/05\_params.md)
66+
* [State](developers/modules/injective/auction/01_state.md)
67+
* [Messages](developers/modules/injective/auction/02_messages.md)
68+
* [EndBlock](developers/modules/injective/auction/03_end_block.md)
69+
* [Events](developers/modules/injective/auction/04_events.md)
70+
* [Params](developers/modules/injective/auction/05_params.md)
7171
* [Exchange](developers/modules/injective/exchange/README.md)
72-
* [Derivative Markets Concepts](developers/modules/injective/exchange/00\_derivative\_market\_concepts.md)
73-
* [Spot Markets Concepts](developers/modules/injective/exchange/01\_spot\_market\_concepts.md)
74-
* [Binary Option Markets Concepts](developers/modules/injective/exchange/02\_binary\_options\_markets.md)
75-
* [Other Concepts](developers/modules/injective/exchange/02\_other\_concepts.md)
76-
* [State](developers/modules/injective/exchange/03\_state.md)
77-
* [State Transitions](developers/modules/injective/exchange/04\_state\_transitions.md)
78-
* [Messages](developers/modules/injective/exchange/05\_messages.md)
79-
* [Proposals](developers/modules/injective/exchange/06\_proposals.md)
80-
* [BeginBlock](developers/modules/injective/exchange/07\_begin\_block.md)
81-
* [EndBlock](developers/modules/injective/exchange/08\_end\_block.md)
82-
* [Events](developers/modules/injective/exchange/09\_events.md)
83-
* [Params](developers/modules/injective/exchange/10\_params.md)
84-
* [MsgPrivilegedExecuteContract](developers/modules/injective/exchange/11\_msg\_privileged\_execute\_contract.md)
72+
* [Derivative Markets Concepts](developers/modules/injective/exchange/00_derivative_market_concepts.md)
73+
* [Spot Markets Concepts](developers/modules/injective/exchange/01_spot_market_concepts.md)
74+
* [Binary Option Markets Concepts](developers/modules/injective/exchange/02_binary_options_markets.md)
75+
* [Other Concepts](developers/modules/injective/exchange/02_other_concepts.md)
76+
* [State](developers/modules/injective/exchange/03_state.md)
77+
* [State Transitions](developers/modules/injective/exchange/04_state_transitions.md)
78+
* [Messages](developers/modules/injective/exchange/05_messages.md)
79+
* [Proposals](developers/modules/injective/exchange/06_proposals.md)
80+
* [BeginBlock](developers/modules/injective/exchange/07_begin_block.md)
81+
* [EndBlock](developers/modules/injective/exchange/08_end_block.md)
82+
* [Events](developers/modules/injective/exchange/09_events.md)
83+
* [Params](developers/modules/injective/exchange/10_params.md)
84+
* [MsgPrivilegedExecuteContract](developers/modules/injective/exchange/11_msg_privileged_execute_contract.md)
8585
* [Improvements](developers/modules/injective/exchange/improvements.md)
8686
* [Insurance](developers/modules/injective/insurance/README.md)
87-
* [State](developers/modules/injective/insurance/01\_state.md)
87+
* [State](developers/modules/injective/insurance/01_state.md)
8888
* [State Transitions](developers/modules/injective/insurance/state-transitions.md)
89-
* [Messages](developers/modules/injective/insurance/03\_messages.md)
90-
* [EndBlock](developers/modules/injective/insurance/04\_end\_block.md)
91-
* [Events](developers/modules/injective/insurance/05\_events.md)
92-
* [Params](developers/modules/injective/insurance/06\_params.md)
93-
* [Improvements](developers/modules/injective/insurance/07\_future\_improvements.md)
89+
* [Messages](developers/modules/injective/insurance/03_messages.md)
90+
* [EndBlock](developers/modules/injective/insurance/04_end_block.md)
91+
* [Events](developers/modules/injective/insurance/05_events.md)
92+
* [Params](developers/modules/injective/insurance/06_params.md)
93+
* [Improvements](developers/modules/injective/insurance/07_future_improvements.md)
9494
* [OCR](developers/modules/injective/ocr/README.md)
95-
* [Concepts](developers/modules/injective/ocr/01\_concepts.md)
96-
* [State](developers/modules/injective/ocr/02\_state.md)
97-
* [Messages](developers/modules/injective/ocr/03\_messages.md)
98-
* [Proposals](developers/modules/injective/ocr/04\_proposals.md)
99-
* [BeginBlock](developers/modules/injective/ocr/05\_begin\_block.md)
100-
* [Hooks](developers/modules/injective/ocr/06\_hooks.md)
95+
* [Concepts](developers/modules/injective/ocr/01_concepts.md)
96+
* [State](developers/modules/injective/ocr/02_state.md)
97+
* [Messages](developers/modules/injective/ocr/03_messages.md)
98+
* [Proposals](developers/modules/injective/ocr/04_proposals.md)
99+
* [BeginBlock](developers/modules/injective/ocr/05_begin_block.md)
100+
* [Hooks](developers/modules/injective/ocr/06_hooks.md)
101101
* [Events](developers/modules/injective/ocr/events.md)
102-
* [Params](developers/modules/injective/ocr/08\_params.md)
102+
* [Params](developers/modules/injective/ocr/08_params.md)
103103
* [Oracle](developers/modules/injective/oracle/README.md)
104-
* [State](developers/modules/injective/oracle/01\_state.md)
105-
* [Keeper](developers/modules/injective/oracle/02\_keeper.md)
106-
* [Messages](developers/modules/injective/oracle/03\_messages.md)
107-
* [Proposals](developers/modules/injective/oracle/04\_proposals.md)
108-
* [Events](developers/modules/injective/oracle/05\_events.md)
109-
* [Improvements](developers/modules/injective/oracle/06\_future\_improvements.md)
104+
* [State](developers/modules/injective/oracle/01_state.md)
105+
* [Keeper](developers/modules/injective/oracle/02_keeper.md)
106+
* [Messages](developers/modules/injective/oracle/03_messages.md)
107+
* [Proposals](developers/modules/injective/oracle/04_proposals.md)
108+
* [Events](developers/modules/injective/oracle/05_events.md)
109+
* [Improvements](developers/modules/injective/oracle/06_future_improvements.md)
110110
* [Peggy](developers/modules/injective/peggy/README.md)
111-
* [Definitions](developers/modules/injective/peggy/01\_definitions.md)
112-
* [Workflow](developers/modules/injective/peggy/02\_workflow.md)
113-
* [State](developers/modules/injective/peggy/03\_state.md)
114-
* [Messages](developers/modules/injective/peggy/04\_messages.md)
115-
* [Slashing](developers/modules/injective/peggy/05\_slashing.md)
116-
* [EndBlock](developers/modules/injective/peggy/06\_end\_block.md)
117-
* [Events](developers/modules/injective/peggy/07\_events.md)
118-
* [Params](developers/modules/injective/peggy/08\_params.md)
119-
* [Relay Semantics](developers/modules/injective/peggy/09\_relay\_semantics.md)
120-
* [Improvements](developers/modules/injective/peggy/10\_future\_improvements.md)
111+
* [Definitions](developers/modules/injective/peggy/01_definitions.md)
112+
* [Workflow](developers/modules/injective/peggy/02_workflow.md)
113+
* [State](developers/modules/injective/peggy/03_state.md)
114+
* [Messages](developers/modules/injective/peggy/04_messages.md)
115+
* [Slashing](developers/modules/injective/peggy/05_slashing.md)
116+
* [EndBlock](developers/modules/injective/peggy/06_end_block.md)
117+
* [Events](developers/modules/injective/peggy/07_events.md)
118+
* [Params](developers/modules/injective/peggy/08_params.md)
119+
* [Relay Semantics](developers/modules/injective/peggy/09_relay_semantics.md)
120+
* [Improvements](developers/modules/injective/peggy/10_future_improvements.md)
121121
* [Permissions](developers/modules/injective/permissions/README.md)
122-
* [Concepts](developers/modules/injective/permissions/01\_concepts.md)
123-
* [State](developers/modules/injective/permissions/02\_state.md)
124-
* [State Transition](developers/modules/injective/permissions/03\_state\_transitions.md)
122+
* [Concepts](developers/modules/injective/permissions/01_concepts.md)
123+
* [State](developers/modules/injective/permissions/02_state.md)
124+
* [State Transition](developers/modules/injective/permissions/03_state_transitions.md)
125125
* [TokenFactory](developers/modules/injective/tokenfactory/README.md)
126-
* [Concepts](developers/modules/injective/tokenfactory/01\_concepts.md)
127-
* [State](developers/modules/injective/tokenfactory/02\_state.md)
128-
* [Messages](developers/modules/injective/tokenfactory/03\_messages.md)
129-
* [Events](developers/modules/injective/tokenfactory/04\_events.md)
130-
* [Params](developers/modules/injective/tokenfactory/05\_params.md)
126+
* [Concepts](developers/modules/injective/tokenfactory/01_concepts.md)
127+
* [State](developers/modules/injective/tokenfactory/02_state.md)
128+
* [Messages](developers/modules/injective/tokenfactory/03_messages.md)
129+
* [Events](developers/modules/injective/tokenfactory/04_events.md)
130+
* [Params](developers/modules/injective/tokenfactory/05_params.md)
131131
* [WasmX](developers/modules/injective/wasmx/README.md)
132-
* [Concepts](developers/modules/injective/wasmx/01\_concepts.md)
133-
* [Data](developers/modules/injective/wasmx/02\_data.md)
134-
* [Proposals](developers/modules/injective/wasmx/03\_proposals.md)
135-
* [Messages](developers/modules/injective/wasmx/04\_messages.md)
136-
* [Params](developers/modules/injective/wasmx/05\_params.md)
132+
* [Concepts](developers/modules/injective/wasmx/01_concepts.md)
133+
* [Data](developers/modules/injective/wasmx/02_data.md)
134+
* [Proposals](developers/modules/injective/wasmx/03_proposals.md)
135+
* [Messages](developers/modules/injective/wasmx/04_messages.md)
136+
* [Params](developers/modules/injective/wasmx/05_params.md)
137137
* [Core](developers/modules/core/README.md)
138138
* [Auth](developers/modules/core/auth/README.md)
139139
* [AuthZ](developers/modules/core/authz/README.md)

.gitbook/developers/cosmwasm-developers/guides/creating-uis.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ More comprehensive docs about creating UIs as well as bootstrapping options can
66

77
We've interacted with our contract through the Injective CLI, but this is not ideal for most dApp users. A web UI can provide a much better experience! Rather than sending transaction messages through `injectived`, we can abstract away the complexity and provide the user with two buttons—one to increment the count, and one to reset the count.
88

9-
![](https://docs.injective.network/img/Counter\_website.png)
9+
![](https://docs.injective.network/img/Counter_website.png)
1010

1111
For example, see the [counter website](https://injective-simple-cosmwasm-sc.netlify.app/). A high level guide on developing the frontend using Vue and the [Injective TS SDK](https://github.com/InjectiveLabs/injective-ts/tree/master/packages/sdk-ts) can be found in the [website repo here](https://github.com/InjectiveLabs/injective-simple-sc-counter-ui/tree/master/nuxt). For a React implementation, see [here](https://github.com/InjectiveLabs/injective-simple-sc-counter-ui/tree/master/next).
1212

1313
Now, interacting with the contract is as simple as clicking a button and signing with MetaMask (make sure the account is set to Ethereum Goerli Testnet or you will receive a chain ID mismatch error).
1414

15-
![](https://docs.injective.network/img/metamask\_select\_testnet.png)
15+
![](https://docs.injective.network/img/metamask_select_testnet.png)
1616

1717
{% hint style="info" %}
1818
You may notice that you get an "Unauthorized" error message when attempting to reset the count. This is expected behavior! Recall from the [contract logic for reset](https://docs.injective.network/develop/guides/injective-101/your-first-contract#reset) that only the contract owner is permitted to reset the count. Since you did not instantiate the exact contract that the frontend is interacting with, you don't have the required permissions to reset the count.

.gitbook/developers/cosmwasm-developers/injective-test-tube.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ assert!(admin_list.mutable);
227227

228228
### Debugging
229229

230-
In your contract code, if you want to debug, you can use [`deps.api.debug(..)`](https://docs.rs/cosmwasm-std/latest/cosmwasm\_std/trait.Api.html#tymethod.debug) which will print the debug message to stdout. `wasmd` disabled this by default but `InjectiveTestApp` allows stdout emission so that you can debug your smart contract while running tests.
230+
In your contract code, if you want to debug, you can use [`deps.api.debug(..)`](https://docs.rs/cosmwasm-std/latest/cosmwasm_std/trait.Api.html#tymethod.debug) which will print the debug message to stdout. `wasmd` disabled this by default but `InjectiveTestApp` allows stdout emission so that you can debug your smart contract while running tests.
231231

232232
### Using Module Wrapper
233233

.gitbook/developers/cosmwasm-developers/your-first-smart-contract.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cargo install cargo-generate
2727

2828
### CosmWasm Contract Basics
2929

30-
A smart contract can be considered an instance of a [singleton object](https://en.wikipedia.org/wiki/Singleton\_pattern) whose internal state is persisted on the blockchain. Users can trigger state changes by sending the smart contract JSON messages, and users can also query its state by sending a request formatted as a JSON message. These JSON messages are different than Injective blockchain messages such as `MsgSend` and `MsgExecuteContract`.
30+
A smart contract can be considered an instance of a [singleton object](https://en.wikipedia.org/wiki/Singleton_pattern) whose internal state is persisted on the blockchain. Users can trigger state changes by sending the smart contract JSON messages, and users can also query its state by sending a request formatted as a JSON message. These JSON messages are different than Injective blockchain messages such as `MsgSend` and `MsgExecuteContract`.
3131

3232
As a smart contract writer, your job is to define 3 functions that compose your smart contract's interface:
3333

@@ -608,7 +608,7 @@ Now that we have the code on Injective, it is time to instantiate the contract t
608608
Reminder On CosmWasm, the upload of a contract's code and the instantiation of a contract are regarded as separate events
609609
{% endhint %}
610610

611-
To instantiate the contract, run the following CLI command with the code\_id you got in the previous step, along with the [JSON encoded initialization arguments](https://github.com/InjectiveLabs/cw-counter/blob/ea3b781447a87f052e4b8308d5c73a30481ed61f/schema/cw-counter.json#L7) and a label (a human-readable name for this contract in lists).
611+
To instantiate the contract, run the following CLI command with the code_id you got in the previous step, along with the [JSON encoded initialization arguments](https://github.com/InjectiveLabs/cw-counter/blob/ea3b781447a87f052e4b8308d5c73a30481ed61f/schema/cw-counter.json#L7) and a label (a human-readable name for this contract in lists).
612612

613613
```bash
614614
INIT='{"count":99}'

.gitbook/developers/exchange-developers/provider-oracle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Prerequisite reading [Injective Oracle Module](../modules/injective/oracle/)
55
{% endhint %}
66

7-
The goal of this section is to provide users a guide on how to launch and maintain an oracle provider on Injective. These oracles can be used for various purposes, like Perpetual Markets, Expiry Futures Markets, [Binary Options markets](../modules/injective/exchange/02\_binary\_options\_markets.md), etc.
7+
The goal of this section is to provide users a guide on how to launch and maintain an oracle provider on Injective. These oracles can be used for various purposes, like Perpetual Markets, Expiry Futures Markets, [Binary Options markets](../modules/injective/exchange/02_binary_options_markets.md), etc.
88

99
First, what is an oracle provider? It's an oracle **TYPE** that allows external parties to relay price feeds to the Injective chain. These external parties are called providers. A provider identifies each external party, and all the price feeds provided on the chain are stored under that particular provider. This allows custom price feeds to be created on Injective, which can power creative and advanced markets being launched on Injective.
1010

.gitbook/developers/getting-started/guides/testnet-proposals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Let's say that you want to submit a proposal on `testnet`. Because there is a sh
55
Once you submit the proposal, you should reach out to the team:
66

77
1. Join the [Injective Discord server](https://discord.gg/injective) and find the relevant channel.
8-
2. Join the [Injective Developer Telegram channel](https://t.me/+8Y\_0HOFLhnRlZDU9).
8+
2. Join the [Injective Developer Telegram channel](https://t.me/+8Y_0HOFLhnRlZDU9).
99

1010
Here is an example for the `GrantProviderPrivilegeProposal`
1111

.gitbook/developers/modules/injective/auction/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ The `auction` module periodically obtains a basket of tokens accumulated from tr
66

77
## Contents
88

9-
1. [**State**](01\_state.md)
10-
2. [**Messages**](02\_messages.md)
11-
3. [**End Block**](03\_end\_block.md)
12-
4. [**Events**](04\_events.md)
13-
5. [**Params**](05\_params.md)
9+
1. [**State**](01_state.md)
10+
2. [**Messages**](02_messages.md)
11+
3. [**End Block**](03_end_block.md)
12+
4. [**Events**](04_events.md)
13+
5. [**Params**](05_params.md)

.gitbook/developers/modules/injective/exchange/00_derivative_market_concepts.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -190,14 +190,14 @@ Handler and EndBlocker Execution of the market order are conceptually identical
190190

191191
* BUY (1): A standard buy order to purchase an asset at either the current market price or a set limit price.
192192
* SELL (2): A standard sell order to sell an asset at either the current market price or a set limit price.
193-
* STOP\_BUY (3): A stop-buy order converts into a regular buy order once the oracle price reaches or surpasses a specified trigger price.
194-
* STOP\_SELL (4): A stop-sell order becomes a regular sell order once the oracle price drops to or below a specified trigger price.
195-
* TAKE\_BUY (5): A take-buy order converts into a regular buy order once the oracle price reaches or drops below a specified trigger price.
196-
* TAKE\_SELL (6):A stop-sell order becomes a regular sell order once the oracle price reaches or surpasses a specified trigger price.
197-
* BUY\_PO (7): Post-Only Buy. This order type ensures that the order will only be added to the order book and not match with a pre-existing order. It guarantees that you will be the market "maker" and not the "taker".
198-
* SELL\_PO (8): Post-Only Sell. Similar to BUY\_PO, this ensures that your sell order will only add liquidity to the order book and not match with a pre-existing order.
199-
* BUY\_ATOMIC (9): An atomic buy order is a market order that gets executed instantly, bypassing the Frequent Batch Auctions (FBA). It's intended for smart contracts that need to execute a trade instantly. A higher fee is paid defined in the global exchange parameters.
200-
* SELL\_ATOMIC (10): An atomic sell order is similar to a BUY\_ATOMIC, and it gets executed instantly at the current market price, bypassing the FBA.
193+
* STOP_BUY (3): A stop-buy order converts into a regular buy order once the oracle price reaches or surpasses a specified trigger price.
194+
* STOP_SELL (4): A stop-sell order becomes a regular sell order once the oracle price drops to or below a specified trigger price.
195+
* TAKE_BUY (5): A take-buy order converts into a regular buy order once the oracle price reaches or drops below a specified trigger price.
196+
* TAKE_SELL (6):A stop-sell order becomes a regular sell order once the oracle price reaches or surpasses a specified trigger price.
197+
* BUY_PO (7): Post-Only Buy. This order type ensures that the order will only be added to the order book and not match with a pre-existing order. It guarantees that you will be the market "maker" and not the "taker".
198+
* SELL_PO (8): Post-Only Sell. Similar to BUY_PO, this ensures that your sell order will only add liquidity to the order book and not match with a pre-existing order.
199+
* BUY_ATOMIC (9): An atomic buy order is a market order that gets executed instantly, bypassing the Frequent Batch Auctions (FBA). It's intended for smart contracts that need to execute a trade instantly. A higher fee is paid defined in the global exchange parameters.
200+
* SELL_ATOMIC (10): An atomic sell order is similar to a BUY_ATOMIC, and it gets executed instantly at the current market price, bypassing the FBA.
201201

202202
### Reduce-Only Orders (Selling Positions)
203203

0 commit comments

Comments
 (0)