mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-24 23:35:19 +00:00
Fix misspellings across docs & comments
(cherry picked from commit 0ea92335de
)
Co-authored-by: alex <152680487+bodhi-crypo@users.noreply.github.com>
This commit is contained in:
parent
7ca43024e4
commit
be5bf62ab8
@ -1122,7 +1122,7 @@ GenesisState defines the pricefeed module's genesis state.
|
|||||||
|
|
||||||
| Field | Type | Label | Description |
|
| Field | Type | Label | Description |
|
||||||
| ----- | ---- | ----- | ----------- |
|
| ----- | ---- | ----- | ----------- |
|
||||||
| `params` | [Params](#kava.bep3.v1beta1.Params) | | params defines all the paramaters of the module. |
|
| `params` | [Params](#kava.bep3.v1beta1.Params) | | params defines all the parameters of the module. |
|
||||||
| `atomic_swaps` | [AtomicSwap](#kava.bep3.v1beta1.AtomicSwap) | repeated | atomic_swaps represents the state of stored atomic swaps |
|
| `atomic_swaps` | [AtomicSwap](#kava.bep3.v1beta1.AtomicSwap) | repeated | atomic_swaps represents the state of stored atomic swaps |
|
||||||
| `supplies` | [AssetSupply](#kava.bep3.v1beta1.AssetSupply) | repeated | supplies represents the supply information of each atomic swap |
|
| `supplies` | [AssetSupply](#kava.bep3.v1beta1.AssetSupply) | repeated | supplies represents the supply information of each atomic swap |
|
||||||
| `previous_block_time` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | previous_block_time represents the time of the previous block |
|
| `previous_block_time` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | previous_block_time represents the time of the previous block |
|
||||||
@ -1653,7 +1653,7 @@ GenesisState defines the cdp module's genesis state.
|
|||||||
|
|
||||||
| Field | Type | Label | Description |
|
| Field | Type | Label | Description |
|
||||||
| ----- | ---- | ----- | ----------- |
|
| ----- | ---- | ----- | ----------- |
|
||||||
| `params` | [Params](#kava.cdp.v1beta1.Params) | | params defines all the paramaters of the module. |
|
| `params` | [Params](#kava.cdp.v1beta1.Params) | | params defines all the parameters of the module. |
|
||||||
| `cdps` | [CDP](#kava.cdp.v1beta1.CDP) | repeated | |
|
| `cdps` | [CDP](#kava.cdp.v1beta1.CDP) | repeated | |
|
||||||
| `deposits` | [Deposit](#kava.cdp.v1beta1.Deposit) | repeated | |
|
| `deposits` | [Deposit](#kava.cdp.v1beta1.Deposit) | repeated | |
|
||||||
| `starting_cdp_id` | [uint64](#uint64) | | |
|
| `starting_cdp_id` | [uint64](#uint64) | | |
|
||||||
@ -2996,7 +2996,7 @@ GenesisState defines the community module's genesis state.
|
|||||||
|
|
||||||
| Field | Type | Label | Description |
|
| Field | Type | Label | Description |
|
||||||
| ----- | ---- | ----- | ----------- |
|
| ----- | ---- | ----- | ----------- |
|
||||||
| `params` | [Params](#kava.community.v1beta1.Params) | | params defines all the paramaters related to commmunity |
|
| `params` | [Params](#kava.community.v1beta1.Params) | | params defines all the parameters related to commmunity |
|
||||||
| `staking_rewards_state` | [StakingRewardsState](#kava.community.v1beta1.StakingRewardsState) | | StakingRewardsState stores the internal staking reward data required to track staking rewards across blocks |
|
| `staking_rewards_state` | [StakingRewardsState](#kava.community.v1beta1.StakingRewardsState) | | StakingRewardsState stores the internal staking reward data required to track staking rewards across blocks |
|
||||||
|
|
||||||
|
|
||||||
@ -3467,7 +3467,7 @@ GenesisState defines the earn module's genesis state.
|
|||||||
|
|
||||||
| Field | Type | Label | Description |
|
| Field | Type | Label | Description |
|
||||||
| ----- | ---- | ----- | ----------- |
|
| ----- | ---- | ----- | ----------- |
|
||||||
| `params` | [Params](#kava.earn.v1beta1.Params) | | params defines all the paramaters related to earn |
|
| `params` | [Params](#kava.earn.v1beta1.Params) | | params defines all the parameters related to earn |
|
||||||
| `vault_records` | [VaultRecord](#kava.earn.v1beta1.VaultRecord) | repeated | vault_records defines the available vaults |
|
| `vault_records` | [VaultRecord](#kava.earn.v1beta1.VaultRecord) | repeated | vault_records defines the available vaults |
|
||||||
| `vault_share_records` | [VaultShareRecord](#kava.earn.v1beta1.VaultShareRecord) | repeated | share_records defines the owned shares of each vault |
|
| `vault_share_records` | [VaultShareRecord](#kava.earn.v1beta1.VaultShareRecord) | repeated | share_records defines the owned shares of each vault |
|
||||||
|
|
||||||
@ -5908,7 +5908,7 @@ GenesisState defines the issuance module's genesis state.
|
|||||||
|
|
||||||
| Field | Type | Label | Description |
|
| Field | Type | Label | Description |
|
||||||
| ----- | ---- | ----- | ----------- |
|
| ----- | ---- | ----- | ----------- |
|
||||||
| `params` | [Params](#kava.issuance.v1beta1.Params) | | params defines all the paramaters of the module. |
|
| `params` | [Params](#kava.issuance.v1beta1.Params) | | params defines all the parameters of the module. |
|
||||||
| `supplies` | [AssetSupply](#kava.issuance.v1beta1.AssetSupply) | repeated | |
|
| `supplies` | [AssetSupply](#kava.issuance.v1beta1.AssetSupply) | repeated | |
|
||||||
|
|
||||||
|
|
||||||
@ -6724,7 +6724,7 @@ GenesisState defines the pricefeed module's genesis state.
|
|||||||
|
|
||||||
| Field | Type | Label | Description |
|
| Field | Type | Label | Description |
|
||||||
| ----- | ---- | ----- | ----------- |
|
| ----- | ---- | ----- | ----------- |
|
||||||
| `params` | [Params](#kava.pricefeed.v1beta1.Params) | | params defines all the paramaters of the module. |
|
| `params` | [Params](#kava.pricefeed.v1beta1.Params) | | params defines all the parameters of the module. |
|
||||||
| `posted_prices` | [PostedPrice](#kava.pricefeed.v1beta1.PostedPrice) | repeated | |
|
| `posted_prices` | [PostedPrice](#kava.pricefeed.v1beta1.PostedPrice) | repeated | |
|
||||||
|
|
||||||
|
|
||||||
@ -7560,7 +7560,7 @@ GenesisState defines the swap module's genesis state.
|
|||||||
|
|
||||||
| Field | Type | Label | Description |
|
| Field | Type | Label | Description |
|
||||||
| ----- | ---- | ----- | ----------- |
|
| ----- | ---- | ----- | ----------- |
|
||||||
| `params` | [Params](#kava.swap.v1beta1.Params) | | params defines all the paramaters related to swap |
|
| `params` | [Params](#kava.swap.v1beta1.Params) | | params defines all the parameters related to swap |
|
||||||
| `pool_records` | [PoolRecord](#kava.swap.v1beta1.PoolRecord) | repeated | pool_records defines the available pools |
|
| `pool_records` | [PoolRecord](#kava.swap.v1beta1.PoolRecord) | repeated | pool_records defines the available pools |
|
||||||
| `share_records` | [ShareRecord](#kava.swap.v1beta1.ShareRecord) | repeated | share_records defines the owned shares of each pool |
|
| `share_records` | [ShareRecord](#kava.swap.v1beta1.ShareRecord) | repeated | share_records defines the owned shares of each pool |
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ option go_package = "github.com/kava-labs/kava/x/bep3/types";
|
|||||||
|
|
||||||
// GenesisState defines the pricefeed module's genesis state.
|
// GenesisState defines the pricefeed module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
// params defines all the paramaters of the module.
|
// params defines all the parameters of the module.
|
||||||
Params params = 1 [(gogoproto.nullable) = false];
|
Params params = 1 [(gogoproto.nullable) = false];
|
||||||
|
|
||||||
// atomic_swaps represents the state of stored atomic swaps
|
// atomic_swaps represents the state of stored atomic swaps
|
||||||
|
@ -11,7 +11,7 @@ option go_package = "github.com/kava-labs/kava/x/cdp/types";
|
|||||||
|
|
||||||
// GenesisState defines the cdp module's genesis state.
|
// GenesisState defines the cdp module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
// params defines all the paramaters of the module.
|
// params defines all the parameters of the module.
|
||||||
Params params = 1 [(gogoproto.nullable) = false];
|
Params params = 1 [(gogoproto.nullable) = false];
|
||||||
|
|
||||||
repeated CDP cdps = 2 [
|
repeated CDP cdps = 2 [
|
||||||
|
@ -9,7 +9,7 @@ option go_package = "github.com/kava-labs/kava/x/community/types";
|
|||||||
|
|
||||||
// GenesisState defines the community module's genesis state.
|
// GenesisState defines the community module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
// params defines all the paramaters related to commmunity
|
// params defines all the parameters related to commmunity
|
||||||
Params params = 1 [(gogoproto.nullable) = false];
|
Params params = 1 [(gogoproto.nullable) = false];
|
||||||
|
|
||||||
// StakingRewardsState stores the internal staking reward data required to
|
// StakingRewardsState stores the internal staking reward data required to
|
||||||
|
@ -9,7 +9,7 @@ option go_package = "github.com/kava-labs/kava/x/earn/types";
|
|||||||
|
|
||||||
// GenesisState defines the earn module's genesis state.
|
// GenesisState defines the earn module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
// params defines all the paramaters related to earn
|
// params defines all the parameters related to earn
|
||||||
Params params = 1 [(gogoproto.nullable) = false];
|
Params params = 1 [(gogoproto.nullable) = false];
|
||||||
// vault_records defines the available vaults
|
// vault_records defines the available vaults
|
||||||
repeated VaultRecord vault_records = 2 [
|
repeated VaultRecord vault_records = 2 [
|
||||||
|
@ -9,7 +9,7 @@ option go_package = "github.com/kava-labs/kava/x/issuance/types";
|
|||||||
|
|
||||||
// GenesisState defines the issuance module's genesis state.
|
// GenesisState defines the issuance module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
// params defines all the paramaters of the module.
|
// params defines all the parameters of the module.
|
||||||
Params params = 1 [(gogoproto.nullable) = false];
|
Params params = 1 [(gogoproto.nullable) = false];
|
||||||
|
|
||||||
repeated AssetSupply supplies = 2 [(gogoproto.nullable) = false];
|
repeated AssetSupply supplies = 2 [(gogoproto.nullable) = false];
|
||||||
|
@ -10,7 +10,7 @@ option (gogoproto.verbose_equal_all) = true;
|
|||||||
|
|
||||||
// GenesisState defines the pricefeed module's genesis state.
|
// GenesisState defines the pricefeed module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
// params defines all the paramaters of the module.
|
// params defines all the parameters of the module.
|
||||||
Params params = 1 [(gogoproto.nullable) = false];
|
Params params = 1 [(gogoproto.nullable) = false];
|
||||||
|
|
||||||
repeated PostedPrice posted_prices = 2 [
|
repeated PostedPrice posted_prices = 2 [
|
||||||
|
@ -8,7 +8,7 @@ option go_package = "github.com/kava-labs/kava/x/swap/types";
|
|||||||
|
|
||||||
// GenesisState defines the swap module's genesis state.
|
// GenesisState defines the swap module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
// params defines all the paramaters related to swap
|
// params defines all the parameters related to swap
|
||||||
Params params = 1 [(gogoproto.nullable) = false];
|
Params params = 1 [(gogoproto.nullable) = false];
|
||||||
// pool_records defines the available pools
|
// pool_records defines the available pools
|
||||||
repeated PoolRecord pool_records = 2 [
|
repeated PoolRecord pool_records = 2 [
|
||||||
|
@ -6,7 +6,7 @@ order: 2
|
|||||||
|
|
||||||
## Parameters and genesis state
|
## Parameters and genesis state
|
||||||
|
|
||||||
`Paramaters` define the rules according to which auctions are run. There is only one active parameter set at any given time. Updates to the parameter set can be made via on-chain parameter update proposals.
|
`parameters` define the rules according to which auctions are run. There is only one active parameter set at any given time. Updates to the parameter set can be made via on-chain parameter update proposals.
|
||||||
|
|
||||||
```go
|
```go
|
||||||
// Params governance parameters for auction module
|
// Params governance parameters for auction module
|
||||||
|
@ -6,7 +6,7 @@ order: 2
|
|||||||
|
|
||||||
## Parameters and genesis state
|
## Parameters and genesis state
|
||||||
|
|
||||||
`Paramaters` define the rules according to which swaps are executed. Parameter updates can be made via on-chain parameter update proposals.
|
`parameters` define the rules according to which swaps are executed. Parameter updates can be made via on-chain parameter update proposals.
|
||||||
|
|
||||||
```go
|
```go
|
||||||
// Params governance parameters for bep3 module
|
// Params governance parameters for bep3 module
|
||||||
|
@ -29,7 +29,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
|||||||
|
|
||||||
// GenesisState defines the pricefeed module's genesis state.
|
// GenesisState defines the pricefeed module's genesis state.
|
||||||
type GenesisState struct {
|
type GenesisState struct {
|
||||||
// params defines all the paramaters of the module.
|
// params defines all the parameters of the module.
|
||||||
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
|
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
|
||||||
// atomic_swaps represents the state of stored atomic swaps
|
// atomic_swaps represents the state of stored atomic swaps
|
||||||
AtomicSwaps AtomicSwaps `protobuf:"bytes,2,rep,name=atomic_swaps,json=atomicSwaps,proto3,castrepeated=AtomicSwaps" json:"atomic_swaps"`
|
AtomicSwaps AtomicSwaps `protobuf:"bytes,2,rep,name=atomic_swaps,json=atomicSwaps,proto3,castrepeated=AtomicSwaps" json:"atomic_swaps"`
|
||||||
|
@ -32,7 +32,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
|||||||
|
|
||||||
// GenesisState defines the cdp module's genesis state.
|
// GenesisState defines the cdp module's genesis state.
|
||||||
type GenesisState struct {
|
type GenesisState struct {
|
||||||
// params defines all the paramaters of the module.
|
// params defines all the parameters of the module.
|
||||||
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
|
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
|
||||||
CDPs CDPs `protobuf:"bytes,2,rep,name=cdps,proto3,castrepeated=CDPs" json:"cdps"`
|
CDPs CDPs `protobuf:"bytes,2,rep,name=cdps,proto3,castrepeated=CDPs" json:"cdps"`
|
||||||
Deposits Deposits `protobuf:"bytes,3,rep,name=deposits,proto3,castrepeated=Deposits" json:"deposits"`
|
Deposits Deposits `protobuf:"bytes,3,rep,name=deposits,proto3,castrepeated=Deposits" json:"deposits"`
|
||||||
|
@ -47,7 +47,7 @@ the parameters and staking rewards state to keep track of payout between blocks.
|
|||||||
```protobuf
|
```protobuf
|
||||||
// GenesisState defines the community module's genesis state.
|
// GenesisState defines the community module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
// params defines all the paramaters related to commmunity
|
// params defines all the parameters related to commmunity
|
||||||
Params params = 1 [(gogoproto.nullable) = false];
|
Params params = 1 [(gogoproto.nullable) = false];
|
||||||
|
|
||||||
// StakingRewardsState stores the internal staking reward data required to
|
// StakingRewardsState stores the internal staking reward data required to
|
||||||
|
@ -25,7 +25,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
|||||||
|
|
||||||
// GenesisState defines the community module's genesis state.
|
// GenesisState defines the community module's genesis state.
|
||||||
type GenesisState struct {
|
type GenesisState struct {
|
||||||
// params defines all the paramaters related to commmunity
|
// params defines all the parameters related to commmunity
|
||||||
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
|
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
|
||||||
// StakingRewardsState stores the internal staking reward data required to
|
// StakingRewardsState stores the internal staking reward data required to
|
||||||
// track staking rewards across blocks
|
// track staking rewards across blocks
|
||||||
|
@ -25,7 +25,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
|||||||
|
|
||||||
// GenesisState defines the earn module's genesis state.
|
// GenesisState defines the earn module's genesis state.
|
||||||
type GenesisState struct {
|
type GenesisState struct {
|
||||||
// params defines all the paramaters related to earn
|
// params defines all the parameters related to earn
|
||||||
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
|
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
|
||||||
// vault_records defines the available vaults
|
// vault_records defines the available vaults
|
||||||
VaultRecords VaultRecords `protobuf:"bytes,2,rep,name=vault_records,json=vaultRecords,proto3,castrepeated=VaultRecords" json:"vault_records"`
|
VaultRecords VaultRecords `protobuf:"bytes,2,rep,name=vault_records,json=vaultRecords,proto3,castrepeated=VaultRecords" json:"vault_records"`
|
||||||
|
@ -31,7 +31,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
|||||||
|
|
||||||
// GenesisState defines the issuance module's genesis state.
|
// GenesisState defines the issuance module's genesis state.
|
||||||
type GenesisState struct {
|
type GenesisState struct {
|
||||||
// params defines all the paramaters of the module.
|
// params defines all the parameters of the module.
|
||||||
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
|
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
|
||||||
Supplies []AssetSupply `protobuf:"bytes,2,rep,name=supplies,proto3" json:"supplies"`
|
Supplies []AssetSupply `protobuf:"bytes,2,rep,name=supplies,proto3" json:"supplies"`
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@ order: 2
|
|||||||
|
|
||||||
## Parameters and genesis state
|
## Parameters and genesis state
|
||||||
|
|
||||||
`Paramaters` determine which markets are tracked by the pricefeed and which oracles are authorized to post prices for a given market. There is only one active parameter set at any given time. Updates to parameters can be made via on-chain parameter update proposals.
|
`parameters` determine which markets are tracked by the pricefeed and which oracles are authorized to post prices for a given market. There is only one active parameter set at any given time. Updates to parameters can be made via on-chain parameter update proposals.
|
||||||
|
|
||||||
```go
|
```go
|
||||||
// Params params for pricefeed. Can be altered via governance
|
// Params params for pricefeed. Can be altered via governance
|
||||||
|
@ -25,7 +25,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
|||||||
|
|
||||||
// GenesisState defines the pricefeed module's genesis state.
|
// GenesisState defines the pricefeed module's genesis state.
|
||||||
type GenesisState struct {
|
type GenesisState struct {
|
||||||
// params defines all the paramaters of the module.
|
// params defines all the parameters of the module.
|
||||||
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
|
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
|
||||||
PostedPrices PostedPrices `protobuf:"bytes,2,rep,name=posted_prices,json=postedPrices,proto3,castrepeated=PostedPrices" json:"posted_prices"`
|
PostedPrices PostedPrices `protobuf:"bytes,2,rep,name=posted_prices,json=postedPrices,proto3,castrepeated=PostedPrices" json:"posted_prices"`
|
||||||
}
|
}
|
||||||
|
@ -25,7 +25,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
|||||||
|
|
||||||
// GenesisState defines the swap module's genesis state.
|
// GenesisState defines the swap module's genesis state.
|
||||||
type GenesisState struct {
|
type GenesisState struct {
|
||||||
// params defines all the paramaters related to swap
|
// params defines all the parameters related to swap
|
||||||
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
|
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
|
||||||
// pool_records defines the available pools
|
// pool_records defines the available pools
|
||||||
PoolRecords PoolRecords `protobuf:"bytes,2,rep,name=pool_records,json=poolRecords,proto3,castrepeated=PoolRecords" json:"pool_records"`
|
PoolRecords PoolRecords `protobuf:"bytes,2,rep,name=pool_records,json=poolRecords,proto3,castrepeated=PoolRecords" json:"pool_records"`
|
||||||
|
Loading…
Reference in New Issue
Block a user