From e057aa4c40fbf6f6c778e14f2f7298c4b0b70ea8 Mon Sep 17 00:00:00 2001 From: Yarom Swisa Date: Tue, 26 Mar 2024 16:40:51 +0200 Subject: [PATCH 1/2] add gateway plan --- cookbook/plans/gateway.json | 296 ++++++++++++++++++++++++++++++++++++ 1 file changed, 296 insertions(+) create mode 100644 cookbook/plans/gateway.json diff --git a/cookbook/plans/gateway.json b/cookbook/plans/gateway.json new file mode 100644 index 0000000000..354ee34614 --- /dev/null +++ b/cookbook/plans/gateway.json @@ -0,0 +1,296 @@ +{ + "proposal": { + "title": "Add plan proposal: Gateway", + "description": "A proposal for a new plan for a lava gateway", + "plans": [ + { + "index": "gateway", + "description": "Plan for the Lava gateway", + "type": "rpc", + "price": { + "denom": "ulava", + "amount": "1000000000" + }, + "allowed_buyers": [ + "lava@1x07x0krj7h00jejrcp35kvlc8tpa44dza76dw8" + ], + "annual_discount_percentage": 0, + "allow_overuse": false, + "overuse_rate": 0, + "projects": 8, + "plan_policy": { + "geolocation_profile": "GL", + "total_cu_limit": 9223372036854775807, + "epoch_cu_limit": 9223372036854775807, + "max_providers_to_pair": 12, + "selected_providers": [], + "selected_providers_mode": "ALLOWED", + "chain_policies": [ + { + "apis": [], + "chain_id": "NEAR", + "requirements": [ + { + "collection": { + "add_on": "", + "api_interface": "jsonrpc", + "internal_path": "", + "type": "POST" + }, + "extensions": [ + "archive" + ], + "mixed": true + } + ] + }, + { + "apis": [], + "chain_id": "STRK", + "requirements": [ + { + "collection": { + "add_on": "trace", + "api_interface": "jsonrpc", + "internal_path": "", + "type": "POST" + }, + "extensions": [], + "mixed": true + } + ] + }, + { + "apis": [], + "chain_id": "ETH1", + "requirements": [ + { + "collection": { + "add_on": "", + "api_interface": "jsonrpc", + "internal_path": "", + "type": "POST" + }, + "extensions": [ + "archive" + ], + "mixed": true + } + ] + }, + { + "apis": [], + "chain_id": "EVMOS", + "requirements": [ + { + "collection": { + "add_on": "", + "api_interface": "jsonrpc", + "internal_path": "", + "type": "POST" + }, + "extensions": [ + "archive" + ], + "mixed": true + }, + { + "collection": { + "add_on": "", + "api_interface": "rest", + "internal_path": "", + "type": "GET" + }, + "extensions": [ + "archive" + ], + "mixed": true + }, + { + "collection": { + "add_on": "", + "api_interface": "grpc", + "internal_path": "", + "type": "" + }, + "extensions": [ + "archive" + ], + "mixed": true + }, + { + "collection": { + "add_on": "", + "api_interface": "tendermintrpc", + "internal_path": "", + "type": "" + }, + "extensions": [ + "archive" + ], + "mixed": true + } + ] + }, + { + "apis": [], + "chain_id": "AXELAR", + "requirements": [ + { + "collection": { + "add_on": "", + "api_interface": "rest", + "internal_path": "", + "type": "GET" + }, + "extensions": [ + "archive" + ], + "mixed": true + }, + { + "collection": { + "add_on": "", + "api_interface": "tendermintrpc", + "internal_path": "", + "type": "" + }, + "extensions": [ + "archive" + ], + "mixed": true + }, + { + "collection": { + "add_on": "", + "api_interface": "grpc", + "internal_path": "", + "type": "" + }, + "extensions": [ + "archive" + ], + "mixed": true + } + ] + }, + { + "apis": [], + "chain_id": "OSMOSIS", + "requirements": [ + { + "collection": { + "add_on": "", + "api_interface": "rest", + "internal_path": "", + "type": "GET" + }, + "extensions": [ + "archive" + ], + "mixed": true + }, + { + "collection": { + "add_on": "", + "api_interface": "tendermintrpc", + "internal_path": "", + "type": "" + }, + "extensions": [ + "archive" + ], + "mixed": true + }, + { + "collection": { + "add_on": "", + "api_interface": "grpc", + "internal_path": "", + "type": "" + }, + "extensions": [ + "archive" + ], + "mixed": true + } + ] + }, + { + "apis": [], + "chain_id": "COSMOSHUB", + "requirements": [ + { + "collection": { + "add_on": "", + "api_interface": "rest", + "internal_path": "", + "type": "GET" + }, + "extensions": [ + "archive" + ], + "mixed": true + }, + { + "collection": { + "add_on": "", + "api_interface": "tendermintrpc", + "internal_path": "", + "type": "" + }, + "extensions": [ + "archive" + ], + "mixed": true + }, + { + "collection": { + "add_on": "", + "api_interface": "grpc", + "internal_path": "", + "type": "" + }, + "extensions": [ + "archive" + ], + "mixed": true + } + ] + }, + { + "apis": [], + "chain_id": "SQDSUBGRAPH", + "requirements": [ + { + "collection": { + "api_interface": "rest", + "internal_path": "", + "type": "POST", + "add_on": "compound-v3" + }, + "mixed": true + }, + { + "collection": { + "api_interface": "rest", + "internal_path": "", + "type": "POST", + "add_on": "aave-v3" + }, + "mixed": true + } + ] + }, + { + "apis": [], + "chain_id": "*", + "requirements": [] + } + ] + } + } + ] + }, + "deposit": "10000000ulava" +} \ No newline at end of file From 8d35cb5aed096deb7c60bc45c1ac11043e4a6f7f Mon Sep 17 00:00:00 2001 From: Yarom Swisa Date: Wed, 27 Mar 2024 11:48:26 +0200 Subject: [PATCH 2/2] pr changes --- cookbook/plans/gateway.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbook/plans/gateway.json b/cookbook/plans/gateway.json index 354ee34614..988e6f0778 100644 --- a/cookbook/plans/gateway.json +++ b/cookbook/plans/gateway.json @@ -17,12 +17,12 @@ "annual_discount_percentage": 0, "allow_overuse": false, "overuse_rate": 0, - "projects": 8, + "projects": 50, "plan_policy": { "geolocation_profile": "GL", "total_cu_limit": 9223372036854775807, "epoch_cu_limit": 9223372036854775807, - "max_providers_to_pair": 12, + "max_providers_to_pair": 24, "selected_providers": [], "selected_providers_mode": "ALLOWED", "chain_policies": [