Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] RewardWeight migration script update to burn all seigniorage #477

Merged
merged 3 commits into from
May 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/docs/statik/statik.go

Large diffs are not rendered by default.

278 changes: 0 additions & 278 deletions client/docs/swagger-ui/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3601,284 +3601,6 @@ paths:
description: Invalid proposal body
'500':
description: Internal Server Error
/gov/proposals/tax_rate_update:
post:
summary: Tax Rate update proposal
description: Generate a tax rate update transaction
consumes:
- application/json
produces:
- application/json
tags:
- Governance
parameters:
- description: The tax rate update body that contains new tax rate info
name: post_proposal_body
in: body
required: true
schema:
type: object
properties:
base_req:
type: object
properties:
from:
type: string
example: terra1wg2mlrxdmnnkkykgqg4znky86nyrtc45q336yv
description: Sender address or Keybase name to generate a transaction
memo:
type: string
example: "Sent via Terra Station \U0001F680"
chain_id:
type: string
example: columbus-3
account_number:
type: string
example: '0'
sequence:
type: string
example: '1'
gas:
type: string
example: '200000'
gas_adjustment:
type: string
example: '1.2'
fees:
type: array
items:
type: object
properties:
denom:
type: string
example: uluna
amount:
type: string
example: '50'
simulate:
type: boolean
example: false
description: >-
Estimate gas for a transaction (cannot be used in
conjunction with generate_only)
title:
type: string
x-example: Param Change
description:
type: string
x-example: Update max validators
proposer:
type: string
description: bech32 encoded address
example: terra1wg2mlrxdmnnkkykgqg4znky86nyrtc45q336yv
deposit:
type: array
items:
type: object
properties:
denom:
type: string
example: uluna
amount:
type: string
example: '50'
tax_rate:
type: number
format: float
example: '0.12'
responses:
'200':
description: The transaction was succesfully generated
schema:
type: object
properties:
msg:
type: array
items:
type: string
fee:
type: object
properties:
gas:
type: string
amount:
type: array
items:
type: object
properties:
denom:
type: string
example: uluna
amount:
type: string
example: '50'
memo:
type: string
signature:
type: object
properties:
signature:
type: string
example: >-
MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
pub_key:
type: object
properties:
type:
type: string
example: tendermint/PubKeySecp256k1
value:
type: string
example: Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH
account_number:
type: string
example: '0'
sequence:
type: string
example: '0'
'400':
description: Invalid proposal body
'500':
description: Internal Server Error
/gov/proposals/reward_weight_update:
post:
summary: Reward Weight update proposal
description: Generate a reward weight update transaction
consumes:
- application/json
produces:
- application/json
tags:
- Governance
parameters:
- description: The reward weight update body that contains new reward weight info
name: post_proposal_body
in: body
required: true
schema:
type: object
properties:
base_req:
type: object
properties:
from:
type: string
example: terra1wg2mlrxdmnnkkykgqg4znky86nyrtc45q336yv
description: Sender address or Keybase name to generate a transaction
memo:
type: string
example: "Sent via Terra Station \U0001F680"
chain_id:
type: string
example: columbus-3
account_number:
type: string
example: '0'
sequence:
type: string
example: '1'
gas:
type: string
example: '200000'
gas_adjustment:
type: string
example: '1.2'
fees:
type: array
items:
type: object
properties:
denom:
type: string
example: uluna
amount:
type: string
example: '50'
simulate:
type: boolean
example: false
description: >-
Estimate gas for a transaction (cannot be used in
conjunction with generate_only)
title:
type: string
x-example: Param Change
description:
type: string
x-example: Update max validators
proposer:
type: string
description: bech32 encoded address
example: terra1wg2mlrxdmnnkkykgqg4znky86nyrtc45q336yv
deposit:
type: array
items:
type: object
properties:
denom:
type: string
example: uluna
amount:
type: string
example: '50'
reward_weight:
type: number
format: float
example: '0.12'
responses:
'200':
description: The transaction was succesfully generated
schema:
type: object
properties:
msg:
type: array
items:
type: string
fee:
type: object
properties:
gas:
type: string
amount:
type: array
items:
type: object
properties:
denom:
type: string
example: uluna
amount:
type: string
example: '50'
memo:
type: string
signature:
type: object
properties:
signature:
type: string
example: >-
MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
pub_key:
type: object
properties:
type:
type: string
example: tendermint/PubKeySecp256k1
value:
type: string
example: Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH
account_number:
type: string
example: '0'
sequence:
type: string
example: '0'
'400':
description: Invalid proposal body
'500':
description: Internal Server Error
'/gov/proposals/{proposalId}':
get:
summary: Query a proposal
Expand Down
90 changes: 0 additions & 90 deletions client/docs/swagger_legacy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1240,96 +1240,6 @@ paths:
description: Invalid proposal body
500:
description: Internal Server Error
/gov/proposals/tax_rate_update:
post:
summary: Tax Rate update proposal
description: Generate a tax rate update transaction
consumes:
- application/json
produces:
- application/json
tags:
- Governance
parameters:
- description: The tax rate update body that contains new tax rate info
name: post_proposal_body
in: body
required: true
schema:
type: object
properties:
base_req:
$ref: "#/definitions/BaseReq"
title:
type: string
x-example: "Param Change"
description:
type: string
x-example: "Update max validators"
proposer:
$ref: "#/definitions/Address"
deposit:
type: array
items:
$ref: "#/definitions/Coin"
tax_rate:
type: number
format: float
example: "0.12"
responses:
200:
description: The transaction was succesfully generated
schema:
$ref: "#/definitions/StdTx"
400:
description: Invalid proposal body
500:
description: Internal Server Error
/gov/proposals/reward_weight_update:
post:
summary: Reward Weight update proposal
description: Generate a reward weight update transaction
consumes:
- application/json
produces:
- application/json
tags:
- Governance
parameters:
- description: The reward weight update body that contains new reward weight info
name: post_proposal_body
in: body
required: true
schema:
type: object
properties:
base_req:
$ref: "#/definitions/BaseReq"
title:
type: string
x-example: "Param Change"
description:
type: string
x-example: "Update max validators"
proposer:
$ref: "#/definitions/Address"
deposit:
type: array
items:
$ref: "#/definitions/Coin"
reward_weight:
type: number
format: float
example: "0.12"
responses:
200:
description: The transaction was succesfully generated
schema:
$ref: "#/definitions/StdTx"
400:
description: Invalid proposal body
500:
description: Internal Server Error
/gov/proposals/{proposalId}:
get:
summary: Query a proposal
Expand Down
Loading