diff --git a/cli/src/command/deployments/accounts.rs b/cli/src/command/deployments/accounts.rs index dcf4799..e7df4ff 100644 --- a/cli/src/command/deployments/accounts.rs +++ b/cli/src/command/deployments/accounts.rs @@ -1,17 +1,12 @@ #![allow(clippy::enum_variant_names)] -use std::str::FromStr; - use anyhow::Result; use clap::Args; use katana_primitives::contract::ContractAddress; use katana_primitives::genesis::allocation::{DevAllocationsGenerator, GenesisAccountAlloc}; -use katana_primitives::genesis::allocation::{DevGenesisAccount, GenesisAccount}; use katana_primitives::genesis::Genesis; -use slot::graphql::deployments::katana_accounts::KatanaAccountsDeploymentConfig::KatanaConfig; use slot::graphql::deployments::{katana_accounts::*, KatanaAccounts}; use slot::graphql::GraphQLQuery; -use starknet::core::types::Felt; use slot::api::Client; use slot::credential::Credentials; @@ -37,55 +32,46 @@ impl AccountsArgs { let user = Credentials::load()?; let client = Client::new_with_token(user.access_token); - let data: ResponseData = client.query(&request_body).await?; - - if let Some(deployment) = data.deployment { - if let KatanaConfig(config) = deployment.config { - match config.accounts { - Some(accounts) => { - let mut accounts_vec = Vec::new(); - for account in accounts { - let address = - ContractAddress::new(Felt::from_str(&account.address).unwrap()); - - let public_key = Felt::from_str(&account.public_key).unwrap(); - let private_key = Felt::from_str(&account.private_key).unwrap(); - - let genesis_account = GenesisAccount { - public_key, - ..GenesisAccount::default() - }; - - accounts_vec.push(( - address, - GenesisAccountAlloc::DevAccount(DevGenesisAccount { - private_key, - inner: genesis_account, - }), - )); - } - print_genesis_accounts(accounts_vec.iter().map(|(a, b)| (a, b)), None); - } - None => { - // NOTICE: This is implementation assume that the Katana instance is configured with the default seed and total number of accounts. If not, the - // generated addresses will be different from the ones in the Katana instance. This is rather a hack until `slot` can return the addresses directly (or - // at least the exact configurations of the instance). - - let seed = "0"; - let total_accounts = 10; - - let accounts = DevAllocationsGenerator::new(total_accounts) - .with_seed(parse_seed(seed)) - .generate(); - - let mut genesis = Genesis::default(); - genesis - .extend_allocations(accounts.into_iter().map(|(k, v)| (k, v.into()))); - print_genesis_accounts(genesis.accounts().peekable(), Some(&config.seed)); - } - }; - } - } + let _data: ResponseData = client.query(&request_body).await?; + + // TODO use data.deployment.config and parse `accounts` + // let mut accounts_vec = Vec::new(); + // for account in accounts { + // let address = + // ContractAddress::new(Felt::from_str(&account.address).unwrap()); + // + // let public_key = Felt::from_str(&account.public_key).unwrap(); + // let private_key = Felt::from_str(&account.private_key).unwrap(); + // + // let genesis_account = GenesisAccount { + // public_key, + // ..GenesisAccount::default() + // }; + // + // accounts_vec.push(( + // address, + // GenesisAccountAlloc::DevAccount(DevGenesisAccount { + // private_key, + // inner: genesis_account, + // }), + // )); + // } + // print_genesis_accounts(accounts_vec.iter().map(|(a, b)| (a, b)), None); + + // NOTICE: This is implementation assume that the Katana instance is configured with the default seed and total number of accounts. If not, the + // generated addresses will be different from the ones in the Katana instance. This is rather a hack until `slot` can return the addresses directly (or + // at least the exact configurations of the instance). + + let seed = "0"; + let total_accounts = 10; + + let accounts = DevAllocationsGenerator::new(total_accounts) + .with_seed(parse_seed(seed)) + .generate(); + + let mut genesis = Genesis::default(); + genesis.extend_allocations(accounts.into_iter().map(|(k, v)| (k, v.into()))); + print_genesis_accounts(genesis.accounts().peekable(), Some(seed)); Ok(()) } diff --git a/cli/src/command/deployments/create.rs b/cli/src/command/deployments/create.rs index 525fd1c..7cc030d 100644 --- a/cli/src/command/deployments/create.rs +++ b/cli/src/command/deployments/create.rs @@ -56,25 +56,7 @@ impl CreateArgs { CreateServiceInput { type_: DeploymentService::katana, version: config.version.clone(), - config: Some(CreateServiceConfigInput { - katana: Some(CreateKatanaConfigInput { - config_file: Some(slot::read::base64_encode_string(&service_config)), - // TODO: those must be changed on the server side to pull the schema correctly from the infra. - block_time: None, - accounts: None, - dev: None, - fork_rpc_url: None, - fork_block_number: None, - seed: None, - invoke_max_steps: None, - validate_max_steps: None, - disable_fee: None, - gas_price: None, - genesis: None, - }), - torii: None, - saya: None, - }), + config: slot::read::base64_encode_string(&service_config), } } CreateServiceCommands::Torii(config) => { @@ -90,46 +72,13 @@ impl CreateArgs { CreateServiceInput { type_: DeploymentService::torii, version: config.version.clone(), - config: Some(CreateServiceConfigInput { - katana: None, - torii: Some(CreateToriiConfigInput { - config_file: Some(slot::read::base64_encode_string(&service_config)), - // TODO: those must be changed on the server side to pull the schema correctly from the infra. - rpc: None, - world: None, - contracts: None, - start_block: None, - index_pending: None, - polling_interval: None, - index_transactions: None, - index_raw_events: None, - }), - saya: None, - }), + config: slot::read::base64_encode_string(&service_config), } } CreateServiceCommands::Saya(config) => CreateServiceInput { type_: DeploymentService::saya, version: config.version.clone(), - config: Some(CreateServiceConfigInput { - katana: None, - torii: None, - saya: Some(CreateSayaConfigInput { - mode: config.mode.clone(), - rpc_url: config.rpc_url.clone(), - registry: config.registry.clone(), - settlement_contract: config.settlement_contract.clone(), - world: config.world.clone().to_string(), - prover_url: config.prover_url.clone(), - store_proofs: config.store_proofs.unwrap_or(false), - starknet_url: config.starknet_url.clone(), - signer_key: config.signer_key.clone(), - signer_address: config.signer_address.clone(), - private_key: config.private_key.clone(), - batch_size: config.batch_size.unwrap_or(1), - start_block: config.start_block.unwrap_or(0), - }), - }), + config: "TODO".to_string(), }, }; diff --git a/cli/src/command/deployments/describe.rs b/cli/src/command/deployments/describe.rs index 054f766..9293441 100644 --- a/cli/src/command/deployments/describe.rs +++ b/cli/src/command/deployments/describe.rs @@ -5,9 +5,6 @@ use crate::command::deployments::print_config_file; use super::services::Service; use anyhow::Result; use clap::Args; -use slot::graphql::deployments::describe_deployment::DescribeDeploymentDeploymentConfig::{ - KatanaConfig, SayaConfig, ToriiConfig, -}; use slot::graphql::deployments::{describe_deployment::*, DescribeDeployment}; use slot::graphql::GraphQLQuery; use slot::{api::Client, credential::Credentials}; @@ -53,24 +50,8 @@ impl DescribeArgs { super::service_url(&deployment.project, &self.service.to_string()) ); - match deployment.config { - ToriiConfig(config) => { - println!("Version: {}", config.version); - if let Some(config_file) = config.config_file { - print_config_file(&config_file); - } - } - KatanaConfig(config) => { - println!("Version: {}", config.version); - if let Some(config_file) = config.config_file { - print_config_file(&config_file); - } - } - SayaConfig(config) => { - println!("\nEndpoints:"); - println!(" RPC URL: {}", config.rpc_url); - } - } + // convert config of type String to &str + print_config_file(&deployment.config.config) } Ok(()) diff --git a/cli/src/command/deployments/update.rs b/cli/src/command/deployments/update.rs index d34604d..eb3426c 100644 --- a/cli/src/command/deployments/update.rs +++ b/cli/src/command/deployments/update.rs @@ -7,10 +7,7 @@ use clap::Args; use katana_cli::file::NodeArgsConfig; use slot::api::Client; use slot::credential::Credentials; -use slot::graphql::deployments::update_deployment::{ - self, UpdateKatanaConfigInput, UpdateServiceConfigInput, UpdateServiceInput, - UpdateToriiConfigInput, -}; +use slot::graphql::deployments::update_deployment::{self, UpdateServiceInput}; use slot::graphql::deployments::{update_deployment::*, UpdateDeployment}; use slot::graphql::GraphQLQuery; use torii_cli::args::ToriiArgsConfig; @@ -40,18 +37,7 @@ impl UpdateArgs { UpdateServiceInput { type_: DeploymentService::katana, version: config.version.clone(), - config: Some(UpdateServiceConfigInput { - torii: None, - katana: Some(UpdateKatanaConfigInput { - config_file: Some(slot::read::base64_encode_string(&service_config)), - block_time: None, - invoke_max_steps: None, - validate_max_steps: None, - disable_fee: None, - gas_price: None, - dev: None, - }), - }), + config: Some(slot::read::base64_encode_string(&service_config)), } } UpdateServiceCommands::Torii(config) => { @@ -75,21 +61,13 @@ impl UpdateArgs { UpdateServiceInput { type_: DeploymentService::torii, version: config.version.clone(), - config: Some(UpdateServiceConfigInput { - katana: None, - torii: Some(UpdateToriiConfigInput { - config_file: Some(slot::read::base64_encode_string(&service_config)), - }), - }), + config: Some(slot::read::base64_encode_string(&service_config)), } } UpdateServiceCommands::Saya(config) => UpdateServiceInput { type_: DeploymentService::saya, version: config.version.clone(), - config: Some(UpdateServiceConfigInput { - katana: None, - torii: None, - }), + config: None, // TODO }, }; diff --git a/slot/schema.json b/slot/schema.json index fceac27..9f1a3bf 100644 --- a/slot/schema.json +++ b/slot/schema.json @@ -5977,97 +5977,21 @@ { "defaultValue": null, "description": null, - "name": "blockTime", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "forkRpcUrl", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "forkBlockNumber", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "seed", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "accounts", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "invokeMaxSteps", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "validateMaxSteps", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "disableFee", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "gasPrice", + "name": "type", "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "DeploymentService", + "ofType": null + } } }, { "defaultValue": null, "description": null, - "name": "genesis", + "name": "version", "type": { "kind": "SCALAR", "name": "String", @@ -6077,66 +6001,80 @@ { "defaultValue": null, "description": null, - "name": "dev", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "configFile", + "name": "config", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } } ], "interfaces": [], "kind": "INPUT_OBJECT", - "name": "CreateKatanaConfigInput", + "name": "CreateServiceInput", "possibleTypes": [] }, { "description": null, "enumValues": [], - "fields": [], - "inputFields": [ + "fields": [ { - "defaultValue": null, + "args": [], + "deprecationReason": null, "description": null, - "name": "mode", + "isDeprecated": false, + "name": "webauthn", "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "WebauthnCredential", + "ofType": null + } } } - }, + } + ], + "inputFields": [], + "interfaces": [], + "kind": "OBJECT", + "name": "Credentials", + "possibleTypes": [] + }, + { + "description": null, + "enumValues": [], + "fields": [ { - "defaultValue": null, + "args": [], + "deprecationReason": null, "description": null, - "name": "rpcUrl", + "isDeprecated": false, + "name": "id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null } } }, { - "defaultValue": null, + "args": [], + "deprecationReason": null, "description": null, - "name": "registry", + "isDeprecated": false, + "name": "accountID", "type": { "kind": "NON_NULL", "name": null, @@ -6148,348 +6086,340 @@ } }, { - "defaultValue": null, - "description": null, - "name": "settlementContract", + "args": [], + "deprecationReason": null, + "description": "Type of transaction: credit or debit", + "isDeprecated": false, + "name": "transactionType", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "ENUM", + "name": "CreditsHistoryTransactionType", "ofType": null } } }, { - "defaultValue": null, - "description": null, - "name": "world", + "args": [], + "deprecationReason": null, + "description": "Transaction hash for debit transactions", + "isDeprecated": false, + "name": "transactionHash", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { - "defaultValue": null, + "args": [], + "deprecationReason": null, "description": null, - "name": "proverUrl", + "isDeprecated": false, + "name": "createdAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Time", "ofType": null } } }, { - "defaultValue": null, + "args": [], + "deprecationReason": null, "description": null, - "name": "storeProofs", + "isDeprecated": false, + "name": "updatedAt", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "Time", "ofType": null } } }, { - "defaultValue": null, + "args": [], + "deprecationReason": null, "description": null, - "name": "starknetUrl", + "isDeprecated": false, + "name": "stripePayment", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "OBJECT", + "name": "StripePayments", + "ofType": null } - }, + } + ], + "inputFields": [], + "interfaces": [ { - "defaultValue": null, - "description": null, - "name": "signerKey", + "kind": "INTERFACE", + "name": "Node", + "ofType": null + } + ], + "kind": "OBJECT", + "name": "CreditsHistory", + "possibleTypes": [] + }, + { + "description": "Ordering options for CreditsHistory connections", + "enumValues": [], + "fields": [], + "inputFields": [ + { + "defaultValue": "ASC", + "description": "The ordering direction.", + "name": "direction", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "ENUM", + "name": "OrderDirection", "ofType": null } } }, { "defaultValue": null, - "description": null, - "name": "signerAddress", + "description": "The field by which to order CreditsHistories.", + "name": "field", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "ENUM", + "name": "CreditsHistoryOrderField", "ofType": null } } - }, + } + ], + "interfaces": [], + "kind": "INPUT_OBJECT", + "name": "CreditsHistoryOrder", + "possibleTypes": [] + }, + { + "description": "Properties by which CreditsHistory connections can be ordered.", + "enumValues": [ { - "defaultValue": null, + "deprecationReason": null, "description": null, - "name": "privateKey", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, + "isDeprecated": false, + "name": "CREATED_AT" + } + ], + "fields": [], + "inputFields": [], + "interfaces": [], + "kind": "ENUM", + "name": "CreditsHistoryOrderField", + "possibleTypes": [] + }, + { + "description": "CreditsHistoryTransactionType is enum for the field transaction_type", + "enumValues": [ { - "defaultValue": null, + "deprecationReason": null, "description": null, - "name": "batchSize", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } + "isDeprecated": false, + "name": "credit" }, { - "defaultValue": null, + "deprecationReason": null, "description": null, - "name": "startBlock", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } + "isDeprecated": false, + "name": "debit" } ], + "fields": [], + "inputFields": [], "interfaces": [], - "kind": "INPUT_OBJECT", - "name": "CreateSayaConfigInput", + "kind": "ENUM", + "name": "CreditsHistoryTransactionType", "possibleTypes": [] }, { - "description": null, + "description": "CreditsHistoryWhereInput is used for filtering CreditsHistory objects.\nInput was generated by ent.", "enumValues": [], "fields": [], "inputFields": [ { "defaultValue": null, "description": null, - "name": "katana", + "name": "not", "type": { "kind": "INPUT_OBJECT", - "name": "CreateKatanaConfigInput", + "name": "CreditsHistoryWhereInput", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "torii", + "name": "and", "type": { - "kind": "INPUT_OBJECT", - "name": "CreateToriiConfigInput", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CreditsHistoryWhereInput", + "ofType": null + } + } } }, { "defaultValue": null, "description": null, - "name": "saya", - "type": { - "kind": "INPUT_OBJECT", - "name": "CreateSayaConfigInput", - "ofType": null - } - } - ], - "interfaces": [], - "kind": "INPUT_OBJECT", - "name": "CreateServiceConfigInput", - "possibleTypes": [] - }, - { - "description": null, - "enumValues": [], - "fields": [], - "inputFields": [ - { - "defaultValue": null, - "description": null, - "name": "type", + "name": "or", "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "ENUM", - "name": "DeploymentService", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CreditsHistoryWhereInput", + "ofType": null + } } } }, { "defaultValue": null, - "description": null, - "name": "version", + "description": "id field predicates", + "name": "id", "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "config", - "type": { - "kind": "INPUT_OBJECT", - "name": "CreateServiceConfigInput", - "ofType": null - } - } - ], - "interfaces": [], - "kind": "INPUT_OBJECT", - "name": "CreateServiceInput", - "possibleTypes": [] - }, - { - "description": null, - "enumValues": [], - "fields": [], - "inputFields": [ - { - "defaultValue": null, - "description": null, - "name": "rpc", + "name": "idNEQ", "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "world", + "name": "idIn", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + } } }, { "defaultValue": null, "description": null, - "name": "contracts", + "name": "idNotIn", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + } } }, { "defaultValue": null, "description": null, - "name": "startBlock", + "name": "idGT", "type": { "kind": "SCALAR", - "name": "Long", + "name": "ID", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "indexPending", + "name": "idGTE", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "ID", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "pollingInterval", + "name": "idLT", "type": { "kind": "SCALAR", - "name": "Long", + "name": "ID", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "indexTransactions", + "name": "idLTE", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "ID", "ofType": null } }, { "defaultValue": null, - "description": null, - "name": "indexRawEvents", + "description": "account_id field predicates", + "name": "accountID", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "configFile", + "name": "accountIDNEQ", "type": { "kind": "SCALAR", "name": "String", "ofType": null } - } - ], - "interfaces": [], - "kind": "INPUT_OBJECT", - "name": "CreateToriiConfigInput", - "possibleTypes": [] - }, - { - "description": null, - "enumValues": [], - "fields": [ + }, { - "args": [], - "deprecationReason": null, + "defaultValue": null, "description": null, - "isDeprecated": false, - "name": "webauthn", + "name": "accountIDIn", "type": { "kind": "LIST", "name": null, @@ -6497,78 +6427,55 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "WebauthnCredential", + "kind": "SCALAR", + "name": "String", "ofType": null } } } - } - ], - "inputFields": [], - "interfaces": [], - "kind": "OBJECT", - "name": "Credentials", - "possibleTypes": [] - }, - { - "description": null, - "enumValues": [], - "fields": [ + }, { - "args": [], - "deprecationReason": null, + "defaultValue": null, "description": null, - "isDeprecated": false, - "name": "id", + "name": "accountIDNotIn", "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } } }, { - "args": [], - "deprecationReason": null, + "defaultValue": null, "description": null, - "isDeprecated": false, - "name": "accountID", + "name": "accountIDGT", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { - "args": [], - "deprecationReason": null, - "description": "Type of transaction: credit or debit", - "isDeprecated": false, - "name": "transactionType", + "defaultValue": null, + "description": null, + "name": "accountIDGTE", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CreditsHistoryTransactionType", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { - "args": [], - "deprecationReason": null, - "description": "Transaction hash for debit transactions", - "isDeprecated": false, - "name": "transactionHash", + "defaultValue": null, + "description": null, + "name": "accountIDLT", "type": { "kind": "SCALAR", "name": "String", @@ -6576,160 +6483,89 @@ } }, { - "args": [], - "deprecationReason": null, + "defaultValue": null, "description": null, - "isDeprecated": false, - "name": "createdAt", + "name": "accountIDLTE", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Time", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { - "args": [], - "deprecationReason": null, + "defaultValue": null, "description": null, - "isDeprecated": false, - "name": "updatedAt", + "name": "accountIDContains", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Time", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { - "args": [], - "deprecationReason": null, + "defaultValue": null, "description": null, - "isDeprecated": false, - "name": "stripePayment", + "name": "accountIDHasPrefix", "type": { - "kind": "OBJECT", - "name": "StripePayments", + "kind": "SCALAR", + "name": "String", "ofType": null } - } - ], - "inputFields": [], - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], - "kind": "OBJECT", - "name": "CreditsHistory", - "possibleTypes": [] - }, - { - "description": "Ordering options for CreditsHistory connections", - "enumValues": [], - "fields": [], - "inputFields": [ + }, { - "defaultValue": "ASC", - "description": "The ordering direction.", - "name": "direction", + "defaultValue": null, + "description": null, + "name": "accountIDHasSuffix", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "OrderDirection", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, - "description": "The field by which to order CreditsHistories.", - "name": "field", + "description": null, + "name": "accountIDEqualFold", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CreditsHistoryOrderField", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } - } - ], - "interfaces": [], - "kind": "INPUT_OBJECT", - "name": "CreditsHistoryOrder", - "possibleTypes": [] - }, - { - "description": "Properties by which CreditsHistory connections can be ordered.", - "enumValues": [ - { - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "CREATED_AT" - } - ], - "fields": [], - "inputFields": [], - "interfaces": [], - "kind": "ENUM", - "name": "CreditsHistoryOrderField", - "possibleTypes": [] - }, - { - "description": "CreditsHistoryTransactionType is enum for the field transaction_type", - "enumValues": [ + }, { - "deprecationReason": null, + "defaultValue": null, "description": null, - "isDeprecated": false, - "name": "credit" + "name": "accountIDContainsFold", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, { - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "debit" - } - ], - "fields": [], - "inputFields": [], - "interfaces": [], - "kind": "ENUM", - "name": "CreditsHistoryTransactionType", - "possibleTypes": [] - }, - { - "description": "CreditsHistoryWhereInput is used for filtering CreditsHistory objects.\nInput was generated by ent.", - "enumValues": [], - "fields": [], - "inputFields": [ + "defaultValue": null, + "description": "transaction_type field predicates", + "name": "transactionType", + "type": { + "kind": "ENUM", + "name": "CreditsHistoryTransactionType", + "ofType": null + } + }, { "defaultValue": null, "description": null, - "name": "not", + "name": "transactionTypeNEQ", "type": { - "kind": "INPUT_OBJECT", - "name": "CreditsHistoryWhereInput", + "kind": "ENUM", + "name": "CreditsHistoryTransactionType", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "and", + "name": "transactionTypeIn", "type": { "kind": "LIST", "name": null, @@ -6737,8 +6573,8 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreditsHistoryWhereInput", + "kind": "ENUM", + "name": "CreditsHistoryTransactionType", "ofType": null } } @@ -6747,7 +6583,7 @@ { "defaultValue": null, "description": null, - "name": "or", + "name": "transactionTypeNotIn", "type": { "kind": "LIST", "name": null, @@ -6755,8 +6591,8 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreditsHistoryWhereInput", + "kind": "ENUM", + "name": "CreditsHistoryTransactionType", "ofType": null } } @@ -6764,28 +6600,28 @@ }, { "defaultValue": null, - "description": "id field predicates", - "name": "id", + "description": "transaction_hash field predicates", + "name": "transactionHash", "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "idNEQ", + "name": "transactionHashNEQ", "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "idIn", + "name": "transactionHashIn", "type": { "kind": "LIST", "name": null, @@ -6794,7 +6630,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null } } @@ -6803,7 +6639,7 @@ { "defaultValue": null, "description": null, - "name": "idNotIn", + "name": "transactionHashNotIn", "type": { "kind": "LIST", "name": null, @@ -6812,7 +6648,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null } } @@ -6821,47 +6657,47 @@ { "defaultValue": null, "description": null, - "name": "idGT", + "name": "transactionHashGT", "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "idGTE", + "name": "transactionHashGTE", "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "idLT", + "name": "transactionHashLT", "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "idLTE", + "name": "transactionHashLTE", "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null } }, { "defaultValue": null, - "description": "account_id field predicates", - "name": "accountID", + "description": null, + "name": "transactionHashContains", "type": { "kind": "SCALAR", "name": "String", @@ -6871,7 +6707,7 @@ { "defaultValue": null, "description": null, - "name": "accountIDNEQ", + "name": "transactionHashHasPrefix", "type": { "kind": "SCALAR", "name": "String", @@ -6881,113 +6717,37 @@ { "defaultValue": null, "description": null, - "name": "accountIDIn", + "name": "transactionHashHasSuffix", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": null, - "name": "accountIDNotIn", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": null, - "name": "accountIDGT", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "accountIDGTE", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "accountIDLT", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "accountIDLTE", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "accountIDContains", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "accountIDHasPrefix", + "name": "transactionHashIsNil", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "accountIDHasSuffix", + "name": "transactionHashNotNil", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "accountIDEqualFold", + "name": "transactionHashEqualFold", "type": { "kind": "SCALAR", "name": "String", @@ -6997,7 +6757,7 @@ { "defaultValue": null, "description": null, - "name": "accountIDContainsFold", + "name": "transactionHashContainsFold", "type": { "kind": "SCALAR", "name": "String", @@ -7006,84 +6766,28 @@ }, { "defaultValue": null, - "description": "transaction_type field predicates", - "name": "transactionType", - "type": { - "kind": "ENUM", - "name": "CreditsHistoryTransactionType", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "transactionTypeNEQ", - "type": { - "kind": "ENUM", - "name": "CreditsHistoryTransactionType", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "transactionTypeIn", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CreditsHistoryTransactionType", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": null, - "name": "transactionTypeNotIn", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CreditsHistoryTransactionType", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "transaction_hash field predicates", - "name": "transactionHash", + "description": "created_at field predicates", + "name": "createdAt", "type": { "kind": "SCALAR", - "name": "String", + "name": "Time", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "transactionHashNEQ", + "name": "createdAtNEQ", "type": { "kind": "SCALAR", - "name": "String", + "name": "Time", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "transactionHashIn", + "name": "createdAtIn", "type": { "kind": "LIST", "name": null, @@ -7092,7 +6796,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Time", "ofType": null } } @@ -7101,7 +6805,7 @@ { "defaultValue": null, "description": null, - "name": "transactionHashNotIn", + "name": "createdAtNotIn", "type": { "kind": "LIST", "name": null, @@ -7110,7 +6814,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Time", "ofType": null } } @@ -7119,117 +6823,47 @@ { "defaultValue": null, "description": null, - "name": "transactionHashGT", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "transactionHashGTE", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "transactionHashLT", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "transactionHashLTE", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "transactionHashContains", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "transactionHashHasPrefix", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "transactionHashHasSuffix", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "transactionHashIsNil", + "name": "createdAtGT", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Time", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "transactionHashNotNil", + "name": "createdAtGTE", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Time", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "transactionHashEqualFold", + "name": "createdAtLT", "type": { "kind": "SCALAR", - "name": "String", + "name": "Time", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "transactionHashContainsFold", + "name": "createdAtLTE", "type": { "kind": "SCALAR", - "name": "String", + "name": "Time", "ofType": null } }, { "defaultValue": null, - "description": "created_at field predicates", - "name": "createdAt", + "description": "updated_at field predicates", + "name": "updatedAt", "type": { "kind": "SCALAR", "name": "Time", @@ -7239,7 +6873,7 @@ { "defaultValue": null, "description": null, - "name": "createdAtNEQ", + "name": "updatedAtNEQ", "type": { "kind": "SCALAR", "name": "Time", @@ -7249,7 +6883,7 @@ { "defaultValue": null, "description": null, - "name": "createdAtIn", + "name": "updatedAtIn", "type": { "kind": "LIST", "name": null, @@ -7267,7 +6901,7 @@ { "defaultValue": null, "description": null, - "name": "createdAtNotIn", + "name": "updatedAtNotIn", "type": { "kind": "LIST", "name": null, @@ -7285,7 +6919,7 @@ { "defaultValue": null, "description": null, - "name": "createdAtGT", + "name": "updatedAtGT", "type": { "kind": "SCALAR", "name": "Time", @@ -7295,7 +6929,7 @@ { "defaultValue": null, "description": null, - "name": "createdAtGTE", + "name": "updatedAtGTE", "type": { "kind": "SCALAR", "name": "Time", @@ -7305,7 +6939,7 @@ { "defaultValue": null, "description": null, - "name": "createdAtLT", + "name": "updatedAtLT", "type": { "kind": "SCALAR", "name": "Time", @@ -7315,7 +6949,7 @@ { "defaultValue": null, "description": null, - "name": "createdAtLTE", + "name": "updatedAtLTE", "type": { "kind": "SCALAR", "name": "Time", @@ -7324,114 +6958,18 @@ }, { "defaultValue": null, - "description": "updated_at field predicates", - "name": "updatedAt", + "description": "stripe_payment edge predicates", + "name": "hasStripePayment", "type": { "kind": "SCALAR", - "name": "Time", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "updatedAtNEQ", - "type": { - "kind": "SCALAR", - "name": "Time", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "updatedAtIn", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Time", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": null, - "name": "updatedAtNotIn", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Time", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": null, - "name": "updatedAtGT", - "type": { - "kind": "SCALAR", - "name": "Time", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "updatedAtGTE", - "type": { - "kind": "SCALAR", - "name": "Time", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "updatedAtLT", - "type": { - "kind": "SCALAR", - "name": "Time", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "updatedAtLTE", - "type": { - "kind": "SCALAR", - "name": "Time", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "stripe_payment edge predicates", - "name": "hasStripePayment", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "hasStripePaymentWith", + "name": "hasStripePaymentWith", "type": { "kind": "LIST", "name": null, @@ -7814,7 +7352,7 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "UNION", + "kind": "OBJECT", "name": "DeploymentConfig", "ofType": null } @@ -7836,28 +7374,45 @@ { "description": null, "enumValues": [], - "fields": [], - "inputFields": [], - "interfaces": [], - "kind": "UNION", - "name": "DeploymentConfig", - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "KatanaConfig", - "ofType": null - }, + "fields": [ { - "kind": "OBJECT", - "name": "ToriiConfig", - "ofType": null + "args": [], + "deprecationReason": null, + "description": null, + "isDeprecated": false, + "name": "version", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } }, { - "kind": "OBJECT", - "name": "SayaConfig", - "ofType": null + "args": [], + "deprecationReason": null, + "description": null, + "isDeprecated": false, + "name": "config", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } } - ] + ], + "inputFields": [], + "interfaces": [], + "kind": "OBJECT", + "name": "DeploymentConfig", + "possibleTypes": [] }, { "description": "A connection to a list of items.", @@ -11542,23 +11097,7 @@ "deprecationReason": null, "description": null, "isDeprecated": false, - "name": "address", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "publicKey", + "name": "toAddress", "type": { "kind": "NON_NULL", "name": null, @@ -11574,14 +11113,18 @@ "deprecationReason": null, "description": null, "isDeprecated": false, - "name": "privateKey", + "name": "payload", "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Felt", + "ofType": null + } } } } @@ -11589,7 +11132,7 @@ "inputFields": [], "interfaces": [], "kind": "OBJECT", - "name": "KatanaAccount", + "name": "L1Message", "possibleTypes": [] }, { @@ -11601,7 +11144,7 @@ "deprecationReason": null, "description": null, "isDeprecated": false, - "name": "version", + "name": "fromAddress", "type": { "kind": "NON_NULL", "name": null, @@ -11617,59 +11160,38 @@ "deprecationReason": null, "description": null, "isDeprecated": false, - "name": "rpc", + "name": "payload", "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Felt", + "ofType": null + } } } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "blockTime", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "forkRpcUrl", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "forkBlockNumber", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, + } + ], + "inputFields": [], + "interfaces": [], + "kind": "OBJECT", + "name": "L2Message", + "possibleTypes": [] + }, + { + "description": null, + "enumValues": [], + "fields": [ { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, - "name": "seed", + "name": "content", "type": { "kind": "NON_NULL", "name": null, @@ -11685,238 +11207,9 @@ "deprecationReason": null, "description": null, "isDeprecated": false, - "name": "genesis", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "accounts", + "name": "until", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "KatanaAccount", - "ofType": null - } - } - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "invokeMaxSteps", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "validateMaxSteps", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "disableFee", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "gasPrice", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "chainId", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "configFile", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - ], - "inputFields": [], - "interfaces": [], - "kind": "OBJECT", - "name": "KatanaConfig", - "possibleTypes": [] - }, - { - "description": null, - "enumValues": [], - "fields": [ - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "toAddress", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "payload", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Felt", - "ofType": null - } - } - } - } - ], - "inputFields": [], - "interfaces": [], - "kind": "OBJECT", - "name": "L1Message", - "possibleTypes": [] - }, - { - "description": null, - "enumValues": [], - "fields": [ - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "fromAddress", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "payload", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Felt", - "ofType": null - } - } - } - } - ], - "inputFields": [], - "interfaces": [], - "kind": "OBJECT", - "name": "L2Message", - "possibleTypes": [] - }, - { - "description": null, - "enumValues": [], - "fields": [ - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "content", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "until", - "type": { - "kind": "NON_NULL", + "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", @@ -12173,7 +11466,7 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "UNION", + "kind": "OBJECT", "name": "DeploymentConfig", "ofType": null } @@ -12238,7 +11531,7 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "UNION", + "kind": "OBJECT", "name": "DeploymentConfig", "ofType": null } @@ -14864,333 +14157,79 @@ "ofType": null } } - } - } - ], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "achievements", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "AchievementResult", - "ofType": null - } - } - }, - { - "args": [ - { - "defaultValue": null, - "description": null, - "name": "projects", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "Project", - "ofType": null - } - } - } - } - ], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "playerAchievements", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PlayerAchievementResult", - "ofType": null - } - } - } - ], - "inputFields": [], - "interfaces": [], - "kind": "OBJECT", - "name": "Query", - "possibleTypes": [] - }, - { - "description": null, - "enumValues": [], - "fields": [ - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "memory", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "cpu", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - } - ], - "inputFields": [], - "interfaces": [], - "kind": "OBJECT", - "name": "Resources", - "possibleTypes": [] - }, - { - "description": null, - "enumValues": [ - { - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "ADMIN" - }, - { - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "USER" - } - ], - "fields": [], - "inputFields": [], - "interfaces": [], - "kind": "ENUM", - "name": "Role", - "possibleTypes": [] - }, - { - "description": null, - "enumValues": [], - "fields": [ - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "version", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "mode", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "rpcUrl", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "registry", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "settlementContract", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "world", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "proverUrl", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "storeProofs", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "starknetUrl", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "signerKey", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "args": [], + } + } + ], "deprecationReason": null, "description": null, "isDeprecated": false, - "name": "signerAddress", + "name": "achievements", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "AchievementResult", "ofType": null } } }, { - "args": [], + "args": [ + { + "defaultValue": null, + "description": null, + "name": "projects", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Project", + "ofType": null + } + } + } + } + ], "deprecationReason": null, "description": null, "isDeprecated": false, - "name": "privateKey", + "name": "playerAchievements", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "PlayerAchievementResult", "ofType": null } } - }, + } + ], + "inputFields": [], + "interfaces": [], + "kind": "OBJECT", + "name": "Query", + "possibleTypes": [] + }, + { + "description": null, + "enumValues": [], + "fields": [ { "args": [], "deprecationReason": null, "description": null, "isDeprecated": false, - "name": "batchSize", + "name": "memory", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { @@ -15198,22 +14237,41 @@ "deprecationReason": null, "description": null, "isDeprecated": false, - "name": "startBlock", + "name": "cpu", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } } ], "inputFields": [], "interfaces": [], "kind": "OBJECT", - "name": "SayaConfig", + "name": "Resources", + "possibleTypes": [] + }, + { + "description": null, + "enumValues": [ + { + "deprecationReason": null, + "description": null, + "isDeprecated": false, + "name": "ADMIN" + }, + { + "deprecationReason": null, + "description": null, + "isDeprecated": false, + "name": "USER" + } + ], + "fields": [], + "inputFields": [], + "interfaces": [], + "kind": "ENUM", + "name": "Role", "possibleTypes": [] }, { @@ -18549,225 +17607,79 @@ "type": { "kind": "LIST", "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": null, - "name": "idNotIn", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": null, - "name": "idGT", - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "idGTE", - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "idLT", - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "idLTE", - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "name field predicates", - "name": "name", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "nameNEQ", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "nameIn", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": null, - "name": "nameNotIn", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": null, - "name": "nameGT", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "nameGTE", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "nameLT", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "nameLTE", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + } } }, { "defaultValue": null, "description": null, - "name": "nameContains", + "name": "idNotIn", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + } } }, { "defaultValue": null, "description": null, - "name": "nameHasPrefix", + "name": "idGT", "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "nameHasSuffix", + "name": "idGTE", "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "nameEqualFold", + "name": "idLT", "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "nameContainsFold", + "name": "idLTE", "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null } }, { "defaultValue": null, - "description": "description field predicates", - "name": "description", + "description": "name field predicates", + "name": "name", "type": { "kind": "SCALAR", "name": "String", @@ -18777,7 +17689,7 @@ { "defaultValue": null, "description": null, - "name": "descriptionNEQ", + "name": "nameNEQ", "type": { "kind": "SCALAR", "name": "String", @@ -18787,7 +17699,7 @@ { "defaultValue": null, "description": null, - "name": "descriptionIn", + "name": "nameIn", "type": { "kind": "LIST", "name": null, @@ -18805,7 +17717,7 @@ { "defaultValue": null, "description": null, - "name": "descriptionNotIn", + "name": "nameNotIn", "type": { "kind": "LIST", "name": null, @@ -18823,7 +17735,7 @@ { "defaultValue": null, "description": null, - "name": "descriptionGT", + "name": "nameGT", "type": { "kind": "SCALAR", "name": "String", @@ -18833,7 +17745,7 @@ { "defaultValue": null, "description": null, - "name": "descriptionGTE", + "name": "nameGTE", "type": { "kind": "SCALAR", "name": "String", @@ -18843,7 +17755,7 @@ { "defaultValue": null, "description": null, - "name": "descriptionLT", + "name": "nameLT", "type": { "kind": "SCALAR", "name": "String", @@ -18853,7 +17765,7 @@ { "defaultValue": null, "description": null, - "name": "descriptionLTE", + "name": "nameLTE", "type": { "kind": "SCALAR", "name": "String", @@ -18863,7 +17775,7 @@ { "defaultValue": null, "description": null, - "name": "descriptionContains", + "name": "nameContains", "type": { "kind": "SCALAR", "name": "String", @@ -18873,7 +17785,7 @@ { "defaultValue": null, "description": null, - "name": "descriptionHasPrefix", + "name": "nameHasPrefix", "type": { "kind": "SCALAR", "name": "String", @@ -18883,7 +17795,7 @@ { "defaultValue": null, "description": null, - "name": "descriptionHasSuffix", + "name": "nameHasSuffix", "type": { "kind": "SCALAR", "name": "String", @@ -18893,27 +17805,7 @@ { "defaultValue": null, "description": null, - "name": "descriptionIsNil", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "descriptionNotNil", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "descriptionEqualFold", + "name": "nameEqualFold", "type": { "kind": "SCALAR", "name": "String", @@ -18923,7 +17815,7 @@ { "defaultValue": null, "description": null, - "name": "descriptionContainsFold", + "name": "nameContainsFold", "type": { "kind": "SCALAR", "name": "String", @@ -18932,217 +17824,64 @@ }, { "defaultValue": null, - "description": "deployments edge predicates", - "name": "hasDeployments", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": null, - "name": "hasDeploymentsWith", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "DeploymentWhereInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "members edge predicates", - "name": "hasMembers", + "description": "description field predicates", + "name": "description", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "hasMembersWith", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "AccountWhereInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "membership edge predicates", - "name": "hasMembership", + "name": "descriptionNEQ", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "hasMembershipWith", + "name": "descriptionIn", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "AccountTeamWhereInput", - "ofType": null - } - } - } - } - ], - "interfaces": [], - "kind": "INPUT_OBJECT", - "name": "TeamWhereInput", - "possibleTypes": [] - }, - { - "description": "Maps a Time GraphQL scalar to a Go time.Time struct.", - "enumValues": [], - "fields": [], - "inputFields": [], - "interfaces": [], - "kind": "SCALAR", - "name": "Time", - "possibleTypes": [] - }, - { - "description": null, - "enumValues": [ - { - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "ETH_USDC" - }, - { - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "STRK_USDC" - } - ], - "fields": [], - "inputFields": [], - "interfaces": [], - "kind": "ENUM", - "name": "TokenPair", - "possibleTypes": [] - }, - { - "description": null, - "enumValues": [], - "fields": [ - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "version", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "graphql", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "grpc", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "args": [], - "deprecationReason": null, - "description": null, - "isDeprecated": false, - "name": "rpc", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } } }, { - "args": [], - "deprecationReason": null, + "defaultValue": null, "description": null, - "isDeprecated": false, - "name": "world", + "name": "descriptionNotIn", "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } } }, { - "args": [], - "deprecationReason": null, + "defaultValue": null, "description": null, - "isDeprecated": false, - "name": "contracts", + "name": "descriptionGT", "type": { "kind": "SCALAR", "name": "String", @@ -19150,154 +17889,109 @@ } }, { - "args": [], - "deprecationReason": null, + "defaultValue": null, "description": null, - "isDeprecated": false, - "name": "startBlock", + "name": "descriptionGTE", "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } }, { - "args": [], - "deprecationReason": null, + "defaultValue": null, "description": null, - "isDeprecated": false, - "name": "indexPending", + "name": "descriptionLT", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { - "args": [], - "deprecationReason": null, + "defaultValue": null, "description": null, - "isDeprecated": false, - "name": "pollingInterval", + "name": "descriptionLTE", "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } }, { - "args": [], - "deprecationReason": null, + "defaultValue": null, "description": null, - "isDeprecated": false, - "name": "indexTransactions", + "name": "descriptionContains", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { - "args": [], - "deprecationReason": null, + "defaultValue": null, "description": null, - "isDeprecated": false, - "name": "indexRawEvents", + "name": "descriptionHasPrefix", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { - "args": [], - "deprecationReason": null, + "defaultValue": null, "description": null, - "isDeprecated": false, - "name": "configFile", + "name": "descriptionHasSuffix", "type": { "kind": "SCALAR", "name": "String", "ofType": null } - } - ], - "inputFields": [], - "interfaces": [], - "kind": "OBJECT", - "name": "ToriiConfig", - "possibleTypes": [] - }, - { - "description": null, - "enumValues": [], - "fields": [ + }, { - "args": [], - "deprecationReason": null, + "defaultValue": null, "description": null, - "isDeprecated": false, - "name": "messagesSent", + "name": "descriptionIsNil", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "L1Message", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } - } - ], - "inputFields": [], - "interfaces": [], - "kind": "OBJECT", - "name": "TransactionReceipt", - "possibleTypes": [] - }, - { - "description": null, - "enumValues": [], - "fields": [], - "inputFields": [ + }, { "defaultValue": null, "description": null, - "name": "blockTime", + "name": "descriptionNotNil", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "invokeMaxSteps", + "name": "descriptionEqualFold", "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "validateMaxSteps", + "name": "descriptionContainsFold", "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } }, { "defaultValue": null, - "description": null, - "name": "disableFee", + "description": "deployments edge predicates", + "name": "hasDeployments", "type": { "kind": "SCALAR", "name": "Boolean", @@ -19307,17 +18001,53 @@ { "defaultValue": null, "description": null, - "name": "gasPrice", + "name": "hasDeploymentsWith", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "DeploymentWhereInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "members edge predicates", + "name": "hasMembers", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": null, - "name": "dev", + "name": "hasMembersWith", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "AccountWhereInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "membership edge predicates", + "name": "hasMembership", "type": { "kind": "SCALAR", "name": "Boolean", @@ -19327,48 +18057,89 @@ { "defaultValue": null, "description": null, - "name": "configFile", + "name": "hasMembershipWith", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "AccountTeamWhereInput", + "ofType": null + } + } } } ], "interfaces": [], "kind": "INPUT_OBJECT", - "name": "UpdateKatanaConfigInput", + "name": "TeamWhereInput", "possibleTypes": [] }, { - "description": null, + "description": "Maps a Time GraphQL scalar to a Go time.Time struct.", "enumValues": [], "fields": [], - "inputFields": [ + "inputFields": [], + "interfaces": [], + "kind": "SCALAR", + "name": "Time", + "possibleTypes": [] + }, + { + "description": null, + "enumValues": [ { - "defaultValue": null, + "deprecationReason": null, "description": null, - "name": "katana", - "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateKatanaConfigInput", - "ofType": null - } + "isDeprecated": false, + "name": "ETH_USDC" }, { - "defaultValue": null, + "deprecationReason": null, + "description": null, + "isDeprecated": false, + "name": "STRK_USDC" + } + ], + "fields": [], + "inputFields": [], + "interfaces": [], + "kind": "ENUM", + "name": "TokenPair", + "possibleTypes": [] + }, + { + "description": null, + "enumValues": [], + "fields": [ + { + "args": [], + "deprecationReason": null, "description": null, - "name": "torii", + "isDeprecated": false, + "name": "messagesSent", "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateToriiConfigInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "L1Message", + "ofType": null + } + } } } ], + "inputFields": [], "interfaces": [], - "kind": "INPUT_OBJECT", - "name": "UpdateServiceConfigInput", + "kind": "OBJECT", + "name": "TransactionReceipt", "possibleTypes": [] }, { @@ -19404,27 +18175,6 @@ "defaultValue": null, "description": null, "name": "config", - "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateServiceConfigInput", - "ofType": null - } - } - ], - "interfaces": [], - "kind": "INPUT_OBJECT", - "name": "UpdateServiceInput", - "possibleTypes": [] - }, - { - "description": null, - "enumValues": [], - "fields": [], - "inputFields": [ - { - "defaultValue": null, - "description": null, - "name": "configFile", "type": { "kind": "SCALAR", "name": "String", @@ -19434,7 +18184,7 @@ ], "interfaces": [], "kind": "INPUT_OBJECT", - "name": "UpdateToriiConfigInput", + "name": "UpdateServiceInput", "possibleTypes": [] }, { @@ -21646,4 +20396,4 @@ ] } } -} \ No newline at end of file +} diff --git a/slot/src/graphql/deployments/accounts.graphql b/slot/src/graphql/deployments/accounts.graphql index c7aa5b9..2fe59bb 100644 --- a/slot/src/graphql/deployments/accounts.graphql +++ b/slot/src/graphql/deployments/accounts.graphql @@ -4,16 +4,8 @@ query KatanaAccounts($project: String!) { branch tier config { - __typename - ... on KatanaConfig { - seed - genesis - accounts { - address - publicKey - privateKey - } - } + version + config } } } diff --git a/slot/src/graphql/deployments/create.graphql b/slot/src/graphql/deployments/create.graphql index 45bb3fb..bb4d50a 100644 --- a/slot/src/graphql/deployments/create.graphql +++ b/slot/src/graphql/deployments/create.graphql @@ -13,17 +13,7 @@ mutation CreateDeployment( regions: $regions ) { __typename - - ... on KatanaConfig { - configFile - } - - ... on ToriiConfig { - configFile - } - - ... on SayaConfig { - rpcUrl - } + version + config } } diff --git a/slot/src/graphql/deployments/create.rs b/slot/src/graphql/deployments/create.rs index 2b08055..e28b21e 100644 --- a/slot/src/graphql/deployments/create.rs +++ b/slot/src/graphql/deployments/create.rs @@ -1,4 +1,3 @@ -use crate::graphql::deployments::Long; use graphql_client::GraphQLQuery; #[derive(GraphQLQuery)] diff --git a/slot/src/graphql/deployments/describe.graphql b/slot/src/graphql/deployments/describe.graphql index b904c5d..e4d669b 100644 --- a/slot/src/graphql/deployments/describe.graphql +++ b/slot/src/graphql/deployments/describe.graphql @@ -4,21 +4,8 @@ query DescribeDeployment($project: String!, $service: DeploymentService!) { branch tier config { - __typename - - ... on KatanaConfig { - version - configFile - } - - ... on ToriiConfig { - version - configFile - } - - ... on SayaConfig { - rpcUrl - } + version + config } } } diff --git a/slot/src/graphql/deployments/update.graphql b/slot/src/graphql/deployments/update.graphql index 4f2ed89..551e4f2 100644 --- a/slot/src/graphql/deployments/update.graphql +++ b/slot/src/graphql/deployments/update.graphql @@ -11,17 +11,7 @@ mutation UpdateDeployment( wait: $wait ) { __typename - - ... on KatanaConfig { - configFile - } - - ... on ToriiConfig { - configFile - } - - ... on SayaConfig { - rpcUrl - } + version + config } } diff --git a/slot/src/graphql/deployments/update.rs b/slot/src/graphql/deployments/update.rs index e262090..e0edd41 100644 --- a/slot/src/graphql/deployments/update.rs +++ b/slot/src/graphql/deployments/update.rs @@ -1,4 +1,3 @@ -use crate::graphql::deployments::Long; use graphql_client::GraphQLQuery; #[derive(GraphQLQuery)]