Skip to content

Commit

Permalink
update schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
epanchee committed Dec 12, 2024
1 parent 783adb6 commit df20706
Show file tree
Hide file tree
Showing 39 changed files with 0 additions and 4,899 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -725,30 +725,6 @@
},
"additionalProperties": false
},
{
"description": "Query price from observations",
"type": "object",
"required": [
"observe"
],
"properties": {
"observe": {
"type": "object",
"required": [
"seconds_ago"
],
"properties": {
"seconds_ago": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"description": "Returns an estimation of shares received for the given amount of assets",
"type": "object",
Expand Down Expand Up @@ -1144,32 +1120,6 @@
"description": "A fixed-point decimal value with 18 fractional digits, i.e. Decimal256(1_000_000_000_000_000_000) == 1.0\n\nThe greatest possible value that can be represented is 115792089237316195423570985008687907853269984665640564039457.584007913129639935 (which is (2^256 - 1) / 10^18)",
"type": "string"
},
"observe": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "OracleObservation",
"type": "object",
"required": [
"price",
"timestamp"
],
"properties": {
"price": {
"$ref": "#/definitions/Decimal"
},
"timestamp": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
},
"additionalProperties": false,
"definitions": {
"Decimal": {
"description": "A fixed-point decimal value with 18 fractional digits, i.e. Decimal(1_000_000_000_000_000_000) == 1.0\n\nThe greatest possible value that can be represented is 340282366920938463463.374607431768211455 (which is (2^128 - 1) / 10^18)",
"type": "string"
}
}
},
"pair": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "PairInfo",
Expand Down
24 changes: 0 additions & 24 deletions schemas/astroport-pair-concentrated/raw/query.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,30 +199,6 @@
},
"additionalProperties": false
},
{
"description": "Query price from observations",
"type": "object",
"required": [
"observe"
],
"properties": {
"observe": {
"type": "object",
"required": [
"seconds_ago"
],
"properties": {
"seconds_ago": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"description": "Returns an estimation of shares received for the given amount of assets",
"type": "object",
Expand Down
26 changes: 0 additions & 26 deletions schemas/astroport-pair-concentrated/raw/response_to_observe.json

This file was deleted.

50 changes: 0 additions & 50 deletions schemas/astroport-pair-stable/astroport-pair-stable.json
Original file line number Diff line number Diff line change
Expand Up @@ -711,30 +711,6 @@
},
"additionalProperties": false
},
{
"description": "Query price from observations",
"type": "object",
"required": [
"observe"
],
"properties": {
"observe": {
"type": "object",
"required": [
"seconds_ago"
],
"properties": {
"seconds_ago": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"description": "Returns an estimation of assets received for the given amount of LP tokens",
"type": "object",
Expand Down Expand Up @@ -1118,32 +1094,6 @@
}
}
},
"observe": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "OracleObservation",
"type": "object",
"required": [
"price",
"timestamp"
],
"properties": {
"price": {
"$ref": "#/definitions/Decimal"
},
"timestamp": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
},
"additionalProperties": false,
"definitions": {
"Decimal": {
"description": "A fixed-point decimal value with 18 fractional digits, i.e. Decimal(1_000_000_000_000_000_000) == 1.0\n\nThe greatest possible value that can be represented is 340282366920938463463.374607431768211455 (which is (2^128 - 1) / 10^18)",
"type": "string"
}
}
},
"pair": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "PairInfo",
Expand Down
24 changes: 0 additions & 24 deletions schemas/astroport-pair-stable/raw/query.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,30 +185,6 @@
},
"additionalProperties": false
},
{
"description": "Query price from observations",
"type": "object",
"required": [
"observe"
],
"properties": {
"observe": {
"type": "object",
"required": [
"seconds_ago"
],
"properties": {
"seconds_ago": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"description": "Returns an estimation of assets received for the given amount of LP tokens",
"type": "object",
Expand Down
26 changes: 0 additions & 26 deletions schemas/astroport-pair-stable/raw/response_to_observe.json

This file was deleted.

50 changes: 0 additions & 50 deletions schemas/astroport-pair-xastro/astroport-pair-xastro.json
Original file line number Diff line number Diff line change
Expand Up @@ -711,30 +711,6 @@
},
"additionalProperties": false
},
{
"description": "Query price from observations",
"type": "object",
"required": [
"observe"
],
"properties": {
"observe": {
"type": "object",
"required": [
"seconds_ago"
],
"properties": {
"seconds_ago": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"description": "Returns an estimation of assets received for the given amount of LP tokens",
"type": "object",
Expand Down Expand Up @@ -1112,32 +1088,6 @@
}
}
},
"observe": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "OracleObservation",
"type": "object",
"required": [
"price",
"timestamp"
],
"properties": {
"price": {
"$ref": "#/definitions/Decimal"
},
"timestamp": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
},
"additionalProperties": false,
"definitions": {
"Decimal": {
"description": "A fixed-point decimal value with 18 fractional digits, i.e. Decimal(1_000_000_000_000_000_000) == 1.0\n\nThe greatest possible value that can be represented is 340282366920938463463.374607431768211455 (which is (2^128 - 1) / 10^18)",
"type": "string"
}
}
},
"pair": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "PairInfo",
Expand Down
24 changes: 0 additions & 24 deletions schemas/astroport-pair-xastro/raw/query.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,30 +185,6 @@
},
"additionalProperties": false
},
{
"description": "Query price from observations",
"type": "object",
"required": [
"observe"
],
"properties": {
"observe": {
"type": "object",
"required": [
"seconds_ago"
],
"properties": {
"seconds_ago": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"description": "Returns an estimation of assets received for the given amount of LP tokens",
"type": "object",
Expand Down
26 changes: 0 additions & 26 deletions schemas/astroport-pair-xastro/raw/response_to_observe.json

This file was deleted.

Loading

0 comments on commit df20706

Please sign in to comment.