Get desktop application:
View/edit binary Protocol Buffers messages
MsgService defines the msgs that the cork module handles
MsgScheduleCorkRequest - sdk.Msg for scheduling a cork request for on or after a specific block height
the scheduled cork
the block height that must be reached
signer account address
cork ID
Query defines the gRPC query service for the cork module.
QueryParams queries the allocation module parameters.
QueryParamsRequest is the request type for the Query/Params gRPC method.
(message has no fields)
QueryParamsRequest is the response type for the Query/Params gRPC method.
allocation parameters
QueryCellarIDs returns all cellars and current tick ranges
QueryCellarIDsRequest is the request type for Query/QueryCellarIDs gRPC method.
(message has no fields)
QueryCellarIDsResponse is the response type for Query/QueryCellars gRPC method.
QueryScheduledCorks returns all scheduled corks
QueryScheduledCorksRequest
(message has no fields)
QueryScheduledCorksResponse
QueryScheduledBlockHeights returns all scheduled block heights
QueryScheduledBlockHeightsRequest
(message has no fields)
QueryScheduledBlockHeightsResponse
QueryScheduledCorks returns all scheduled corks at a block height
QueryScheduledCorksByBlockHeightRequest
QueryScheduledCorksByBlockHeightResponse
QueryScheduledCorks returns all scheduled corks with the specified ID
QueryScheduledCorksByIDRequest
QueryScheduledCorksByIDResponse
(message has no fields)
AddManagedCellarIDsProposalWithDeposit is a specific definition for CLI commands
Used in:
, ,Used in:
, ,call body containing the ABI encoded bytes to send to the contract
address of the contract to send the call
Used in:
, ,GenesisState - all cork state that must be provided at genesis
Params cork parameters
Used in:
,Deprecated VoteThreshold defines the percentage of bonded stake required to vote for a scheduled cork to be approved
RemoveManagedCellarIDsProposalWithDeposit is a specific definition for CLI commands
Used in:
, , ,The JSON representation of a ScheduleRequest defined in the Steward protos Example: The following is the JSON form of a ScheduleRequest containing a steward.v2.cellar_v1.TrustPosition message, which maps to the `trustPosition(address)` function of the the V1 Cellar contract. { "cellar_id": "0x1234567890000000000000000000000000000000", "cellar_v1": { "trust_position": { "erc20_address": "0x1234567890000000000000000000000000000000" } }, "block_height": 1000000 } You can use the Steward CLI to generate the required JSON rather than constructing it by hand https://github.com/peggyjv/steward
ScheduledCorkProposalWithDeposit is a specific definition for CLI commands