create-gauge
Set up an incentive gauge on Osmosis to reward locked tokens by defining distribution criteria, rewards, and duration. Configure perpetual or finite gauges with start times and epochs for effective token incentivization.
Instructions
Create a new incentive gauge for rewarding locked tokens
Input Schema
Name | Required | Description | Default |
---|---|---|---|
coins | Yes | Coins to distribute as rewards | |
distributeTo | Yes | Distribution criteria for the gauge | |
gas | No | Gas limit (default: auto-estimate) | |
gasPrice | No | Gas price (default: 0.025uosmo) | |
isPerpetual | No | Whether the gauge is perpetual (ongoing) or finite | |
memo | No | Transaction memo | |
mnemonic | Yes | BIP-39 mnemonic phrase for signing the transaction | |
numEpochsPaidOver | No | Number of epochs to distribute over (for finite gauges) | |
startTime | Yes | Start time for distribution (RFC3339 format) |
Input Schema (JSON Schema)
{
"properties": {
"coins": {
"description": "Coins to distribute as rewards",
"items": {
"properties": {
"amount": {
"type": "string"
},
"denom": {
"type": "string"
}
},
"required": [
"denom",
"amount"
],
"type": "object"
},
"type": "array"
},
"distributeTo": {
"description": "Distribution criteria for the gauge",
"properties": {
"denom": {
"description": "Token denomination to incentivize",
"type": "string"
},
"duration": {
"description": "Required lock duration in seconds",
"type": "string"
},
"lockQueryType": {
"description": "Type of lock query",
"enum": [
"ByDuration",
"ByTime",
"NoLock"
],
"type": "string"
},
"timestamp": {
"description": "Timestamp for ByTime queries",
"type": "string"
}
},
"required": [
"lockQueryType",
"denom"
],
"type": "object"
},
"gas": {
"description": "Gas limit (default: auto-estimate)",
"type": "string"
},
"gasPrice": {
"description": "Gas price (default: 0.025uosmo)",
"type": "string"
},
"isPerpetual": {
"default": false,
"description": "Whether the gauge is perpetual (ongoing) or finite",
"type": "boolean"
},
"memo": {
"description": "Transaction memo",
"type": "string"
},
"mnemonic": {
"description": "BIP-39 mnemonic phrase for signing the transaction",
"type": "string"
},
"numEpochsPaidOver": {
"description": "Number of epochs to distribute over (for finite gauges)",
"type": "string"
},
"startTime": {
"description": "Start time for distribution (RFC3339 format)",
"type": "string"
}
},
"required": [
"mnemonic",
"distributeTo",
"coins",
"startTime"
],
"type": "object"
}